Ezio Melotti
6cc46d35f1
#17079 : merge with 3.3.
2013-03-01 10:56:35 +02:00
Ezio Melotti
520378f81d
#17079 : test_ctypes now works with unittest test discovery. Patch by Zachary Ware.
2013-03-01 10:55:17 +02:00
Chris Jerdonek
25eed49a70
Issue #16406 : Combine the doc pages for uploading and registering to PyPI.
2013-02-27 10:04:23 -08:00
Chris Jerdonek
79333db79a
Issue #16406 : Combine the doc pages for uploading and registering to PyPI.
2013-02-27 10:03:26 -08:00
Chris Jerdonek
13fb979638
Issue #16406 : Combine the doc pages for uploading and registering to PyPI.
2013-02-27 10:00:20 -08:00
Chris Jerdonek
517e925614
Issue #17283 : Share code between __main__.py and regrtest.py in Lib/test.
...
This commit also removes TESTCWD from regrtest.py's global namespace.
2013-02-27 09:02:53 -08:00
R David Murray
1cb0cb2fcd
#17296 : backport fix for issue 1692335, naive exception pickling.
2013-02-27 08:57:09 -05:00
Ezio Melotti
e1569e550c
#17304 : merge with 3.3.
2013-02-27 10:09:46 +02:00
Ezio Melotti
e601fb0691
#17304 : test_hash now works with unittest test discovery. Patch by Zachary Ware.
2013-02-27 10:09:12 +02:00
Ezio Melotti
28050255cc
#17303 : merge with 3.3.
2013-02-27 10:01:06 +02:00
Ezio Melotti
1ed6be3793
#17303 : test_future* now work with unittest test discovery. Patch by Zachary Ware.
2013-02-27 10:00:03 +02:00
Richard Oudkerk
0320025f17
Merge
2013-02-26 13:11:11 +00:00
Richard Oudkerk
5b8a3242c4
Merge
2013-02-26 13:00:15 +00:00
Richard Oudkerk
7aaa1ef858
Issue #17018 : Make Process.join() retry if os.waitpid() fails with EINTR.
2013-02-26 12:39:57 +00:00
Victor Stinner
25c3053a4f
(Merge 3.3) Issue #17223 : array module: Fix a crasher when converting an array
...
containing invalid characters (outside range [U+0000; U+10ffff]) to Unicode:
repr(array), str(array) and array.tounicode(). Patch written by Manuel Jacob.
2013-02-26 00:27:56 +01:00
Victor Stinner
29ec595c6a
Issue #17223 : array module: Fix a crasher when converting an array containing
...
invalid characters (outside range [U+0000; U+10ffff]) to Unicode: repr(array),
str(array) and array.tounicode(). Patch written by Manuel Jacob.
2013-02-26 00:27:38 +01:00
Victor Stinner
36025478bf
(Merge 3.3) Issue #17223 : Fix PyUnicode_FromUnicode() for string of 1 character
...
outside the range U+0000-U+10ffff.
2013-02-26 00:16:57 +01:00
Victor Stinner
d21b58c05d
Issue #17223 : Fix PyUnicode_FromUnicode() for string of 1 character outside
...
the range U+0000-U+10ffff.
2013-02-26 00:15:54 +01:00
Giampaolo Rodola'
fca677a26a
Fix #17197 : profile/cProfile modules refactored so that code of run() and runctx() utility functions is not duplicated in both modules.
2013-02-25 11:36:40 +01:00
R David Murray
d7c59e101f
Merge #17275 : Fix class name in init errors in C bufferedio classes.
...
This fixes an apparent copy-and-paste error.
Patch by Manuel Jacob.
2013-02-23 22:21:48 -05:00
R David Murray
9f10f56d13
Merge #17275 : Fix class name in init errors in C bufferedio classes.
...
This fixes an apparent copy-and-paste error.
Patch by Manuel Jacob.
2013-02-23 22:07:55 -05:00
R David Murray
67bfe80758
#17275 : Fix class name in init errors in C bufferedio classes.
...
This fixes an apparent copy-and-paste error.
Patch by Manuel Jacob.
2013-02-23 21:51:05 -05:00
Petri Lehtinen
0562379a7c
Revert "Issue #16121 : Fix line number accounting in shlex"
2013-02-23 23:13:03 +01:00
Petri Lehtinen
e766c742c1
Revert "Issue #16121 : Fix line number accounting in shlex"
2013-02-23 23:12:35 +01:00
Petri Lehtinen
0362b54fd9
Revert "Issue #16121 : Fix line number accounting in shlex"
2013-02-23 23:12:03 +01:00
Petri Lehtinen
978b4d6d29
Issue #16121 : Fix line number accounting in shlex
2013-02-23 22:11:06 +01:00
Petri Lehtinen
6d61eaa0d0
Issue #16121 : Fix line number accounting in shlex
2013-02-23 22:09:51 +01:00
Petri Lehtinen
7a05113ccf
Issue #16121 : Fix line number accounting in shlex
2013-02-23 22:08:07 +01:00
Petri Lehtinen
3ef11a98c6
Issue #16403 : Document how distutils uses the maintainer field in PKG-INFO
2013-02-23 21:10:18 +01:00
Petri Lehtinen
7de72ad8a0
Issue #16403 : Document how distutils uses the maintainer field in PKG-INFO
2013-02-23 21:09:12 +01:00
Petri Lehtinen
905b648754
Issue #16403 : Document how distutils uses the maintainer field in PKG-INFO
2013-02-23 21:06:16 +01:00
Petri Lehtinen
914ec6f718
Issue #16695 : Document how glob handles filenames starting with a dot
2013-02-23 19:56:15 +01:00
Petri Lehtinen
e2c114733b
Issue #16695 : Document how glob handles filenames starting with a dot
2013-02-23 19:55:36 +01:00
Petri Lehtinen
ee4a20bad6
Issue #16695 : Document how glob handles filenames starting with a dot
2013-02-23 19:53:27 +01:00
Petri Lehtinen
827b36bed8
Issue #8890 : Stop advertising an insecure use of /tmp in docs
2013-02-23 19:37:01 +01:00
Petri Lehtinen
3c75a48c86
Issue #8890 : Stop advertising an insecure use of /tmp in docs
2013-02-23 19:34:44 +01:00
Petri Lehtinen
9f74c6cf7d
Issue #8890 : Stop advertising an insecure use of /tmp in docs
2013-02-23 19:27:49 +01:00
Petri Lehtinen
e460f26b25
Issue #14720 : sqlite3: Convert datetime microseconds correctly
2013-02-23 19:10:29 +01:00
Petri Lehtinen
f484efdb60
Issue #14720 : sqlite3: Convert datetime microseconds correctly
2013-02-23 19:09:45 +01:00
Petri Lehtinen
8b945148e3
Issue #14720 : sqlite3: Convert datetime microseconds correctly
...
Patch by Lowe Thiderman
2013-02-23 19:05:56 +01:00
Petri Lehtinen
20054477f4
Issue #15132 : Allow a list for the defaultTest argument of unittest.TestProgram
...
Patch by Jyrki Pulliainen
2013-02-23 18:55:49 +01:00
Petri Lehtinen
d784e53d96
Issue #5033 : Fix building of the sqlite3 extension module
2013-02-23 17:24:44 +01:00
Petri Lehtinen
d2132144a4
Issue #5033 : Fix building of the sqlite3 extension module
2013-02-23 17:24:00 +01:00
Petri Lehtinen
ed909bcbdd
Issue #5033 : Fix building of the sqlite3 extension module
2013-02-23 17:16:20 +01:00
Ezio Melotti
8a909368b9
#17249 : merge with 3.3.
2013-02-23 05:59:37 +02:00
Ezio Melotti
35246bd5b1
#17249 : merge with 3.2.
2013-02-23 05:58:38 +02:00
Ezio Melotti
29267c81ce
#17249 : convert a test in test_capi to use unittest and reap threads.
2013-02-23 05:52:46 +02:00
Chris Jerdonek
e787c9c981
Issue #17203 : add long option names to unittest discovery docs.
2013-02-21 19:02:38 -08:00
Chris Jerdonek
8c0bbfd101
Issue #17203 : add long option names to unittest discovery docs.
2013-02-21 19:00:06 -08:00
Chris Jerdonek
d69ad55220
Issue #17203 : add long option names to unittest discovery docs.
2013-02-21 18:54:43 -08:00
Ezio Melotti
8a268b985f
#17255 : merge with 3.3.
2013-02-21 23:17:34 +02:00
Ezio Melotti
600b71167e
#17255 : merge with 3.2.
2013-02-21 23:17:08 +02:00
Ezio Melotti
0f4377c100
#17255 : test short-circuiting behavior of any()/all(). Patch by Wim Glenn.
2013-02-21 23:15:40 +02:00
Serhiy Storchaka
920007ad76
Issue #17225 : JSON decoder now counts columns in the first line starting
...
with 1, as in other lines.
2013-02-21 20:26:52 +02:00
Serhiy Storchaka
ed891c1517
Issue #17225 : JSON decoder now counts columns in the first line starting
...
with 1, as in other lines.
2013-02-21 20:21:21 +02:00
Serhiy Storchaka
c510a048ba
Issue #17225 : JSON decoder now counts columns in the first line starting
...
with 1, as in other lines.
2013-02-21 20:19:16 +02:00
Benjamin Peterson
abe40c2528
merge 3.3 ( #17228 )
2013-02-20 16:56:06 -05:00
Benjamin Peterson
2dba1ee3e6
fix building without pymalloc ( closes #17228 )
2013-02-20 16:54:30 -05:00
R David Murray
87632f1a9e
#6623 : Add explicit deprecation warning for ftplib.Netrc.
2013-02-19 18:32:28 -05:00
R David Murray
8aa164b395
Merge: #13700 : Make imap.authenticate with authobject work.
...
This fixes a bytes/string confusion in the API which prevented
custom authobjects from working at all.
Original patch by Erno Tukia.
2013-02-19 12:20:32 -05:00
R David Murray
6cd6f01556
Merge: #13700 : Make imap.authenticate with authobject work.
...
This fixes a bytes/string confusion in the API which prevented
custom authobjects from working at all.
Original patch by Erno Tukia.
2013-02-19 12:19:13 -05:00
R David Murray
774a39f26e
#13700 : Make imap.authenticate with authobject work.
...
This fixes a bytes/string confusion in the API which prevented
custom authobjects from working at all.
Original patch by Erno Tukia.
2013-02-19 12:17:31 -05:00
R David Murray
aaf16b9cfb
Merge: #7963 : fix error message when 'object' called with arguments.
2013-02-18 21:44:03 -05:00
R David Murray
702a5dc1ed
#7963 : fix error message when 'object' called with arguments.
2013-02-18 21:39:18 -05:00
R David Murray
6b30759022
#7963 : fix error message when 'object' called with arguments.
...
Patch by Alexander Belopolsky.
2013-02-18 21:20:08 -05:00
Serhiy Storchaka
2cca36ed3c
Issue #13153 : Tkinter functions now raise TclError instead of ValueError when
...
a string argument contains non-BMP character.
2013-02-18 13:03:07 +02:00
Serhiy Storchaka
df4aa642a5
Issue #13153 : Tkinter functions now raise TclError instead of ValueError when
...
a string argument contains non-BMP character.
2013-02-18 13:02:41 +02:00
Serhiy Storchaka
59f5dee3d6
Issue #13153 : Tkinter functions now raise TclError instead of ValueError when
...
a string argument contains non-BMP character.
2013-02-18 13:01:52 +02:00
Eric Snow
b5c8f92782
Issue #15022 : Add pickle and comparison support to types.SimpleNamespace.
2013-02-16 16:32:39 -07:00
Serhiy Storchaka
e924ddb23e
Issue #9669 : Protect re against infinite loops on zero-width matching in
...
non-greedy repeat. Patch by Matthew Barnett.
2013-02-16 21:25:40 +02:00
Serhiy Storchaka
b0c75a7dec
Issue #9669 : Protect re against infinite loops on zero-width matching in
...
non-greedy repeat. Patch by Matthew Barnett.
2013-02-16 21:25:05 +02:00
Serhiy Storchaka
fa46816915
Issue #9669 : Protect re against infinite loops on zero-width matching in
...
non-greedy repeat. Patch by Matthew Barnett.
2013-02-16 21:23:53 +02:00
Serhiy Storchaka
0e6b7b5cd2
Issue #8745 : Small speed up zipimport on Windows. Patch by Catalin Iacob.
2013-02-16 17:43:45 +02:00
Serhiy Storchaka
165ee9645b
Issue #13169 : The maximal repetition number in a regular expression has been
...
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on
64-bit).
2013-02-16 16:55:54 +02:00
Serhiy Storchaka
a0eb809995
Issue #13169 : The maximal repetition number in a regular expression has been
...
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on
64-bit).
2013-02-16 16:54:33 +02:00
Serhiy Storchaka
70ca0210e8
Issue #13169 : The maximal repetition number in a regular expression has been
...
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on
64-bit).
2013-02-16 16:47:47 +02:00
Ezio Melotti
178e6fef9e
#17178 : merge with 3.3.
2013-02-15 23:38:23 +02:00
Ezio Melotti
293ab9728a
#17178 : merge with 3.2.
2013-02-15 23:38:05 +02:00
Ezio Melotti
b19ed57d8d
#17178 : update any()/all() docstrings to document their behavior with empty iterables. Patch by Ankur Ankan.
2013-02-15 23:35:14 +02:00
Ezio Melotti
10f89329ad
#17143 : merge with 3.3.
2013-02-15 21:22:22 +02:00
Ezio Melotti
23e043fdcd
#17143 : fix a missing import in the trace module. Initial patch by Berker Peksag.
2013-02-15 21:20:50 +02:00
Ezio Melotti
990f69e603
#17163 : merge with 3.3.
2013-02-15 19:19:18 +02:00
Ezio Melotti
3a03d2eaef
#17163 : test_file now works with unittest test discovery. Patch by Zachary Ware.
2013-02-15 19:17:53 +02:00
R David Murray
2940e71add
#15220 : simplify and speed up feedparser's line splitting.
...
Original patch submitted by QNX, modified for clarity by me (mostly comments).
QNX reports a 30% speed up in average email parsing time.
2013-02-13 21:17:13 -05:00
Richard Oudkerk
f0bf84c84b
Merge
2013-02-13 15:25:21 +00:00
Richard Oudkerk
a90b7132b7
Merge
2013-02-13 15:21:23 +00:00
Richard Oudkerk
439bdb1062
Add Misc/NEWS entry for Issue #16743
2013-02-13 15:19:36 +00:00
Serhiy Storchaka
540dcba28b
Issue #16996 : webbrowser module now uses shutil.which() to find a
...
web-browser on the executable search path.
2013-02-13 12:19:40 +02:00
Serhiy Storchaka
0c15b5d897
Issue #5308 : Raise ValueError when marshalling too large object (a sequence
...
with size >= 2**31), instead of producing illegal marshal data.
2013-02-13 12:12:11 +02:00
Serhiy Storchaka
5a1f152d19
Issue #5308 : Raise ValueError when marshalling too large object (a sequence
...
with size >= 2**31), instead of producing illegal marshal data.
2013-02-13 12:11:03 +02:00
Serhiy Storchaka
7e0191170e
Issue #5308 : Raise ValueError when marshalling too large object (a sequence
...
with size >= 2**31), instead of producing illegal marshal data.
2013-02-13 12:08:15 +02:00
Serhiy Storchaka
94cd10fa19
Issue #16800 : tempfile.gettempdir() no longer left temporary files when
...
the disk is full. Original patch by Amir Szekely.
2013-02-13 00:38:48 +02:00
Serhiy Storchaka
ff7fef9601
Issue #16800 : tempfile.gettempdir() no longer left temporary files when
...
the disk is full. Original patch by Amir Szekely.
2013-02-13 00:37:29 +02:00
Serhiy Storchaka
f6b361ec1a
Issue #16800 : tempfile.gettempdir() no longer left temporary files when
...
the disk is full. Original patch by Amir Szekely.
2013-02-13 00:35:30 +02:00
doko@ubuntu.com
38e2a2afbd
- Issue #17192 : Import libffi-3.0.12.
2013-02-12 15:33:16 +01:00
Serhiy Storchaka
e4ad8aacd1
Issue #4591 : Uid and gid values larger than 2**31 are supported now.
2013-02-12 09:24:16 +02:00
R David Murray
64634eb321
Merge: #17171 : fix email.encoders.encode_7or8bit when applied to binary data.
2013-02-11 10:54:22 -05:00
R David Murray
66383b2e0a
Merge: #17171 : fix email.encoders.encode_7or8bit when applied to binary data.
2013-02-11 10:53:35 -05:00
R David Murray
ec317a8985
#17171 : fix email.encoders.encode_7or8bit when applied to binary data.
2013-02-11 10:51:28 -05:00
Michael Foord
890d72d3c9
Merge. Closes issue 17052.
2013-02-11 13:33:00 +00:00
Michael Foord
b71b8ec7b1
Merge
2013-02-11 13:29:58 +00:00
Michael Foord
f78f5b11f6
Correction to issue 17052 fix
2013-02-11 13:20:52 +00:00
Terry Jan Reedy
3420057adb
Closes #17158 : Add 'symbols' to help() welcome message; clarify 'modules spam'
...
messages.
2013-02-11 02:23:13 -05:00
Michael Foord
4e08f786f0
Merge. Closes issue 17052.
2013-02-11 00:28:02 +00:00
Michael Foord
a23a39c07d
Merge
2013-02-11 00:18:07 +00:00
Michael Foord
8fd396bd22
Issue 17502: unittest discovery should use self.testLoader
2013-02-11 00:04:24 +00:00
Serhiy Storchaka
c2d020090b
Issue #4591 : Uid and gid values larger than 2**31 are supported now.
2013-02-10 22:03:08 +02:00
Serhiy Storchaka
7cf5599346
Issue #4591 : Uid and gid values larger than 2**31 are supported now.
2013-02-10 21:56:49 +02:00
Serhiy Storchaka
06e5e730dd
Issue #17141 : random.vonmisesvariate() no more hangs for large kappas.
2013-02-10 19:29:54 +02:00
Serhiy Storchaka
ac99576a8e
Issue #17141 : random.vonmisesvariate() no more hangs for large kappas.
2013-02-10 19:29:20 +02:00
Serhiy Storchaka
6c22b1d760
Issue #17141 : random.vonmisesvariate() no more hangs for large kappas.
2013-02-10 19:28:56 +02:00
Serhiy Storchaka
b8cbba5877
Issue #12983 : Bytes literals with invalid \x escape now raise a SyntaxError
...
and a full traceback including line number.
2013-02-10 17:43:25 +02:00
Serhiy Storchaka
801d955f04
Issue #12983 : Bytes literals with invalid \x escape now raise a SyntaxError
...
and a full traceback including line number.
2013-02-10 17:42:01 +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
Benjamin Peterson
8b466c9932
merge heads
2013-02-10 09:32:22 -05:00
Benjamin Peterson
1ef876cd28
evaluate positional defaults before keyword-only defaults ( closes #16967 )
2013-02-10 09:29:59 -05:00
Mark Dickinson
1b901baee5
Issue #17149 : merge fix from 3.3.
2013-02-10 14:17:20 +00:00
Mark Dickinson
6427358501
Issue #17149 : merge fix from 3.2.
2013-02-10 14:16:56 +00: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
02c2076bd5
Issue #1470548 : XMLGenerator now works with binary output streams.
2013-02-10 14:34:53 +02:00
Serhiy Storchaka
9fef188c9e
Issue #1470548 : XMLGenerator now works with binary output streams.
2013-02-10 14:31:07 +02:00
Serhiy Storchaka
88efc52d74
Issue #1470548 : XMLGenerator now works with binary output streams.
2013-02-10 14:29:52 +02:00
Serhiy Storchaka
f2619236eb
Issue #6975 : os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
2013-02-10 12:24:06 +02:00
Serhiy Storchaka
d83c82440b
Issue #6975 : os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
2013-02-10 12:23:10 +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
902fc8b5a0
Issue #13773 : sqlite3.connect() gets a new `uri` parameter to pass the filename as a URI, allowing to pass custom options.
2013-02-10 00:02:44 +01:00
Antoine Pitrou
8ad5b07ccb
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), mpdecimal (needs to build without Python.h).
2013-02-09 23:16:51 +01:00
Antoine Pitrou
c73c561181
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), mpdecimal (needs to build without Python.h).
2013-02-09 23:14:42 +01: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
151699a202
Issue #17156 : pygettext.py now uses an encoding of source file and correctly
...
writes and escapes non-ascii characters.
2013-02-09 22:38:29 +02:00
Serhiy Storchaka
859cd4723f
Issue #17156 : pygettext.py now uses an encoding of source file and correctly
...
writes and escapes non-ascii characters.
2013-02-09 22:38:12 +02: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
c9b4e60683
Merge: #16564 : Fix regression in use of encoders.encode_noop with binary data.
2013-02-09 13:13:14 -05:00
R David Murray
6cb1d67eb3
Merge: #16564 : Fix regression in use of encoders.encode_noop with binary data.
2013-02-09 13:10:54 -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
Serhiy Storchaka
5d70ccc4a9
Issue #10355 : SpooledTemporaryFile properties now work for unrolled files.
...
Remove obsoleted xreadline method.
2013-02-09 12:22:29 +02:00
Serhiy Storchaka
33182807f8
Issue #10355 : SpooledTemporaryFile properties now work for unrolled files.
...
Remove obsoleted xreadline method.
2013-02-09 12:21:52 +02: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
7611d9a8cf
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:13:46 +02:00
Serhiy Storchaka
8135de80f7
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:12:36 +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
1ce9595e87
Issue #17161 : merge from 3.3
2013-02-08 23:05:10 -08:00
Ned Deily
aa20b000d1
Issue #17161 : make install now also installs a python3 man page.
2013-02-08 23:02:09 -08: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
d1938cdc16
Fix accidental non-breakable spaces (U+00A0).
2013-02-08 11:24:55 +02:00
Serhiy Storchaka
70ea7fa6e5
Fix accidental non-breakable spaces (U+00A0).
2013-02-08 11:24:16 +02:00
Serhiy Storchaka
1273dfc39c
Fix accidental non-breakable spaces (U+00A0).
2013-02-08 11:22:05 +02:00
Victor Stinner
cfd2c1b4cc
(Merge 3.3) Issue #17137 : When an Unicode string is resized, the internal wide
...
character string (wstr) format is now cleared.
2013-02-07 23:17:34 +01:00
Victor Stinner
bbbac2ec34
Issue #17137 : When an Unicode string is resized, the internal wide character
...
string (wstr) format is now cleared.
2013-02-07 23:12:46 +01:00
Serhiy Storchaka
eae3b33316
Issue #17073 : Fix some integer overflows in sqlite3 module.
2013-02-07 17:05:32 +02:00