R David Murray
b3e8384cbe
#17064 : fix sporadic permission errors in test_mailbox on windows.
...
Patch by Jeremy Kloth.
2013-02-11 10:04:26 -05:00
Michael Foord
f78f5b11f6
Correction to issue 17052 fix
2013-02-11 13:20:52 +00:00
Michael Foord
8fd396bd22
Issue 17502: unittest discovery should use self.testLoader
2013-02-11 00:04:24 +00:00
Serhiy Storchaka
6c22b1d760
Issue #17141 : random.vonmisesvariate() no more hangs for large kappas.
2013-02-10 19:28:56 +02:00
Serhiy Storchaka
5e61f14c6d
Issue #12983 : Bytes literals with invalid \x escape now raise a SyntaxError
...
and a full traceback including line number.
2013-02-10 17:36:00 +02:00
Mark Dickinson
be5f91957f
Issue #17149 : Fix random.vonmisesvariate to always return results in [0, 2*math.pi].
2013-02-10 14:16:10 +00:00
Serhiy Storchaka
497cee456c
Fix a test for SpooledTemporaryFile (added in issue #10355 ).
2013-02-10 14:43:46 +02:00
Serhiy Storchaka
88efc52d74
Issue #1470548 : XMLGenerator now works with binary output streams.
2013-02-10 14:29:52 +02:00
Serhiy Storchaka
df32691e6f
Issue #6975 : os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
2013-02-10 12:22:07 +02:00
Antoine Pitrou
4de7457009
Issue #17173 : Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter.
...
I've left a couple of them in: zlib (third-party lib), getaddrinfo.c
(doesn't include Python.h, and probably obsolete), _sre.c (legitimate
use for the re.LOCALE flag).
2013-02-09 23:11:27 +01:00
Serhiy Storchaka
b6ed17344b
Issue #17156 : pygettext.py now uses an encoding of source file and correctly
...
writes and escapes non-ascii characters.
2013-02-09 22:37:22 +02:00
R David Murray
041d553319
#17166 : fix _dummy_thread import example.
...
Report and patch by Berker Peksag.
2013-02-09 13:23:46 -05:00
R David Murray
ceaa8b1d75
#16564 : Fix regression in use of encoders.encode_noop with binary data.
2013-02-09 13:02:58 -05:00
Christian Heimes
d489c7a0a3
add proper dependencies on expat headers and sources
2013-02-09 17:02:06 +01:00
Serhiy Storchaka
bbbbe8eb60
Issue #10355 : SpooledTemporaryFile properties now work for unrolled files.
...
Remove obsoleted xreadline method.
2013-02-09 12:21:14 +02:00
Serhiy Storchaka
4b109cb4a8
Minor fix of previous commit.
2013-02-09 11:51:21 +02:00
Serhiy Storchaka
4f169a7a4d
Issue #17147 . Mention BytesIO in SpooledTemporaryFile documentation.
2013-02-09 11:46:42 +02:00
Serhiy Storchaka
01ad622a2c
Issue #16686 : Fixed a lot of bugs in audioop module.
...
* avgpp() and maxpp() no more crash on empty and 1-samples input fragment. They now work when peak-peak values are greater INT_MAX.
* ratecv() no more crashes on empty input fragment.
* Fixed an integer overflow in ratecv().
* Fixed an integer overflow in add() and bias() for 32-bit samples.
* reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples.
* max() and rms() no more returns negative result for 32-bit sample -0x80000000.
* minmax() now returns correct max value for 32-bit sample -0x80000000.
* avg(), mul(), tomono() and tostereo() now round negative result down and can return 32-bit sample -0x80000000.
* add() now can return 32-bit sample -0x80000000.
2013-02-09 11:10:53 +02:00
Ned Deily
a48b61f8f2
Issue #17161 : make install now also installs a python3 man page.
2013-02-08 22:53:51 -08:00
Serhiy Storchaka
1273dfc39c
Fix accidental non-breakable spaces (U+00A0).
2013-02-08 11:22:05 +02:00
Gregory P. Smith
f1319d81f7
Issue #6972 : keep the warning about untrusted extraction and mention
...
the version it was improved in.
2013-02-07 22:15:04 -08:00
Senthil Kumaran
d03f467dc2
Addressing the review comment made by Terry Reedy
2013-02-07 21:43:21 -08:00
Serhiy Storchaka
3cf96ac248
Issue #17073 : Fix some integer overflows in sqlite3 module.
2013-02-07 17:01:47 +02:00
Serhiy Storchaka
3fd4ab356d
Issue #17043 : The unicode-internal decoder no longer read past the end of
...
input buffer.
2013-02-07 16:23:21 +02:00
Serhiy Storchaka
df4bb46457
Issue #17118 : Add new tests for testing Python-Tcl interaction.
2013-02-07 15:40:03 +02:00
Serhiy Storchaka
8995300298
Issue #17114 : IDLE now uses non-strict config parser.
2013-02-07 15:24:36 +02:00
Serhiy Storchaka
c2255ac153
Fix test_from_dll* in test_returnfuncptrs.py.
2013-02-07 14:58:44 +02:00
Senthil Kumaran
b98e96a23f
Fix Issue17069: Document getcode method in urllib.request.rst
2013-02-07 00:47:01 -08:00
R David Murray
1acaf0bce2
#17142 : fix apparent copy and paste error in test_all.
2013-02-06 09:56:19 -05:00
Serhiy Storchaka
b5b9c8cd40
Issue #16723 : httplib.HTTPResponse no longer marked closed when the connection
...
is automatically closed.
2013-02-06 10:31:57 +02:00
R David Murray
f581b37200
#16948 : Fix quopri encoding of non-latin1 character sets.
2013-02-05 10:49:49 -05:00
Serhiy Storchaka
43536e9e37
Issue #17089 : Expat parser now correctly works with string input not only when
...
an internal XML encoding is UTF-8 or US-ASCII. It now accepts bytes and
strings larger than 2 GiB.
2013-02-04 18:26:15 +02:00
R David Murray
95b7110a11
#17091 : update docstring for _thread.Lock.acquire.
...
The main docs were fixed to remove mention of None long ago,
but the docstring was not. Reported by Armin Rigo, patch
by Ian Cordasco.
2013-02-04 10:15:58 -05:00
Serhiy Storchaka
db1ba4eeac
Fix test_tools hangs on Windows. Patch by Jeremy Kloth.
2013-02-04 16:55:59 +02:00
Serhiy Storchaka
b3f194d109
Issue #16903 : Popen.communicate() on Unix now accepts strings when
...
universal_newlines is true as on Windows.
2013-02-04 16:47:39 +02:00
Serhiy Storchaka
0b4591e0eb
Do not raise self.skipTest().
...
skipTest() already raises an exception.
2013-02-04 15:45:00 +02:00
Serhiy Storchaka
a66b46aad6
Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.
2013-02-04 15:19:37 +02:00
Serhiy Storchaka
19c4e0df29
Issue #6083 : Fix multiple segmentation faults occured when PyArg_ParseTuple
...
parses nested mutating sequence.
2013-02-04 12:47:24 +02:00
Gregory P. Smith
64359d203e
Update the embedded copy of the expat XML parser to 2.1.0. It brings
...
with it a vareity of bug fixes, both security and behavior. See
http://www.libexpat.org/ for the list.
NOTE: I already backported the expat hash randomization fix in March.
Fixes issue #14340 .
2012-07-14 14:12:35 -07:00
Serhiy Storchaka
94dc6736bd
Issue #17106 : Fix a segmentation fault in io.TextIOWrapper when an underlying
...
stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).
2013-02-03 17:03:31 +02:00
Ned Deily
028915e6ea
Issue #16698 : Skip posix test_getgroups when built with OS X
...
deployment target prior to 10.6.
2013-02-02 15:08:52 -08:00
Antoine Pitrou
de59565f29
Simplify code in HTTPResponse.read()
2013-02-02 23:08:51 +01:00
Antoine Pitrou
beec61ae4e
Issue #15633 : httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length.
2013-02-02 22:49:34 +01:00
Nadeem Vawda
6375257188
Back out fix for issue #13886 ; it introduced a new bug in interactive readline use.
2013-02-02 20:05:11 +01:00
Serhiy Storchaka
e5e6444497
Fix the test for issue #6972 .
...
Remove trailing dots on Windows.
2013-02-02 19:50:59 +02:00
Serhiy Storchaka
f458a03617
Issue #17034 : Use Py_CLEAR() in bytesobject.c.
2013-02-02 18:45:22 +02:00
Serhiy Storchaka
44b8cbfcba
Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972 .
2013-02-02 13:27:30 +02:00
Serhiy Storchaka
1a4ed4ce18
Fix tests for issue #11159 .
2013-02-02 12:17:05 +02:00
Serhiy Storchaka
5a9c1a753f
Merge heads
2013-02-02 10:37:36 +02:00
Serhiy Storchaka
d52023968a
Issue #11159 : Add tests for testing SAX parser support of non-ascii file names.
2013-02-02 10:31:17 +02:00