summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Check newly created consistency using _PyUnicode_CheckConsistency(str, 1)Victor Stinner2012-04-2710-14/+31
| | | | | | * In debug mode, fill the string data with invalid characters * Simplify also reference counting in PyCodec_BackslashReplaceErrors() and PyCodec_XMLCharRefReplaceError()
* Backing out 86dc014cdd74. Not ready yetJesus Cea2012-04-268-60/+12
|
* Close #10142: Support for SEEK_HOLE/SEEK_DATAJesus Cea2012-04-268-12/+60
|
* Add a missing close parenBrian Curtin2012-04-261-1/+1
|
* merge headsBenjamin Peterson2012-04-2615-3195/+3075
|\
| * Issue #14605: Make explicit the entries on sys.path_hooks that used toBrett Cannon2012-04-269-3185/+3054
| | | | | | | | | | | | | | | | | | | | | | | | be implicit. Added a warning for when sys.path_hooks is found to be empty. Also changed the meaning of None in sys.path_importer_cache to represent trying sys.path_hooks again (an interpretation of previous semantics). Also added a warning for when None was found. The long-term goal is for None in sys.path_importer_cache to represent the same as imp.NullImporter: no finder found for that sys.path entry.
| * Silence DeprecationWarning for cgi.escape() usage in test_cgi.Brett Cannon2012-04-261-3/+8
| |
| * Update importlib.hBrett Cannon2012-04-261-7/+7
| |
| * MergeBrett Cannon2012-04-2611-138/+238
| |\
| | * _PyUnicode_CheckConsistency() ensures that the unicode string ends with aVictor Stinner2012-04-251-2/+6
| | | | | | | | | | | | null character
| | * long_to_decimal_string() and _PyLong_Format() check the consistency of newlyVictor Stinner2012-04-251-0/+2
| | | | | | | | | | | | created strings using _PyUnicode_CheckConsistency() in debug mode
| * | Issue #14605: Insert to the front of sys.path_hooks instead of appending.Brett Cannon2012-04-253-5/+5
| | |
* | | only incref when using borrowing functionsBenjamin Peterson2012-04-261-1/+1
| |/ |/|
* | Issue #14605 and #14642: Issue a warning in case Python\importlib.h needs toMarc-Andre Lemburg2012-04-251-2/+13
| | | | | | | | | | | | | | be rebuilt, but there's no Python interpreter around to freeze the bootstrap script. Forgot to include Makefile.pre.in in changeset 76549:acfdf46b8de1.
* | Fix #3561. Add an option to place the Python installation into the Windows ↵Brian Curtin2012-04-252-3/+22
| | | | | | | | Path environment variable.
* | Issue #14664: It is now possible to use @unittest.skip{If,Unless} on a test ↵Antoine Pitrou2012-04-253-1/+19
|\ \ | | | | | | | | | class that doesn't inherit from TestCase (i.e. a mixin).
| * | Issue #14664: It is now possible to use @unittest.skip{If,Unless} on a test ↵Antoine Pitrou2012-04-253-1/+19
| | | | | | | | | | | | class that doesn't inherit from TestCase (i.e. a mixin).
* | | Start a shared utility script for poking around at the import internalsNick Coghlan2012-04-251-0/+39
| | |
* | | Merged fixed test from 3.2.Vinay Sajip2012-04-251-17/+17
|\ \ \ | |/ /
| * | Fixed test to work on Windows.Vinay Sajip2012-04-251-17/+17
| | |
* | | Issue #14605 and #14642:Marc-Andre Lemburg2012-04-252-113/+120
| |/ |/| | | | | | | | | Issue a warning in case Python\importlib.h needs to be rebuilt, but there's no Python interpreter around to freeze the bootstrap script.
* | Issue #14605: Rename _SourcelessFileLoader to SourcelessFileLoader.Marc-Andre Lemburg2012-04-2511-1439/+1436
| | | | | | | | | | This time also recreating the Python/importlib.h file to make make happy. See the ticket for details.
* | Issue #14605: Revert renaming of _SourcelessFileLoader, since it causedMarc-Andre Lemburg2012-04-2510-15/+18
| | | | | | | | the buildbots to fail.
* | Issue #14605: Rename _SourcelessFileLoader to SourcelessFileLoaderMarc-Andre Lemburg2012-04-2410-18/+15
| |
* | Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks ↵Vinay Sajip2012-04-242-24/+70
|\ \ | |/ | | | | to John Mulligan for the problem report and patch.
| * Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks ↵Vinay Sajip2012-04-242-23/+72
| | | | | | | | to John Mulligan for the problem report and patch.
* | Issue #4892: multiprocessing Connections can now be transferred over ↵Antoine Pitrou2012-04-248-193/+283
| | | | | | | | | | | | multiprocessing Connections. Patch by Richard Oudkerk (sbt).
* | Merge with 3.2: Issue #14160: TarFile.extractfile() failed to resolve symbolicLars Gustäbel2012-04-244-1/+7
|\ \ | |/ | | | | links when the links were not located in an archive subdirectory.
| * Issue #14160: TarFile.extractfile() failed to resolve symbolic linksLars Gustäbel2012-04-244-1/+7
| | | | | | | | when the links were not located in an archive subdirectory.
* | Closes Issue #14661: posix module: add O_EXEC, O_SEARCH, O_TTY_INIT (I add ↵Jesus Cea2012-04-241-0/+10
| | | | | | | | some Solaris constants too)
* | Issue #14661: posix module: add O_EXEC, O_SEARCH, O_TTY_INITJesus Cea2012-04-241-0/+9
| |
* | distiguish between refusing to creating shared keys and error (#13903)Benjamin Peterson2012-04-242-4/+14
| |
* | Issue #14448: merge with 3.2Sandro Tosi2012-04-241-1/+9
|\ \ | |/
| * Issue #14448: mention pytz; patch by Andrew SvetlovSandro Tosi2012-04-241-1/+9
| |
* | Fix location of versionaddeds and empty lines.Georg Brandl2012-04-241-3/+6
| |
* | Account for shared keys in type's __sizeof__ (#13903).Martin v. Loewis2012-04-244-14/+40
| |
* | Issue #14554: merge with 3.2Sandro Tosi2012-04-241-1/+1
|\ \ | |/
| * Issue #14554: correct example for captured_stdout(); patch by Tshepang ↵Sandro Tosi2012-04-241-1/+1
| | | | | | | | Lekhonkhobe
* | Issue #13478: merge with 3.2Sandro Tosi2012-04-241-8/+16
|\ \ | |/
| * Issue #13478: document timeit.default_timer()Sandro Tosi2012-04-241-8/+16
| |
* | Issue #13587: merge with 3.2Sandro Tosi2012-04-241-2/+2
|\ \ | |/
| * Issue #13587: use the right RFC2617 name for WWW-Authenticate; patch by ↵Sandro Tosi2012-04-241-2/+2
| | | | | | | | Aaron Maenpaa
* | merge 3.2 (#14658)Benjamin Peterson2012-04-243-3/+18
|\ \ | |/
| * don't use a slot wrapper from a different special method (closes #14658)Benjamin Peterson2012-04-243-3/+18
| | | | | | | | | | | | | | This also alters the fix to #11603. Specifically, setting __repr__ to object.__str__ now raises a recursion RuntimeError when str() or repr() is called instead of silently bypassing the recursion. I believe this behavior is more correct.
* | fix dict gc tracking (#13903)Benjamin Peterson2012-04-241-0/+3
| |
* | Skip long repr tests when the cached pyc file's path length would exceed the ↵Antoine Pitrou2012-04-241-3/+25
| | | | | | | | | | | | maximum Win32 path length. This should fix a failure on one of the XP buildbots.
* | make pointer arith c89Benjamin Peterson2012-04-241-2/+2
| |
* | use correct base ptrBenjamin Peterson2012-04-231-1/+2
| |
* | simplify and reformatBenjamin Peterson2012-04-231-9/+11
| |
* | Close #14648: Compute correctly maxchar in str.format() for substrinVictor Stinner2012-04-234-6/+50
| |