summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* De-duplicate contents of pytime.hAntoine Pitrou2010-08-131-35/+0
|
* Fix copy-paste error.Georg Brandl2010-08-131-1/+1
|
* Issue #9425: Create PyErr_WarnFormat() functionVictor Stinner2010-08-137-34/+74
| | | | | | | Similar to PyErr_WarnEx() but use PyUnicode_FromFormatV() to format the warning message. Strip also some trailing spaces.
* Oops, I did it again: add missing \ removed in previous commitVictor Stinner2010-08-131-1/+1
|
* Oops, create TESTFN_UNENCODEABLE from TEST_FN, not TESTFN_UNICODEVictor Stinner2010-08-131-1/+1
| | | | | test_imp fails on Linux with C locale because TESTFN_UNICODE is not encodable to ascii.
* Issue #9425: PyFile_FromFd() ignores the name argumentVictor Stinner2010-08-132-13/+9
| | | | | This function is only by imp.find_module() which does return the filename in a separated variable.
* Issue #9425: NullImporter constructor is fully unicode compliantVictor Stinner2010-08-132-38/+65
| | | | | | * On non-Windows OSes: the constructor accepts bytes filenames and use surrogateescape for unicode filenames * On Windows: use GetFileAttributesW() instead of GetFileAttributesA()
* Set TESTFN_UNENCODEABLE on non-Windows OSesVictor Stinner2010-08-132-27/+37
| | | | | | | * Use 0xff byte on non-Windows OSes * mbcs is now really strict by default: i closed the issue #850997, so use the filesystem encoding and not Latin-1 * Rename TESTFN_UNICODE_UNENCODEABLE to TESTFN_UNENCODEABLE
* Remove unused test class.Eric Smith2010-08-121-5/+0
|
* Typo.Antoine Pitrou2010-08-121-2/+2
|
* Issue #7467: when a file from a ZIP archive, its CRC is checked and aAntoine Pitrou2010-08-123-2/+106
| | | | | BadZipfile error is raised if it doesn't match (as used to be the case in Python 2.5 and earlier).
* use pep 383 decoding for mknod and mkfifo #9570Benjamin Peterson2010-08-112-2/+12
| | | | Patch by David Watson.
* Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99Alexander Belopolsky2010-08-1113-124/+74
| | | | | va_copy, but available on all python platforms. Untabified a few unrelated files.
* #9055: remove assertion at the end of test_8959_b since the test is about ↵Tim Golden2010-08-111-1/+0
| | | | crashing, not about counting and is difficult to manage when run as a service
* #2304: fix incorporating Eric Smith's .format suggestion and tested on ↵Tim Golden2010-08-112-2/+44
| | | | Ubuntu as well as Windows
* Issue #9550: a BufferedReader could issue an additional read when theAntoine Pitrou2010-08-114-1/+34
| | | | | | original read request had been satisfied, which can block indefinitely when the underlying raw IO channel is e.g. a socket. Report and original patch by Jason V. Miller.
* Add George Boutsioukis, from the GSoC project.Martin v. Löwis2010-08-111-0/+3
|
* Note that Éric Araujo has been given commit privileges.Brett Cannon2010-08-111-0/+3
|
* Issue #8834: Added a comment describing the order of entries in Misc/ACKS.Alexander Belopolsky2010-08-101-4/+10
| | | | Added names from release27-maint branch that were missing from py3k.
* Issue #9530: Fix undefined-behaviour-inducing overflow checks in bytes and ↵Mark Dickinson2010-08-103-68/+49
| | | | bytearray implementations.
* Issue #9425: create Py_UNICODE_strrchr() functionVictor Stinner2010-08-102-0/+17
|
* Issue #8411: new condition variable emulation under Windows for the new GIL,Antoine Pitrou2010-08-101-52/+105
| | | | | by Kristján. Unfortunately the 3.x Windows buildbots are in a wreck, so we'll have to watch them when they become fit again.
* test_winsound shouldn't crash when ctypes isn't availableAntoine Pitrou2010-08-101-1/+1
|
* Issue #6915: Under Windows, os.listdir() didn't release the GlobalAntoine Pitrou2010-08-093-1/+9
| | | | Interpreter Lock around all system calls. Original patch by Ryan Kelly.
* Issue #3757: thread-local objects now support cyclic garbage collection.Antoine Pitrou2010-08-093-47/+244
| | | | | Thread-local objects involved in reference cycles will be deallocated timely by the cyclic GC, even if the underlying thread is still running.
* Followup to r83869 and issue #8524: rename socket.forget() to socket.detach()Antoine Pitrou2010-08-096-24/+29
| | | | and make it return the file descriptor.
* Fix Issue7007 - Use percent-encoded consistently instead of URL Encoded ↵Senthil Kumaran2010-08-093-7/+7
| | | | variations. Changes in Modules.
* Fix Issue7007 - Use percent-encoded consistently instead of URL Encoded ↵Senthil Kumaran2010-08-094-6/+6
| | | | variations. Docs changed.
* Merged manually from 2.7 branch to 3.x trunk.Florent Xicluna2010-08-092-8/+17
| | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r81149 | florent.xicluna | 2010-05-13 23:40:01 +0200 (jeu. 13 mai 2010) | 2 lignes Better test skipping, with message in the log. ------------------------------------------------------------------------ r81150 | florent.xicluna | 2010-05-13 23:41:05 +0200 (jeu. 13 mai 2010) | 2 lignes Improve test feedback to troubleshoot issue #8423 on OS X. ------------------------------------------------------------------------ r81151 | florent.xicluna | 2010-05-14 01:46:48 +0200 (ven. 14 mai 2010) | 2 lignes Revert changeset r81150 which helped diagnose issue #8423 on some OS X buildbot. ------------------------------------------------------------------------ r82056 | florent.xicluna | 2010-06-17 22:30:56 +0200 (jeu. 17 juin 2010) | 2 lignes Add few words about test.test_genericpath.CommonTest ------------------------------------------------------------------------
* Merged manually from 2.7 branch to 3.x trunk.Florent Xicluna2010-08-091-17/+10
| | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r80411 | florent.xicluna | 2010-04-23 19:59:10 +0200 (ven. 23 avril 2010) | 2 lignes Remove ImportWarnings filters. They become obsolete after r79310, issue #8205. ------------------------------------------------------------------------ r80412 | florent.xicluna | 2010-04-23 20:10:12 +0200 (ven. 23 avril 2010) | 2 lignes Fix the "regrtest -s" switch. ------------------------------------------------------------------------ r81140 | florent.xicluna | 2010-05-13 19:05:29 +0200 (jeu. 13 mai 2010) | 3 lignes Add sensible information about the OS X platform to diagnose issue #8423: test_pep277 fails on "x86 Tiger" buildbot but not on "PPC Tiger". ------------------------------------------------------------------------ r81141 | florent.xicluna | 2010-05-13 20:16:06 +0200 (jeu. 13 mai 2010) | 2 lignes Revert the additional OS X information (r81140). Keep the endianness information. ------------------------------------------------------------------------
* correct commentBenjamin Peterson2010-08-091-1/+1
|
* typoBenjamin Peterson2010-08-091-1/+1
|
* don't alias directly, so that extra arguments don't appear #6678Benjamin Peterson2010-08-091-4/+3
|
* issue #9452:Fred Drake2010-08-094-142/+452
| | | | | Add read_file, read_string, and read_dict to the configparser API; new source attribute to exceptions.
* Also temporarily revert r83871, to fix compilation on buildbotsAntoine Pitrou2010-08-093-14/+60
|
* Fix ``Tools/scripts/checkpyc.py`` after PEP 3147.Florent Xicluna2010-08-092-17/+22
|
* Clean up syntax for some scripts.Florent Xicluna2010-08-097-87/+115
|
* Revert r83877 in order to fix compilationAntoine Pitrou2010-08-093-14/+84
|
* spelling mistake.Senthil Kumaran2010-08-091-1/+1
|
* Fix Issue5416 - explain negative value for count in bytes object replace.Senthil Kumaran2010-08-091-1/+2
|
* Merge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest).Florent Xicluna2010-08-091-2/+1
|
* reapply the revert made in r83875Senthil Kumaran2010-08-093-84/+14
| | | | | | | | | Now the _collections is statically built, the build dependencies are in proper order and build works fine. Commit Log from r83874: Issue 9396. Apply functools.lru_cache in the place of the random flushing cache in the re module.
* Fix Issue9545 - Adding _collections to static build.Senthil Kumaran2010-08-092-6/+3
|
* Revert 83784 adding functools.lru_cache() to the re module.Raymond Hettinger2010-08-093-14/+84
| | | | | | | | | | | The problem is that the re module is imported by sysconfig and re needs functools which uses collections.OrderedDict() but the _collectionsmodule.c code is not yet constructed at this point in the build. The likely best solution will be to include _collections as part of the static build before the rest of the boot-strapping.
* Issue 9396. Apply functools.lru_cache in the place of theRaymond Hettinger2010-08-093-84/+14
| | | | random flushing cache in the re module.
* use 3 space indentsBenjamin Peterson2010-08-091-17/+16
|
* Issue 7846: fnmatch cache can grow without boundRaymond Hettinger2010-08-093-60/+14
| | | | | | Updated to solution to use the functools.lru_cache(). Restores the API so that purge() is not needed (because the cache never gets big).
* Issue #9425: Create load_builtin() subfunctionVictor Stinner2010-08-091-30/+40
| | | | Just move the code and some variables.
* Issue #8524: Add a forget() method to socket objects, so as to put theAntoine Pitrou2010-08-086-3/+50
| | | | | socket into the closed state without closing the underlying file descriptor.
* Fix xml.etree.ElementInclude to include the tail of the current node. Issue ↵Florent Xicluna2010-08-083-1/+22
| | | | #6231