summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused importsRaymond Hettinger2010-08-151-3/+1
|
* Remove the lfu_cache. Add more tests.Raymond Hettinger2010-08-152-102/+15
|
* Support cache sizes.Raymond Hettinger2010-08-142-1/+49
|
* Localize one more builtin lookup.Raymond Hettinger2010-08-141-2/+4
|
* Add locks to make the caches well behaved in multi-threaded code.Raymond Hettinger2010-08-141-24/+39
| | | | | Store builtins in cell variables to speed-up the common path, reducing the chance of a lock needing to block at all.
* Clean-up the cache patch for the re module.Raymond Hettinger2010-08-141-48/+7
|
* Silence BytesWarning while testing exceptionFlorent Xicluna2010-08-141-1/+2
|
* Silence the BytesWarning, due to patch r83294 for #9301Florent Xicluna2010-08-141-1/+3
|
* Mac OS X denies unencodable filenames (invalid utf-8)Victor Stinner2010-08-141-1/+2
|
* fix issue #8857: provide a test case for socket.getaddrinfoGiampaolo Rodolà2010-08-141-0/+51
|
* There doesn't seem to be a reason for this test to be disabled.Antoine Pitrou2010-08-141-2/+0
|
* This is a better resolution than r84021 (because it will also affectAntoine Pitrou2010-08-141-12/+6
| | | | ssl.get_server_certificate()).
* Add a reasonable timeout to network SSL tests, so as to avoid buildbot timeoutsAntoine Pitrou2010-08-141-0/+12
| | | | when the remote server doesn't answer.
* Merged manually from 2.7 branch to 3.x trunk.Florent Xicluna2010-08-141-8/+16
| | | | | | | | | | | ------------------------------------------------------------------------ r79925 | nick.coghlan | 2010-04-10 16:24:36 +0200 (sam. 10 avril 2010) Try to turn some buildbots green by allowing test_multiprocessing to pass even if it hits the sys.exc_clear code in the threading module, and improve the test coverage by making the ctypes dependencies a bit more granular (two of the cited ctypes objects don't exist on my system) ------------------------------------------------------------------------
* Use a marker in generated MANIFEST files, don't touch files without it. ↵Éric Araujo2010-08-142-4/+49
| | | | Fixes #8688.
* Reimplement addbuilddir() in C inside getpath.c, so as to execute itAntoine Pitrou2010-08-131-15/+0
| | | | | at interpreter startup before importing any non-builtin modules. Should fix #9589.
* Fix a typo: TESTFN_UNENCODEABLE => TESTFN_UNENCODABLEVictor Stinner2010-08-133-16/+16
|
* Fix #9588. Add sys.executable to two shell=True tests.Brian Curtin2010-08-131-2/+3
|
* 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-132-82/+12
|
* Re-apply r83871.Antoine Pitrou2010-08-132-53/+14
|
* 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: NullImporter constructor is fully unicode compliantVictor Stinner2010-08-131-0/+13
| | | | | | * 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
|
* Issue #7467: when a file from a ZIP archive, its CRC is checked and aAntoine Pitrou2010-08-122-2/+102
| | | | | BadZipfile error is raised if it doesn't match (as used to be the case in Python 2.5 and earlier).
* #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-111-0/+24
| | | | | | 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.
* Issue #9530: Fix undefined-behaviour-inducing overflow checks in bytes and ↵Mark Dickinson2010-08-101-2/+4
| | | | bytearray implementations.
* test_winsound shouldn't crash when ctypes isn't availableAntoine Pitrou2010-08-101-1/+1
|
* Issue #3757: thread-local objects now support cyclic garbage collection.Antoine Pitrou2010-08-091-2/+16
| | | | | 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-092-6/+10
| | | | 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.
* 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. ------------------------------------------------------------------------
* 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-092-120/+376
| | | | | 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-092-14/+53
|
* Revert r83877 in order to fix compilationAntoine Pitrou2010-08-092-12/+82
|
* reapply the revert made in r83875Senthil Kumaran2010-08-092-82/+12
| | | | | | | | | 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.
* Revert 83784 adding functools.lru_cache() to the re module.Raymond Hettinger2010-08-092-12/+82
| | | | | | | | | | | 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-092-82/+12
| | | | random flushing cache in the re module.
* Issue 7846: fnmatch cache can grow without boundRaymond Hettinger2010-08-092-53/+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 #8524: Add a forget() method to socket objects, so as to put theAntoine Pitrou2010-08-082-3/+15
| | | | | 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-082-1/+19
| | | | #6231
* Fix BytesWarning in test_xml_etree, introduced with r83851.Florent Xicluna2010-08-081-2/+2
|
* Issue #9425: file system encoding is not always utf-8Victor Stinner2010-08-081-4/+1
| | | | Fix a regression introduced in test_sys by r83778.