Commit graph

48150 commits

Author SHA1 Message Date
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
Senthil Kumaran
bec7886e3f Merge from 3.1 2011-03-20 10:45:10 +08:00
Senthil Kumaran
1b407fe658 Issue #11567 - Let's have the DOCTYPE as HTML instead of XHTML. 2011-03-20 10:44:30 +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
799c669283 Add NEWS for Issue #11563. 2011-03-20 09:26:57 +08:00
Senthil Kumaran
833d91204f closes issue11609. buildbot related failures in the test_urllibnet. 2011-03-20 06:13:36 +08:00
Senthil Kumaran
a7f43cc09c branch merge 3.2 2011-03-20 05:33:09 +08:00
Senthil Kumaran
acbaa923b8 Call unfakehttp in order to close connection while opening the connection through a fakehttp object.
Address issue11609 - urllib related buildbots failure.
2011-03-20 05:30:16 +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
Antoine Pitrou
7b98d02302 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:04:13 +01:00
Antoine Pitrou
877766dee8 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:00:37 +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
d24c991f11 Merging it again. 2011-03-19 17:45:40 +08:00
Senthil Kumaran
f95b4df6d2 merge from 3.2 2011-03-19 17:29:32 +08:00
Senthil Kumaran
d91ffcafcb Closes issue11563 - test_urllibnet ResourceWarning. Patch by Jeff McNeil. 2011-03-19 17:25:27 +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
af9be06b3c Issue 7391: Remove questionable and outdated HOWTO document with permission from its author. 2011-03-18 18:22:28 -07: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
e147484666 Oops, wrong issue number in NEWS 2011-03-17 23:40:53 +01:00
Antoine Pitrou
6826d2966b Merge 2011-03-17 23:37:06 +01:00
Antoine Pitrou
819be3406d Add news entry for a791dd7d51f3 2011-03-17 23:36:13 +01:00
Antoine Pitrou
bb6eb857cf Issue #10914: fix bogus memory management in Modules/getpath.c, leading to a possible crash when calling Py_SetPath() 2011-03-17 23:34:33 +01:00
Antoine Pitrou
fee6684f3c Issue #5421: merge fix 2011-03-17 22:46:17 +01:00
Antoine Pitrou
9befeb3743 Issue #5421: merge fix 2011-03-17 22:40:18 +01:00
Antoine Pitrou
5e98141f9f Issue #5421: Fix misleading error message when one of socket.sendto()'s
arguments has the wrong type.  Patch by Nikita Vetoshkin.
2011-03-17 22:38:37 +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