Serhiy Storchaka
e23b2d06c7
Issue #18919 : If the close() method of a writer in the sunau or wave module
...
failed, second invocation of close() and destructor no more raise an
exception.
2013-10-12 21:36:10 +03:00
Georg Brandl
7c11e52f7e
merge with 3.3
2013-10-12 20:01:14 +02:00
Georg Brandl
5c01d99c12
Introduce support for documenting which C API elements are not part of the stable/limited API.
2013-10-12 19:54:30 +02:00
Georg Brandl
b9e8712a54
merge with 3.3
2013-10-12 19:13:38 +02:00
Georg Brandl
5db7c54f96
Closes #13915 : update tutorial with respect to .pyc files (__pycache__ / PEP 3147).
...
Initial wording proposed by John Roth.
2013-10-12 19:13:23 +02:00
Georg Brandl
a636c8e150
merge with 3.3
2013-10-12 19:03:47 +02:00
Georg Brandl
ae30a813a9
Closes #13833 : document PyStructSequence C-API functions.
2013-10-12 19:03:43 +02:00
Georg Brandl
3cb26b77b6
merge with 3.3
2013-10-12 18:41:23 +02:00
Georg Brandl
c96ef1f0ed
Closes #13026 : fix documentation of MAKE_FUNCTION for 3.x.
2013-10-12 18:41:18 +02:00
Georg Brandl
32b2c62db4
merge with 3.3
2013-10-12 18:19:48 +02:00
Georg Brandl
57f936ecde
Closes #19179 : make table of XML vulnerabilities clearer by using "everyday" booleans and explaining the table beforehand.
2013-10-12 18:19:33 +02:00
Georg Brandl
42840f017d
merge with 3.3
2013-10-12 18:15:21 +02:00
Georg Brandl
d8ede4fddd
Closes #13203 : add a FAQ section about seemingly duplicate id()s.
2013-10-12 18:14:25 +02:00
Serhiy Storchaka
4ae423ded4
Issue #19131 : The aifc module now correctly reads and writes sampwidth of
...
compressed streams.
2013-10-12 18:23:21 +03:00
Serhiy Storchaka
4b5325963b
Issue #19131 : The aifc module now correctly reads and writes sampwidth of
...
compressed streams.
2013-10-12 18:21:33 +03:00
Ezio Melotti
34808e2237
#19221 : update whatsnew entry about UCD version.
2013-10-12 16:36:13 +03:00
Christian Heimes
f403f50378
Issue #19205 : _osx_support uses the re module all over the place. Omit the test for nw.
2013-10-12 15:08:42 +02:00
Antoine Pitrou
4aa8f8e225
Fix wrong exception in _bootlocale (apparently this error condition is never triggered)
2013-10-12 15:00:44 +02:00
Victor Stinner
e8785ff82a
Close #18754 : Run Python child processes in isolated more in the test suite.
2013-10-12 14:44:01 +02:00
Georg Brandl
c2228c8995
Markup fix.
2013-10-12 13:24:55 +02:00
Christian Heimes
179a3dbc9e
Issue #19205 : add debugging output for failing test on Snow Leopard
2013-10-12 12:32:21 +02:00
Christian Heimes
cbf6e95de5
merge
2013-10-12 01:41:49 +02:00
Christian Heimes
c1df2729ea
Issue #19209 : fix structseq test
2013-10-12 01:38:52 +02:00
Victor Stinner
370cb25307
test_os: report tests as skipped when os.statvfs() fails with ENOSYS
2013-10-12 01:33:54 +02:00
Christian Heimes
2582762b1b
Issue #19209 : Remove import of copyreg from the os module to speed up
...
interpreter startup. stat_result and statvfs_result are now hard-coded to
reside in the os module.
The patch is based on Victor Stinner's patch.
2013-10-12 01:27:08 +02:00
Christian Heimes
1a5fb4e3c1
Also test that the locale module isn't loaded during normal startup
2013-10-12 01:00:51 +02:00
Christian Heimes
bfc3a9a5c3
Issue #19205 fix 406529adf156
...
I forgot to hit save.
2013-10-12 00:28:17 +02:00
Christian Heimes
8c9cd5a3d4
Issue #19205 : Don't import the 're' module in site and sysconfig module to
...
to speed up interpreter start.
2013-10-12 00:24:55 +02:00
Antoine Pitrou
fd4722cacf
Issue #9548 : Add a minimal "_bootlocale" module that is imported by the _io module instead of the full locale module.
2013-10-12 00:13:50 +02:00
Antoine Pitrou
73abc527eb
Fix expected checksum for new unicodedata (after full rebuild)
2013-10-11 21:40:55 +02:00
R David Murray
aaf17b33a5
#19192 : Give up on time.xmlrpc.com as an xmlrpc network test.
...
time.xmlrpc.com has come and gone over the years, and has been gone again for
a while. The test did test one thing that the current xmlrpc tests don't: the
use of multiple levels of attribute names in the call. So in addition to
removing the network test, we add a test in xmlrpc of dotted name access.
There should also be a test for when dotted name access is disallowed, but
that requires more extensive test harness refactoring, and in any case was not
tested by the network test we are deleting, since it is a server-side setting.
This is a slightly simplified version of a patch by Vajrasky Kok.
2013-10-11 12:09:51 -04:00
Raymond Hettinger
1254b407ac
Rename contextlib.ignored() to contextlib.ignore().
2013-10-10 22:39:39 -07:00
Benjamin Peterson
a76795bf53
merge 3.3
2013-10-10 20:22:39 -04:00
Benjamin Peterson
8aa7b89983
replace hardcoded version
2013-10-10 20:22:10 -04:00
Benjamin Peterson
f0a1b87560
merge 3.3
2013-10-10 20:17:29 -04:00
Benjamin Peterson
577dd61ff2
make sure the docstring is never out of date wrt unicode data version
2013-10-10 20:16:25 -04:00
Benjamin Peterson
4dfa3d5d63
merge heads
2013-10-10 17:40:48 -04:00
Benjamin Peterson
d3c43a993c
merge 3.3 ( #19220 )
2013-10-10 17:40:30 -04:00
Benjamin Peterson
a4cf1c87d0
remove url from docstring ( closes #19220 )
2013-10-10 17:39:56 -04:00
R David Murray
d57937656d
#18764 : p(rint) -> p in pdb docs.
...
Missed changing the doc for the command itself, patch for that also by Connor
Osborn.
2013-10-10 17:33:43 -04:00
Benjamin Peterson
94d08d908b
upgrade unicode db to 6.3.0 ( closes #19221 )
2013-10-10 17:24:45 -04:00
R David Murray
78d692f98e
18764: remove the problematic 'print' alias for the PDB 'p' command.
...
So that it no longer shadows the print function.
Patch by Connor Osborn, doc and test changes by R. David Murray.
2013-10-10 17:23:26 -04:00
Victor Stinner
2fe9bac4dc
Close #16742 : Fix misuse of memory allocations in PyOS_Readline()
...
The GIL must be held to call PyMem_Malloc(), whereas PyOS_Readline() releases
the GIL to read input.
The result of the C callback PyOS_ReadlineFunctionPointer must now be a string
allocated by PyMem_RawMalloc() or PyMem_RawRealloc() (or NULL if an error
occurred), instead of a string allocated by PyMem_Malloc() or PyMem_Realloc().
Fixing this issue was required to setup a hook on PyMem_Malloc(), for example
using the tracemalloc module.
PyOS_Readline() copies the result of PyOS_ReadlineFunctionPointer() into a new
buffer allocated by PyMem_Malloc(). So the public API of PyOS_Readline() does
not change.
2013-10-10 16:18:20 +02:00
Victor Stinner
6cf185dc06
Issue #18874 : _PyObject_Malloc/Realloc/Free() now falls back on
...
_PyMem_RawMalloc/Realloc/Free, instead of _PyMem_Malloc/Realloc/Free. So it
becomes possible to use the fast pymalloc allocator for the PYMEM_DOMAIN_MEM
domain (PyMem_Malloc/Realloc/Free functions).
2013-10-10 15:58:42 +02:00
Victor Stinner
7c74de4d00
Issue #18874 : PyCode_New() now ensures that the filename is a ready Unicode
...
string. This change does nothing is most cases, but it is useful on Windows in
some cases.
2013-10-10 15:55:14 +02:00
Raymond Hettinger
088cbf2d39
Issue #15805 : Add contextlib.redirect_stdout()
2013-10-10 00:46:57 -07:00
Raymond Hettinger
5ed3bc9adb
merge
2013-10-09 22:43:30 -07:00
Raymond Hettinger
8ee7708c7f
Issue #19005 : Fix documentation for PyIter_Next().
2013-10-09 22:42:46 -07:00
Tim Peters
a61a1cb084
Repair format of NEWS entry.
2013-10-09 13:29:42 -05:00
Tim Peters
3415fa3c6e
Repair format of NEWS entry.
2013-10-09 13:27:36 -05:00