Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
...hash because that hash mechanism is not correct for numeric types. All concrete numeric types that inherit from Number (rather than just registering with it) must explicitly provide a hash implementation in order for their instances to be hashable. Issue #2676: in the email package, content-type parsing was hanging on pathological input because of quadratic or exponential behaviour of a regular expression. Issue #3476: binary buffered reading through the new "io" library is now thread-...
...hashing out the implementation. When they are ready, I think I'll just approve it. There was some serious opposition by an outside expert, Stephen Turnbull, who wants us to define the language pure in terms of UTF-8, and implement encodings as site-specific (?) hooks. But nobody agreed with him, and I've responded myself saying that I think it's best to do it MAL's way. PEP 265 - Sorting Dictionaries by Value - Griffin This is a small idea that's very important to its proposer, b...
...hash() of an instance of a subclass of a mutable type (list or dictionary) would return some value, rather than raising TypeError. This has been fixed. Also, directly calling dict.__hash__ and list.__hash__ now raises the same TypeError (previously, these were the same as object.__hash__). New-style objects now support deleting their __dict__. This is for all intents and purposes equivalent to assigning a brand new empty dictionary, but saves space if the object is not used further. Core...
...hash value. Extension Modules Bug #1048870: the compiler now generates distinct code objects for functions with identical bodies. This was producing confusing traceback messages which pointed to the function where the code object was first defined rather than the function being executed. Library Patch #1056967 changes the semantics of Template.safe_substitute() so that no ValueError is raised on an 'invalid' match group. Now the delimiter is returned. Bug #1052503 pdb.runcall() was no...
...hash function. Bug #789402, fixed memory leak when opening a file object. Fixed a leak when new code objects are instantiated. Bug #800796: slice(1).__hash__() now raises a TypeError, unhashable type. Bug #603724: Pass an explicit buffer to setvbuf in PyFile_SetBufSize(). Bug #795506: The % formatting operator did not support '%F' as had been documented. Bug #775985: Only set stdout.encoding if a codec is available. Extension modules The _bsddb module now supports Berkeley DB 4.2. Bug #6982...
...hash.open default [ #423087 ] A small typo in weakref documentation [ #423429 ] very minor nit in library ref [ #424776 ] SMTP Example does not work [ #424951 ] ThreadingTCPServer file handle errors. [ #425320 ] Typo in introduction. [ #427698 ] objects with __eq__ are not hashable [ #427783 ] Lang Ref section 4.1 s/is/in/ [ #427985 ] optional "listen" parameter in asyncore [ #428419 ] include/rangeobject.h needs extern "C" [ #429059 ] No docs for os.getenv() [ #429070 ] Thre...
...HashiCorp at the Bronze Sponsor Level. Approved 7-0-0, February 1, 2018 RESOLVED, that the Python Software Foundation Grants Work Group grant $1250 USD to the Django Girls event happening in Ho, Ghana March 24, 2018 Approved 8-0-0, January 31, 2018 RESOLVED, that the Python Software Foundation Grants Work Group sponsor the NSS International Conference happening in Ibadan, Nigeria April 4, 2018 in the amount of $2,000 USD Denied 0-8-0, January 30, 2018 RESOLVED, that the Python ...
If you didn't find what you need, try your search in the Python language documentation.