summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue 10882: add os.sendfile(). (patch provided by Ross Lagerwall)Giampaolo Rodolà2011-02-257-21/+550
|
* Fix .hgeolAntoine Pitrou2011-02-251-12/+15
|
* More eol-style'sAntoine Pitrou2011-02-255-1421/+1420
|
* Make svn:eol-style's more consistentAntoine Pitrou2011-02-2522-513/+513
|
* rewrite with assertIsBenjamin Peterson2011-02-251-2/+1
|
* run autoconfBenjamin Peterson2011-02-252-524/+484
|
* Add 3.3 whatsnew to index.Georg Brandl2011-02-251-0/+1
|
* Remove unused m4 define.Georg Brandl2011-02-251-7/+0
|
* Removed fcmp and FUZZ from test.support, following the discussion on python-dev:Eli Bendersky2011-02-253-25/+10
| | | | http://mail.python.org/pipermail/python-dev/2011-January/107735.html
* Issue #10516: adding list.clear() and list.copy() methodsEli Bendersky2011-02-256-2/+81
|
* Adds Python 3.3 what's new document.Giampaolo Rodolà2011-02-241-0/+95
|
* Issue #11286: Raise a ValueError from calling PyMemoryView_FromBuffer withAntoine Pitrou2011-02-244-0/+21
| | | | a buffer struct having a NULL data pointer.
* Issue #11286: Fixed unpickling of empty 2.x strings.Alexander Belopolsky2011-02-244-13/+12
|
* Allow usage of SomeABC.register as a class decorator. Patch by Edoardo ↵Éric Araujo2011-02-245-3/+36
| | | | Spadolini (#10868).
* rewriteBenjamin Peterson2011-02-241-26/+25
|
* this seems to be pointlessly nestedBenjamin Peterson2011-02-241-9/+6
|
* Merged revisions 88535 via svnmerge fromBenjamin Peterson2011-02-241-0/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r88535 | brett.cannon | 2011-02-23 13:46:46 -0600 (Wed, 23 Feb 2011) | 1 line Add lib2to3.__main__ for easy testing from the console. ........
* Issue #11304: Input/output tutorial - PI is rounded not truncated.Raymond Hettinger2011-02-241-1/+1
|
* Revert r88503 as Benjamin's request.Brett Cannon2011-02-232-6/+3
|
* Issue #3080: Fix test_reprlib on WindowsVictor Stinner2011-02-231-1/+1
| | | | Fix the test for last module changes (r88520).
* Issue #11272: Fix input() and sys.stdin for Windows newlineVictor Stinner2011-02-234-5/+48
| | | | | 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-233-3/+22
| | | | | | | | | | | | | | | | 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.
* dynload_dl.c: replace tabs by spacesVictor Stinner2011-02-231-7/+7
|
* Add tests for the _ChainMap helper class.Raymond Hettinger2011-02-232-0/+119
|
* Indent "versionadded" properly.Georg Brandl2011-02-231-5/+5
|
* Add new subdirectory to LIBSUBDIRS.Georg Brandl2011-02-231-1/+1
|
* Fix imports from collections.abcRaymond Hettinger2011-02-237-20/+22
|
* Issue #3080: Add PyModule_GetNameObject()Victor Stinner2011-02-233-21/+45
| | | | | repr(module) uses %R to format module name and filenames, instead of '%s' and '%U', so surrogates from undecodable bytes in a filename (PEP 383) are escaped.
* Issue #3080: Mark _PyImport_FindBuiltin() argument as constantVictor Stinner2011-02-232-4/+4
| | | | | | And as a consequence, mark also name argument of _PyImport_FindExtensionUnicode() constant too. But I plan to change this argument type to PyObject* later.
* Issue #3080: document encoding used by import functionsVictor Stinner2011-02-223-16/+51
|
* Issue #3080: Remove unused argument of _PyImport_GetDynLoadFunc()Victor Stinner2011-02-228-11/+10
| | | | The first argument, fqname, was not used.
* Issue #3080: Mark PyWin_FindRegisteredModule() as privateVictor Stinner2011-02-222-7/+7
| | | | | This function was not declared in Python public API (in any .h file) and not documented. Mark it as private to prepare a change of its API.
* A crypt algorithm may not be available by returning None.Brett Cannon2011-02-221-2/+7
|
* Make Lib/crypt.py meet PEP 8 standards. This also led to a tweak in the new APIBrett Cannon2011-02-223-58/+60
| | | | by making methods() into a module attribute as it is statically calculated.
* Issue #11277: finally fix Snow Leopard crash following r88460.Antoine Pitrou2011-02-221-1/+1
| | | | (probably an OS-related issue with mmap)
* Fix test.test_crypt.test_methods() to pass on OS X.Brett Cannon2011-02-221-1/+4
|
* Issue #8914: fix various warnings from the Clang static analyzer v254.Brett Cannon2011-02-2236-84/+69
|
* In FTP.close() method, make sure to also close the socket object, not only ↵Giampaolo Rodolà2011-02-220-0/+0
| | | | the file.
* In FTP.close() method, make sure to also close the socket object, not only ↵Giampaolo Rodolà2011-02-221-3/+3
| | | | the file.
* Add lib2to3.__main__ to make it easier for debugging purposes to run 2to3.Brett Cannon2011-02-222-3/+6
|
* smtlib.py PEP8 normalization via pep8.py script.Giampaolo Rodolà2011-02-221-63/+73
|
* Issue #10924: Adding salt and Modular Crypt Format to crypt library.Sean Reifscheider2011-02-227-13/+183
|
* Issue #11074: Make 'tokenize' so it can be reloaded.Brett Cannon2011-02-222-3/+4
| | | | | | | | 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-222-0/+3
| | | | Thanks to Nadeem Vawda for the find and an initial fix.
* Issue #10992: make tests pass when run under coverage.Brett Cannon2011-02-2213-4/+58
| | | | | | | | | | 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.
* Ignore __pycache__ in Lib/collections.Brett Cannon2011-02-220-0/+0
|
* Factor-out common code for helper classes.Raymond Hettinger2011-02-222-20/+4
|
* Have the test filename match the module filename.Raymond Hettinger2011-02-221-0/+0
|
* Issue #11085: Moved collections abstract base classes into a separate moduleRaymond Hettinger2011-02-228-135/+163
| | | | | | 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-213-50/+112
| | | | | 4GB, even on 32-bit builds. Initial patch by Ross Lagerwall, adapted for 32-bit Windows.