Commit Graph

81751 Commits

Author SHA1 Message Date
Serhiy Storchaka
711e91b283 Issue #16685: Added support for any bytes-like objects in the audioop module.
Removed support for strings.
2013-11-10 21:44:36 +02:00
Jason R. Coombs
9deff8a946 Update Misc/NEWS for Issue #7171 2013-11-10 14:13:44 -05:00
Serhiy Storchaka
74af9d3cc4 Merge heads 2013-11-10 21:05:38 +02:00
Serhiy Storchaka
81895f8ee3 Issue #19261: Added support for writing 24-bit samples in the sunau module. 2013-11-10 21:02:53 +02:00
Jason R. Coombs
72cd8b9eda Merge 2013-11-10 14:02:40 -05:00
Jason R. Coombs
6bdc498734 Normalize whitespace 2013-11-10 14:02:04 -05:00
Andrew Kuchling
a49ccb205f Add news entry for #1097797; whitespace cleanup 2013-11-10 13:47:57 -05:00
Andrew Kuchling
ad8156e9b2 #1097797: Add CP273 codec, and exercise it in the test suite 2013-11-10 13:44:30 -05:00
Andrew Kuchling
6b53296c56 Ignore two constructed directories in Tools/unicode 2013-11-10 13:43:47 -05:00
Jason R. Coombs
8ec784c2df Issue #7171: Update syntax to replace MAX in favor of Py_MAX (matching implementation for Unix). 2013-11-10 13:43:22 -05:00
Serhiy Storchaka
29828a6fa9 Issue #1575020: Fixed support of 24-bit wave files on big-endian platforms. 2013-11-09 23:15:52 +02:00
Serhiy Storchaka
a44372fd0b Issue #1575020: Fixed support of 24-bit wave files on big-endian platforms. 2013-11-09 23:12:06 +02:00
Serhiy Storchaka
35ac05eb4c Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.11 (issue #19085). 2013-11-09 21:17:37 +02:00
Serhiy Storchaka
affb9b255b Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.11 (issue #19085). 2013-11-09 21:16:19 +02:00
Stefan Krah
86e83a0347 Null merge. 2013-11-08 21:08:46 +01:00
Stefan Krah
2199ea96c0 Merge. 2013-11-08 20:37:01 +01:00
Brett Cannon
9e5aba29e2 remove dead import 2013-11-08 14:27:42 -05:00
Brett Cannon
9ea8eda127 Issue #16803: test.test_importlib.source now tests frozen and source code 2013-11-08 14:25:37 -05:00
Stefan Krah
2915933f4f Valgrind: suppress false positive in _PyOS_GetOpt (getopt.c:84) (Invalid read
of size 8: wcscmp (wcscmp.S:464))
2013-11-08 20:18:09 +01:00
Stefan Krah
3a9739016a Valgrind: suppress false positive in _PyOS_GetOpt (getopt.c:84) (Invalid read
of size 8: wcscmp (wcscmp.S:464))
2013-11-08 20:18:09 +01:00
Charles-François Natali
3a4586a9f9 Issue #18923: Update subprocess to use the new selectors module. 2013-11-08 19:56:59 +01:00
Brett Cannon
2ce6c44ae4 Simplify test.test_importlib.__main__ 2013-11-08 13:35:34 -05:00
Brett Cannon
330f71b617 Issue #16803: test.test_importlib.import_ now tests frozen and source code 2013-11-08 13:34:59 -05:00
Stefan Krah
2fdf4e7b9b Move PyErr_NoMemory() closer to the failure. 2013-11-08 18:05:02 +01:00
Stefan Krah
f35b0274f9 Move PyErr_NoMemory() closer to the failure. 2013-11-08 18:05:02 +01:00
Stefan Krah
a0fd1f5a18 Change style to match the surrounding code (no early returns). 2013-11-08 17:48:58 +01:00
Stefan Krah
5ec6be9b50 Change style to match the surrounding code (no early returns). 2013-11-08 17:48:58 +01:00
Brett Cannon
a3c6963467 Issue #16803: test.test_importlib.frozen now runs both frozen and source code 2013-11-08 11:10:41 -05:00
Victor Stinner
8ea86509ab Issue #19512, #19526: Exclude the new _PyDict_DelItemId() function from the
stable ABI
2013-11-08 14:07:11 +01:00
Victor Stinner
70e11acdbd Issue #19437: Fix datetime_subtract(), handle new_delta() failure 2013-11-08 00:50:58 +01:00
Victor Stinner
aa5bbfaa77 Issue #19437: Fix _io._IOBase.close(), handle _PyObject_SetAttrId() failure 2013-11-08 00:29:41 +01:00
Victor Stinner
50abf2294e Issue #19437: Fix fsconvert_strdup(), raise a MemoryError on PyMem_Malloc()
failure
2013-11-07 23:56:10 +01:00
Victor Stinner
66b3270975 _Py_normalize_encoding(): explain how the value 6 was computed 2013-11-07 23:12:23 +01:00
Victor Stinner
bd303c165b Issue #19512, #19515: remove shared identifiers, move identifiers where they
are used.

Move also _Py_IDENTIFIER() defintions to the top in modified files to remove
identifiers duplicated in the same file.
2013-11-07 23:07:29 +01:00
Victor Stinner
07e9e380f9 frameobject.c: Use an identifer instead of creating explicitly an interned
string for "__builtins__" literal string
2013-11-07 22:22:39 +01:00
Victor Stinner
e8453bc136 C API doc: try to group concrete objects 2013-11-07 22:05:48 +01:00
Victor Stinner
324164172f Issue #19514: Add Andrei Dorian Duma to Misc/ACKS for changeset 4a09cc62419b 2013-11-07 21:50:55 +01:00
Victor Stinner
df23e30bea Fix _Py_normalize_encoding(): ensure that buffer is big enough to store "utf-8"
if the input string is NULL
2013-11-07 13:33:36 +01:00
Martin v. Löwis
e75fc14813 Issue #19514: Deduplicate some _Py_IDENTIFIER declarations.
Patch by Andrei Dorian Duma.
2013-11-07 18:46:53 +01:00
Guido van Rossum
d0293596b8 Remove redundant test_selectors.py from test_asyncio. 2013-11-07 09:25:36 -08:00
Ezio Melotti
a5b9599538 #17080: improve error message of float/complex when the wrong type is passed. 2013-11-07 19:18:34 +02:00
Guido van Rossum
d0786a1a50 Optimize BaseSelector.modify(). Patch by Arnaud Faure. 2013-11-07 08:39:28 -08:00
Ezio Melotti
b7038817fe #19480: merge with 3.3. 2013-11-07 18:35:27 +02:00
Ezio Melotti
7165d8b9ba #19480: HTMLParser now accepts all valid start-tag names as defined by the HTML5 standard. 2013-11-07 18:33:24 +02:00
R David Murray
589327ea7a Merge #18985: Improve fcntl documentation. 2013-11-07 10:51:41 -05:00
R David Murray
d5a2f0b3a1 #18985: Improve fcntl documentation.
Original patch by Vajrasky Kok, further improved (I hope) by me.
2013-11-07 10:51:07 -05:00
Victor Stinner
efa7a0e155 print_error_text() doesn't encode the filename anymore
Use aslo PyUnicode_FromFormat() to format the line so only one call to
PyFile_WriteObject() is needed. tb_displayline() of Python/traceback.c has
similar implementation.
2013-11-07 12:37:56 +01:00
Guido van Rossum
0b69fbc642 asyncio: Add close() back to Unix selector event loop, to remove all signal handlers. Should fix buildbot issues. 2013-11-06 20:25:50 -08:00
Victor Stinner
79ed4c744a remove an outdated comment
The comment is meaningless since changeset 4e985a96a612.
2013-11-07 00:53:56 +01:00
Victor Stinner
53e9ec48e5 Issue #19512: Use the new _PyId_builtins identifier 2013-11-07 00:43:05 +01:00