Commit Graph

48210 Commits

Author SHA1 Message Date
Vinay Sajip 3f84b07816 Issue #11424: Fix bug in determining child loggers. 2011-03-07 17:49:33 +00:00
Victor Stinner db536afee1 Issue #3080: Document the name attribute of the _inittab structure
The name is an ASCII encoded string.
2011-03-07 18:34:59 +01:00
Victor Stinner 21fcd0c9af Issue #3080: Use PyUnicode_InternFromString() for builtins
_PyImport_FixupBuiltin() and _PyImport_FindBuiltin() use
PyUnicode_InternFromString() instead of PyUnicode_FromString().
2011-03-07 18:28:15 +01:00
Victor Stinner 9587286f98 Issue #3080: Import builtins using Unicode strings
- is_builtin(), init_builtin(), load_builtin() and other builtin related
   functions use Unicode strings, instead of byte strings
 - Rename _PyImport_FixupExtensionUnicode() to _PyImport_FixupExtensionObject()
 - Rename _PyImport_FindExtensionUnicode() to _PyImport_FindExtensionObject()
2011-03-07 18:20:56 +01:00
Victor Stinner 53dc735168 Issue #3080: Add PyImport_ImportFrozenModuleObject()
find_frozen(), get_frozen_object(), is_frozen_package() and other functions
related to frozen modules use Unicode strings instead of byte strings.
2011-03-20 01:50:21 +01:00
Victor Stinner 9464d61cba Issue #3080: PyImport_Cleanup() uses Unicode
Replace strcmp() by PyUnicode_CompareWithASCIIString()
2011-03-07 17:08:21 +01:00
Victor Stinner f6b563af2d Issue #3080: zipimport has a full unicode suppport
- Use Unicode for module paths and names, self->archive and self->prefix
 - Format module names and paths use %R instead of '%U' to escape surrogate
   characters (PEP 383)
 - Use PyImport_ExecCodeModuleObject() instead of PyImport_ExecCodeModuleEx()
 - Use PyImport_AddModuleObject() instead of PyImport_AddModule()
2011-03-14 20:46:50 -04:00
Victor Stinner 942003ccf9 import.c: replace tab by spaces 2011-03-07 16:57:48 +01:00
Senthil Kumaran dab6780c9e merge from 3.2 2011-03-20 10:45:41 +08:00
R David Murray fef67eefd3 Merge #7198 doc fix. 2011-03-19 22:32:39 -04:00
R David Murray e33e69f9b7 Merge #7198 doc fix. 2011-03-19 22:31:10 -04:00
R David Murray 9188702a75 #7198: add newlines='' to csv.writer docs. 2011-03-19 22:30:14 -04:00
Brian Quinlan 72bd8b7bba Branch merge 2011-03-20 13:29:57 +11:00
Brian Quinlan 142fad4b6b Use WeakSets rather than manual pruning to prevent unbounded growth of dead thread references. 2011-03-20 13:11:11 +11:00
Senthil Kumaran d0654ef289 Merge NEWS entry edit. 2011-03-20 09:27:25 +08:00
Senthil Kumaran 833d91204f closes issue11609. buildbot related failures in the test_urllibnet. 2011-03-20 06:13:36 +08:00
Antoine Pitrou 89ba56d5fb Skip crasher tests 2011-03-19 19:54:01 +01:00
Skip Montanaro c9b49f8759 untab 2011-03-19 13:07:10 -05:00
Skip Montanaro b7d1aebb66 *sigh* - i don't like this workflow at all 2011-03-19 13:05:58 -05:00
Skip Montanaro 482e7e061b merge from upstream 2011-03-19 13:03:33 -05:00
Antoine Pitrou 1679f4daa1 Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:06:22 +01:00
Skip Montanaro b61efd0a68 commit merge 2011-03-19 09:15:28 -05:00
Skip Montanaro b40dea7499 Mention RFC 4180. Based on input by Tony Wallace in issue 11456. 2011-03-19 09:09:30 -05:00
Senthil Kumaran a4d5b0cb62 Closes issue11563 test_urllibnet is triggering a ResourceWarning. Patch by Jeff McNeil. 2011-03-19 17:47:26 +08:00
Senthil Kumaran f95b4df6d2 merge from 3.2 2011-03-19 17:29:32 +08:00
Ross Lagerwall 9ad63e0914 Fix refleak introduced by #10812. 2011-03-19 09:11:14 +02:00
Nick Coghlan 952c0782b3 Last attempt to get compiler recursion crasher to fail reliably across platforms before giving up and skipping it as unreliably platform dependent 2011-03-19 15:22:59 +10:00
Raymond Hettinger 7e4c168385 Minor optimization -- factor a constant expression out of the inner-loop. 2011-03-18 15:09:10 -07:00
briancurtin f84f3c3d2d Fix #11596. When bz2 isn't available, skip test_bz2_ext_fake. 2011-03-18 13:03:17 -05:00
Raymond Hettinger 6827294e05 Speed-up search for hidden names by using a set instead of a tuple. 2011-03-18 02:22:15 -07:00
Ross Lagerwall 4d076da4de Issue #11592: Fix compilation warnings in os module. 2011-03-18 06:56:53 +02:00
Antoine Pitrou 8d2813442e Merge NEWS fix 2011-03-17 23:41:25 +01:00
Antoine Pitrou 6826d2966b Merge 2011-03-17 23:37:06 +01:00
Antoine Pitrou fee6684f3c Issue #5421: merge fix 2011-03-17 22:46:17 +01:00
Ross Lagerwall 8e74967855 Issue #10812: Revert os.lseek change. 2011-03-17 21:54:07 +02:00
Ross Lagerwall 7807c3545d Issue #10812: Add some extra posix functions to the os module. 2011-03-17 20:20:30 +02:00
Brett Cannon eb8cee8383 merge 2011-03-17 11:16:38 -07:00
Michael Foord e9ff2ef204 Closes issue 10979. unittest buffering now works with class and module setup and teardown 2011-03-17 13:58:22 -04:00
Nick Coghlan f694a409aa Give more info in verbose mode when checking crashers, and stress the stack even more in the compiler crasher 2011-03-17 11:04:34 -04:00
Senthil Kumaran 589e8d9b12 Recording the merge which got missed in 3.1 2011-03-17 17:06:27 +08:00
Senthil Kumaran 1da1906871 Merge from 3.2 2011-03-17 16:48:26 +08:00
Nick Coghlan bab07a652d Tidy up merge with remote 2011-03-16 22:11:09 -04:00
Nick Coghlan c9dacc27cf Dummy merge 2011-03-16 22:06:35 -04:00
Nick Coghlan ce4ee1f34d Merge from 3.2 2011-03-16 21:48:30 -04:00
R David Murray 0564958bdd Merge #11243 fix from 3.2. 2011-03-16 21:12:33 -04:00
Nick Coghlan 49cb9593a0 Add missing NEWS item for previous commit 2011-03-16 20:23:58 -04:00
Brett Cannon ecc2db5152 Remove an overly specific exception message test. 2011-03-16 20:11:52 -04:00
Nick Coghlan c95ec3d560 Exercise crashers to ensure they are still covering known error cases 2011-03-16 19:52:14 -04:00
R David Murray cfec350e63 Merge #11401 fix from 3.2. 2011-03-16 18:28:07 -04:00
R David Murray 832ebeb9d4 Merge #11578 test from 3.2. 2011-03-16 17:33:24 -04:00