summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Issue #10516: adding list.clear() and list.copy() methodsEli Bendersky2011-02-251-0/+2
|
* Issue #11286: Raise a ValueError from calling PyMemoryView_FromBuffer withAntoine Pitrou2011-02-241-0/+3
| | | | a buffer struct having a NULL data pointer.
* Allow usage of SomeABC.register as a class decorator. Patch by Edoardo ↵Éric Araujo2011-02-242-0/+4
| | | | Spadolini (#10868).
* Issue #11272: Fix input() and sys.stdin for Windows newlineVictor Stinner2011-02-231-0/+3
| | | | | On Windows, input() strips '\r' (and not only '\n'), and sys.stdin uses universal newline (replace '\r\n' by '\n').
* Issue #11224: Improved sparse file read support (r85916) introduced aLars Gustäbel2011-02-231-0/+4
| | | | | | | | | | | | | | | | regression in _FileInFile which is used in file-like objects returned by TarFile.extractfile(). The inefficient design of the _FileInFile.read() method causes various dramatic side-effects and errors: - The data segment of a file member is read completely into memory every(!) time a small block is accessed. This is not only slow but may cause unexpected MemoryErrors with very large files. - Reading members from compressed tar archives is even slower because of the excessive backwards seeking which is done when the same data segment is read over and over again. - As a backwards seek on a TarFile opened in stream mode is not possible, using extractfile() fails with a StreamError.
* Issue #10924: Adding salt and Modular Crypt Format to crypt library.Sean Reifscheider2011-02-221-0/+4
|
* Issue #11074: Make 'tokenize' so it can be reloaded.Brett Cannon2011-02-221-0/+2
| | | | | | | | The module stored away the 'open' object as found in the global namespace (which fell through to the built-in namespace) since it defined its own 'open'. Problem is that if you reloaded the module it then grabbed the 'open' defined in the previous load, leading to code that infinite recursed. Switched to simply call builtins.open directly.
* Issue #10512: close the log file in cgi when running tests.Brett Cannon2011-02-221-0/+2
| | | | Thanks to Nadeem Vawda for the find and an initial fix.
* Issue #10992: make tests pass when run under coverage.Brett Cannon2011-02-221-0/+2
| | | | | | | | | | Various tests fail when run under coverage. A primary culprit is refcount tests which fail as the counts are thrown off by the coverage code. A new decorator -- test.support.refcount_test -- is used to decorate tests which test refcounts and to skip them when running under coverage. Other tests simply fail because of changes in the system (e.g., __local__ suddenly appearing). Thanks to Kristian Vlaardingerbroek for helping to diagnose the test failures.
* Issue #11085: Moved collections abstract base classes into a separate moduleRaymond Hettinger2011-02-221-0/+5
| | | | | | called collections.abc, following the pattern used by importlib.abc. For backwards compatibility, the names continue to also be imported into the collections module.
* Issue #4681: Allow mmap() to work on file sizes and offsets larger thanAntoine Pitrou2011-02-211-0/+4
| | | | | 4GB, even on 32-bit builds. Initial patch by Ross Lagerwall, adapted for 32-bit Windows.
* Issue #10826: Prevent sporadic failure in test_subprocess on Solaris dueAntoine Pitrou2011-02-211-0/+3
| | | | to open door files.
* Fix PyUnicode_FromFormatV("%c") for non-BMP charVictor Stinner2011-02-211-0/+3
| | | | | Issue #10830: Fix PyUnicode_FromFormatV("%c") for non-BMP characters on narrow build.
* Remove filename variable from ceval.cVictor Stinner2011-02-211-1/+6
| | | | | | | Issue #11168: Remove filename debug variable from PyEval_EvalFrameEx(). It encoded the Unicode filename to UTF-8, but the encoding fails on undecodable filename (on surrogate characters) which raises an unexpected UnicodeEncodeError on recursion limit.
* compileall uses repr() to format filenames/pathsVictor Stinner2011-02-211-0/+3
| | | | | Issue #11169: compileall module uses repr() to format filenames and paths to escape surrogate characters and show spaces.
* Remove bootstrap code of PyUnicode_AsEncodedString()Victor Stinner2011-02-211-1/+5
| | | | | | | | Issue #11187: Remove bootstrap code (use ASCII) of PyUnicode_AsEncodedString(), it was replaced by a better fallback (use the locale encoding) in PyUnicode_EncodeFSDefault(). Prepare also empty sections in NEWS.
* Issue #11268: Prevent Mac OS X Installer failure if DocumentationNed Deily2011-02-211-0/+7
| | | | package had previously been installed.
* Issue #11089: Fix performance issue limiting the use of ConfigParser()Raymond Hettinger2011-02-211-0/+3
| | | | with large config files.
* Issue #10990: Prevent tests from clobbering a set trace function.Brett Cannon2011-02-211-0/+4
| | | | | | | | | | | Many tests simply didn't care if they unset a pre-existing trace function. This made test coverage impossible. This patch fixes various tests to put back any pre-existing trace function. It also introduces test.support.no_tracing as a decorator which will temporarily unset the trace function for tests which simply fail otherwise. Thanks to Kristian Vlaardingerbroek for helping to find the cause of various trace function unsets.
* Issue #10276: Fix the results of zlib.crc32() and zlib.adler32() on buffersAntoine Pitrou2011-02-211-0/+6
| | | | larger than 4GB. Patch by Nadeem Vawda.
* - Check for NULL result in PyType_FromSpec.Martin v. Löwis2011-02-211-0/+5
|
* Bump trunk to 3.3 alpha 0.Georg Brandl2011-02-202-2/+8
|
* Bump to 3.3a0.Georg Brandl2011-02-201-0/+0
|
* Version bump to 3.2 final.Georg Brandl2011-02-202-18/+15
|
* #11249: in PyType_FromSpec, copy tp_doc slot since it usually will point to ↵Georg Brandl2011-02-191-0/+2
| | | | a static string literal which should not be deallocated together with the type.
* #11184: Fix large file support on AIX.Georg Brandl2011-02-191-0/+2
|
* #11222: fix non-framework shared library build on Mac, patch by Ned Deily.Georg Brandl2011-02-191-0/+2
|
* #10709: add back an updated AIX-NOTES (as README.AIX).Georg Brandl2011-02-192-0/+142
|
* #941346: Fix broken shared library build on AIX. Patch by Sebastien Sable, ↵Georg Brandl2011-02-151-0/+5
| | | | review by Antoine Pitrou.
* Post-release updates.Georg Brandl2011-02-141-0/+12
|
* Bump for 3.2rc3.v3.2rc3Georg Brandl2011-02-132-5/+5
|
* #11116: roll back on error during add so mailbox isn't left corrupted.R. David Murray2011-02-111-0/+3
|
* Issue #11134: Add missing fields to typeslots.h.Martin v. Löwis2011-02-111-0/+2
| | | | Reviewed by Georg Brandl.
* Issue #11135: Remove redundant doc field from PyType_Spec.Martin v. Löwis2011-02-111-0/+2
| | | | Reviewed by Georg Brandl.
* Issue #11079: The /Applications/Python x.x folder created by the MacNed Deily2011-02-071-0/+5
| | | | | OS X installers no longer includes an Extras directory. The Tools directory is now installed in the framework under share/doc.
* Issue 10971: Make test_zipimport_support once again compatible with refleak ↵Nick Coghlan2011-02-071-0/+6
| | | | hunting (reviewed by Georg Brandl)
* #11132: pass optimize parameter to recursive call in ↵Georg Brandl2011-02-072-0/+4
| | | | compileall.compile_dir(). Reviewed by Eric A.
* Issue #11067: Add PyType_GetFlags, to support PyUnicode_CheckMartin v. Löwis2011-02-051-0/+3
| | | | in the limited ABI
* Issue #11121: Fix building with --enable-shared.Martin v. Löwis2011-02-051-0/+5
|
* There was a possibility that the initialization of _sqlite, when it failed,Brett Cannon2011-02-041-0/+2
| | | | | | would lead to a decref of a NULL. Fixes issue #11110.
* Issue #11118: Fix bogus export of None in python3.dll.Martin v. Löwis2011-02-041-0/+2
|
* Issue #8275: Fix passing of callback arguments with ctypes under Win64.Antoine Pitrou2011-01-312-0/+4
| | | | Patch by Stan Mihai. Ok'ed by Georg.
* Post-release updates.Georg Brandl2011-01-311-0/+12
|
* Bump version.v3.2rc2Georg Brandl2011-01-302-2/+2
|
* #10680: fix mutually exclusive arguments in argument groups.Georg Brandl2011-01-301-0/+3
|
* #10961: fix exception handling in new pydoc server code.Georg Brandl2011-01-301-0/+3
| | | | Patch by Ron Adam, reviewed by Eric Araujo.
* #9124: mailbox now accepts binary input and uses binary internallyR. David Murray2011-01-301-0/+6
| | | | | | | | | | | | | | | | Although this patch contains API changes and is rather weighty for an RC phase, the mailbox module was essentially unusable without the patch since it would produce UnicodeErrors when handling non-ascii input at arbitrary and somewhat mysterious places, and any non-trivial amount of email processing will encounter messages with non-ascii bytes. The release manager approved the patch application. The changes allow binary input, and reject non-ASCII string input early with a useful message instead of failing mysteriously later. Binary is used internally for reading and writing the mailbox files. StringIO and Text file input are deprecated. Initial patch by Victor Stinner, validated and expanded by R. David Murray.
* Issue #10845: Improve compatibility between multiprocessing on Windows and ↵Nick Coghlan2011-01-301-0/+4
| | | | package, zipfile and directory execution (Reviewed by Antoine Pitrou and approved by Georg Brandl)
* Protect logging call against None argument (fixes #11045).Éric Araujo2011-01-291-0/+2
| | | | | | Initial patch by Kelsey Hightower. Approved by Raymond. A test was non-trivial to write without calling the private function directly, so we moved that for later.
* Issue 11052: Correct IDLE menu accelerators on Mac OS X for SaveNed Deily2011-01-291-0/+3
| | | | commands. (with release manager approval for 3.2rc2)