Ezio Melotti
2d1e88a4d1
Backport from 3.2 several improvements and fixes for unittest.rst.
2011-03-10 12:16:35 +02:00
Antoine Pitrou
35db8a80c1
Merge fix for issue #11450
2011-03-09 12:47:20 +01:00
Antoine Pitrou
7983d33f54
Issue #11450 : Don't truncate hg version info in Py_GetBuildInfo() when
...
there are many tags (e.g. when using mq). Patch by Nadeem Vawda.
2011-03-09 12:34:41 +01:00
Ned Deily
2d12f96658
Issue #5622 : merge fix from 3.1.
2011-03-09 02:42:23 -08:00
Ned Deily
d2853180df
Issue #5622 : Fix curses.wrapper to raise correct exception if curses
...
initialization fails.
2011-03-09 02:36:51 -08:00
Vinay Sajip
d9512e9ac1
Issue #11444 : Merge fix from 3.1.
2011-03-08 22:53:21 +00:00
Vinay Sajip
c8ab6eeb01
Issue #11444 : Lock handlers while flushing/closing during shutdown.
2011-03-08 22:49:57 +00:00
Victor Stinner
4d6c1c476a
Issue #3080 : _PyWin_FindRegisteredModule() returns the path as Unicode
...
* Document the function
* Use RegQueryValueW() instead of RegQueryValueA()
* Use _Py_fopen() instead of fopen()
* Allocate registry key on the heap, not on the stack, and handle memory
allocation failure
* Handle Python exception in find_module()
2011-03-08 23:49:04 +01:00
Ezio Melotti
3d995843ce
#11298 : Improve the unittest discovery explanation.
2011-03-08 16:17:35 +02:00
Benjamin Peterson
3b59f332b6
merge 3.1
2011-03-07 22:51:59 -06:00
Benjamin Peterson
49d7149e6d
transform izip_longest #11424
2011-03-07 22:50:37 -06:00
Vinay Sajip
9f9991c2f5
#Issue 11424: added equivalent fixes for dictConfig.
2011-03-07 18:02:57 +00:00
Vinay Sajip
e783553daa
#Issue 11424: merged fix from 3.1.
2011-03-07 17:59:50 +00:00
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