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.
...zip() moved to bultins and renamed to filter(), map(), and zip(). Also, renamed izip_longest() to zip_longest() and ifilterfalse() to filterfalse(). Issue #1762972: Readded the reload() function as imp.reload(). Bug #2111: mmap segfaults when trying to write a block opened with PROT_READ. Issue #2063: correct order of utime and stime in os.times() result on Windows. Library Weakref dictionaries now inherit from MutableMapping. Created new UserDict class in collections module. This one inhe...
...zipfile - read and write zip archives. codecs - support for Unicode encoders/decoders. unicodedata - provides access to the Unicode 3.0 database. _winreg - Windows registry access. encodings - package which provides a large set of standard codecs -- currently only for the new Unicode support. It has a drop-in extension mechanism which allows you to add new codecs by simply copying them into the encodings package directory. Asian codec support will probably be made available as separate distribut...
...Zip Archives - Ahlstrom I like this concept. I haven't studied the PEP or the proposed implementation in detail, so I don't know if it always does the right thing. I hope that it will make it into 2.3. PEP 274 - Dict Comprehensions - Warsaw If we were to adopt dict comprehensions, this PEP says everything that needs to be said. But I don't even want to think about this for Python 2.3; I think it's way too minor a feature. This would be a lot easier to adopt if there was a wo...
...zipfiles is now supported. The name of a zipfile placed on sys.path causes the import statement to look for importable Python modules (with .py, pyc and .pyo extensions) and packages inside the zipfile. The zipfile import follows the specification (though not the sample implementation) of PEP 273. The semantics of __path__ are compatible with those that have been implemented in Jython since Jython 2.1. PEP 302 has been accepted. Although it was initially developed to support zipimport, it o...
...zipfile.ZipFile() with mode "w", not "wb" (which is not a valid mode at all). Fix pstats browser crashes. Import readline if it exists to make the user interface nicer. Add "import thread" to the top of test modules that import the threading module (test_asynchat and test_threadedtempfile). This prevents test failures caused by a broken threading module resulting from a previously caught failed import. Changed test_asynchat.py to set the SO_REUSEADDR option; this ...
...zip.GzipFile has a new fileno() method, to retrieve the handle of the underlying file object (provided it has a fileno() method). This is needed if you want to use os.fsync() on a GzipFile. imaplib has two new methods: deleteacl and myrights. nntplib has two new methods: description and descriptions. They use a more RFC-compliant way of getting a newsgroup description. Bug #993394. Fix a possible red herring of KeyError in 'threading' being raised during interpreter shutdown from a register...
If you didn't find what you need, try your search in the Python language documentation.