Showing content from http://mail.python.org/pipermail/python-dev/attachments/20170421/7376a97a/attachment.html below:
<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:large;color:rgb(39,78,19)"><div class="gmail_default" style="font-family:georgia,serif;font-size:large;color:rgb(39,78,19)">Hi everyone,<br><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:large;color:rgb(39,78,19)">I possibly found a bug in class initialization and would like to fix it. Because it's my first journey to core-dev, I would really appreciate the help of a mentor that I may ask a few questions to get me up to speed.<br><br>To my person, I have previously worked on larger projects in python, c, and c++ if that information helps, and I'm really curious to learn more about the interiors of the greatest interpreter known to wo-/men.<br><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:large;color:rgb(39,78,19)">Here comes the bug-producing example:<br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:large;color:rgb(39,78,19)"><br><font size="2"><span style="font-family:monospace,monospace">`class Foo:<br>   def __init__(self, bar=[]):<br>       self.list = bar<br><br>spam_1 = Foo()<br>spam_2 = Foo()<br><br>spam_1.list.append(42)<br>print(spam_2.list)`</span></font><br><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:large;color:rgb(39,78,19)">At least I think it's a bug. Maybe it's a feature..<br><br></div>Best Regards, Jus<br><br>---<br><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:large;color:rgb(39,78,19)">f*** <a href="https://github.com/jusjusjus">me</a> on github :)<br></div></div>
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4