summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Create _Py_wchar2char() function, reverse of _Py_char2wchar()Victor Stinner2010-08-133-11/+97
| | | | | * Use _Py_wchar2char() in _wstat() and _Py_wfopen() * Document _Py_char2wchar()
* Reimplement addbuilddir() in C inside getpath.c, so as to execute itAntoine Pitrou2010-08-138-25/+53
| | | | | at interpreter startup before importing any non-builtin modules. Should fix #9589.
* Fix a typo: TESTFN_UNENCODEABLE => TESTFN_UNENCODABLEVictor Stinner2010-08-133-16/+16
|
* Issue #9203: Computed gotos are now enabled by default on supportedAntoine Pitrou2010-08-135-25/+126
| | | | | compilers (which are detected by the configure script). They can still be disable selectively by specifying --without-computed-gotos.
* Fix #9588. Add sys.executable to two shell=True tests.Brian Curtin2010-08-131-2/+3
|
* Per request, make 'nosy' vs 'assign' explicit in maintainers.rst.R. David Murray2010-08-131-1/+5
| | | | Also add myself as assignable for email issues.
* Issue #9560: Use -b option of the file command in _syscmd_file()Victor Stinner2010-08-131-12/+6
| | | | | Omit the filename to avoid enconding issues, especially with non encodable characters in the Python full path.
* Reapply r83877.Antoine Pitrou2010-08-133-84/+14
|
* Re-apply r83871.Antoine Pitrou2010-08-133-60/+14
|
* 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
|