summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* str.replace(a, a) is now returning str unchanged if a is aVictor Stinner2011-10-071-0/+6
|
* Fix memory consumption estimate in test_unicode_repr_wideAntoine Pitrou2011-10-071-1/+1
| | | | (on Martin's buildbot it still seems a bit inaccurate)
* merge from 3.2Ned Deily2011-10-063-45/+75
|\
| * Issue #7367: Fix pkgutil.walk_paths to skip directories whoseNed Deily2011-10-061-3/+11
| | | | | | | | contents cannot be read.
| * Issue #7367: Add test case to test_pkgutil for walking path withNed Deily2011-10-061-0/+11
| | | | | | | | an unreadable directory.
| * Issue #7425: Refactor test_pydoc test case for '-k' behavior and addNed Deily2011-10-061-42/+53
| | | | | | | | new test cases for importing bad packages and unreadable packages dirs.
* | Fix expected memory consumption for test_translateAntoine Pitrou2011-10-061-8/+25
| |
* | Fix size estimate for test_unicode_reprAntoine Pitrou2011-10-061-1/+7
| |
* | Fix test_splitlines to reach its size estimateAntoine Pitrou2011-10-061-2/+2
| |
* | Make the formula for this estimate more explicitAntoine Pitrou2011-10-061-1/+1
| |
* | Fix size estimation for test_bigmem.StrTest.test_formatAntoine Pitrou2011-10-061-1/+3
| |
* | Fix the expected memory consumption for some testsAntoine Pitrou2011-10-061-5/+7
| |
* | Issue #10141: socket: add SocketCAN (PF_CAN) support. Initial patch by MatthiasCharles-François Natali2011-10-061-0/+164
| | | | | | | | Fuchs, updated by Tiago Gonçalves.
* | Issue #12911: Fix memory consumption when calculating the repr() of huge ↵Antoine Pitrou2011-10-062-0/+21
|\ \ | |/ | | | | | | | | | | tuples or lists. This introduces a small private API for this common pattern. The issue has been discovered thanks to Martin's huge-mem buildbot.
| * Issue #12911: Fix memory consumption when calculating the repr() of huge ↵Antoine Pitrou2011-10-062-0/+21
| | | | | | | | | | | | | | tuples or lists. This introduces a small private API for this common pattern. The issue has been discovered thanks to Martin's huge-mem buildbot.
| * Branch mergeÉric Araujo2011-10-061-1/+1
| |\
* | | Issue #3163: The struct module gets new format characters 'n' and 'N'Antoine Pitrou2011-10-061-25/+41
| | | | | | | | | | | | supporting C integer types `ssize_t` and `size_t`, respectively.
* | | Branch mergeÉric Araujo2011-10-068-47/+89
|\ \ \
| * | | Fix return code of “pysetup run COMMAND” (closes #12222)Éric Araujo2011-10-062-16/+19
| | | |
| * | | Minor: improve one test name, address pyflakes warningsÉric Araujo2011-10-061-6/+4
| | | |
| * | | Add test that was promised in a comment but not actually writtenÉric Araujo2011-10-061-2/+7
| | | |
| * | | Fix incorrect test.Éric Araujo2011-10-061-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The packaging.install.remove function (a.k.a. the uninstall feature) takes a path argument to allow client code to use custom directories instead of sys.path. The test used to give self.root_dir as path, which corresponds to a prefix option, but prefix is not on sys.path, it’s only the base directory used to compute the stdlib and site-packages directory paths. The test now gives a valid site-packages path to the function.
| * | | Change one name in packaging’s test_uninstall to avoid confusion.Éric Araujo2011-10-061-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | install_lib may be the name of a module, a command or an option, so I find it clearer to use site_packages to refer to a string object containing the path of the site-packages directory created in a temporary directory during tests.
| * | | Add regrtest check for caches in packaging.database (see #12167)Éric Araujo2011-10-061-0/+24
| | | |
| * | | Merge 3.2Éric Araujo2011-10-041-1/+1
| |\ \ \ | | | |/ | | |/|
| | * | Fix typo and case in a recently added testÉric Araujo2011-10-041-1/+1
| | | |
| * | | Update skip message printed by test.support.get_attribute.Éric Araujo2011-10-041-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | This helper was changed to work with any object instead of only modules (or technically something with a __name__ attribute, see code in 3.2) but the message stayed as is.
| * | | Cosmetic fixes for whitespace and a regex in packaging.Éric Araujo2011-10-042-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | The goal of the regex is to catch a (alpha), b (beta), c or rc (release candidate), so the existing pattern puzzled me. Tests were OK before and after the change.
| * | | Add tests for comparing candidate and final versions in packaging (#11841).Éric Araujo2011-10-041-0/+12
| | | | | | | | | | | | | | | | | | | | This used to be buggy; Filip Gruszczyński contributed tests and a code patch but the latter is not needed.
| * | | Remove inline comment, no longer supported by configparser.Éric Araujo2011-10-041-1/+1
| | | | | | | | | | | | | | | | (Deleted rather than moved because multilib implementations vary.)
* | | | Merge from 3.2Amaury Forgeot d'Arc2011-10-051-2/+2
|\ \ \ \ | | |_|/ | |/| |
| * | | Enable the only tests for sys.gettraceAmaury Forgeot d'Arc2011-10-051-2/+2
| | | |
* | | | Fix a few ResourceWarnings in idleAmaury Forgeot d'Arc2011-10-032-1/+6
| | | |
* | | | Issue #13070: Fix a crash when a TextIOWrapper caught in a reference cycleCharles-François Natali2011-10-051-0/+15
|\ \ \ \ | |/ / / | | | | | | | | | | | | would be finalized after the reference to its underlying BufferedRWPair's writer got cleared by the GC.
| * | | Issue #13070: Fix a crash when a TextIOWrapper caught in a reference cycleCharles-François Natali2011-10-051-0/+15
| | | | | | | | | | | | | | | | | | | | would be finalized after the reference to its underlying BufferedRWPair's writer got cleared by the GC.
* | | | merge from 3.2. Issue13104 - Fix urllib.request.thishost() utility function.Senthil Kumaran2011-10-052-1/+5
|\ \ \ \ | |/ / /
| * | | Issue13104 - Fix urllib.request.thishost() utility function.Senthil Kumaran2011-10-052-1/+5
| | | |
* | | | merge from 3.2. Issue #13073 - Address the review comments made by Ezio.Senthil Kumaran2011-10-051-5/+5
|\ \ \ \ | |/ / /
| * | | Issue #13073 - Address the review comments made by Ezio.Senthil Kumaran2011-10-051-5/+5
| | | |
* | | | Fix text failures when ctypes is not availableAntoine Pitrou2011-10-052-28/+39
| | | | | | | | | | | | | | | | (followup to Victor's 85d11cf67aa8 and 7a50e549bd11)
* | | | os.geteuid() may not be available...Charles-François Natali2011-10-041-1/+1
|\ \ \ \ | |/ / /
| * | | os.geteuid() may not be available...Charles-François Natali2011-10-041-1/+1
| | | |
* | | | Issue #11956: Always skip test_import.test_unwritable_directory when run asCharles-François Natali2011-10-041-2/+2
|\ \ \ \ | |/ / / | | | | | | | | root, since the semantics varies across Unix variants.
| * | | Issue #11956: Always skip test_import.test_unwritable_directory when run asCharles-François Natali2011-10-041-2/+2
| | | | | | | | | | | | | | | | root, since the semantics varies across Unix variants.
* | | | Issue #11956: Skip test_import.test_unwritable_directory on FreeBSD when run asCharles-François Natali2011-10-041-0/+3
|\ \ \ \ | |/ / / | | | | | | | | root (directory permissions are ignored).
| * | | Issue #11956: Skip test_import.test_unwritable_directory on FreeBSD when run asCharles-François Natali2011-10-041-0/+3
| | |/ | |/| | | | | | | root (directory permissions are ignored).
* | | #13054: fix usage of sys.maxunicode after PEP-393.Ezio Melotti2011-10-045-37/+13
| |/ |/|
* | Also fix pickletesterAntoine Pitrou2011-10-041-3/+3
| |
* | An embarassing litle typoAntoine Pitrou2011-10-041-1/+1
| |
* | When expandtabs() would be a no-op, don't create a duplicate stringAntoine Pitrou2011-10-041-0/+4
| |