News for hackers. Stuff that matters.
Re:A guide to Python's magic methods. by jmount on Sunday November 25, 2012 @02:31PM (#4828991)
The ongoing obsession with direct to github store links is irritating. Why not post a link to a designed start of reading point like: http://www.rafekettler.com/magicmethods.html ? Or to https://github.com/RafeKettler/magicmethods/raw/master/magic... so we can share the pleasure of the Scribd cabal screwing up the link and "annoyance wall" the content.
Re:A guide to Python's magic methods. by DasIch on Sunday November 25, 2012 @08:04AM (#4828054)
The official language reference[1] covers this, provides the most recent information and is undoubtedly correct.

Why would I use this instead? In fact looking at the description of `__del__` there is some very crucial information missing regarding access to globals and circular references.

[1]: http://docs.python.org/3/reference/datamodel.html

Re:A guide to Python's magic methods. by cocoflunchy on Sunday November 25, 2012 @08:58AM (#4828151)
From the introduction :

    They're also not as well documented as they need to be.   
    All of the magic methods for Python appear in the same 
    section in the Python docs, but they're scattered about 
    and only loosely organized. 
    There's hardly an example to be found in that section 
    (and that may very well be by design, since they're all 
    detailed in the language reference, along with boring 
    syntax descriptions, etc.).
Re:A guide to Python's magic methods. by hiwaylon on Sunday November 25, 2012 @08:35AM (#4828102)
Who said instead? Why not in addition to? Don't be such a hater.
Re:A guide to Python's magic methods. by experiment0 on Sunday November 25, 2012 @08:19AM (#4828071)
The actual website is down at the moment but heres a link to the full PDF.

https://github.com/RafeKettler/magicmethods/blob/master/magi...

Re:A guide to Python's magic methods. by TommyDANGerous on Sunday November 25, 2012 @09:47AM (#4828246)
Thanks for the read.
Re:A guide to Python's magic methods. by captn3m0 on Sunday November 25, 2012 @07:32AM (#4828007)
Thanks a lot! This is the one reason that keeps me from using python.
Re:A guide to Python's magic methods. by wildranter on Sunday November 25, 2012 @07:23AM (#4827986)
Here's a link that reveals a little bit more [1]. Cool stuff. Thanks for making this!

[1] https://raw.github.com/RafeKettler/magicmethods/master/magic...