R David Murray
5160da1afc
Merge: #19449 : Handle non-string keys when generating 'fieldnames' error.
2013-11-19 13:17:26 -05:00
R David Murray
fb099c9ef1
#19449 : Handle non-string keys when generating 'fieldnames' error.
...
csv was handling non-string keys fine except for the error message
generated when a non-string key was not in 'fieldnames'.
Fix by Tomas Grahn, full patch-with-test by Vajrasky Kok (tweaked slightly).
2013-11-19 13:16:20 -05:00
Martin v. Löwis
dd7436c613
Issue #19550 : Implement Windows installer changes of PEP 453 (ensurepip).
2013-11-19 17:02:36 +01:00
Serhiy Storchaka
58cf607d13
Issue #12892 : The utf-16* and utf-32* codecs now reject (lone) surrogates.
...
The utf-16* and utf-32* encoders no longer allow surrogate code points
(U+D800-U+DFFF) to be encoded.
The utf-32* decoders no longer decode byte sequences that correspond to
surrogate code points.
The surrogatepass error handler now works with the utf-16* and utf-32* codecs.
Based on patches by Victor Stinner and Kang-Hao (Kenny) Lu.
2013-11-19 11:32:41 +02:00
Zachary Ware
4accf45f0e
Issue #19596 : Set untestable tests in test_importlib to None
...
to avoid reporting success on empty tests.
2013-11-18 21:44:38 -06:00
Serhiy Storchaka
fd32fffa5a
Issue #8402 : Added the escape() function to the glob module.
2013-11-18 13:06:43 +02:00
Gregory P. Smith
162307fa35
Fix test.support.bind_port() to not cause an error when Python was compiled
...
on a system with SO_REUSEPORT defined in the headers but run on a system
with an OS kernel that does not support that reasonably new socket option.
2013-11-17 22:19:32 +00:00
Zachary Ware
7f4bf9fb10
Issue #19520 : Fix (the last!) compiler warning on 32bit Windows, in _sha3
2013-11-17 16:08:23 -06:00
Antoine Pitrou
6dd0d461a4
Issue #17618 : Add Base85 and Ascii85 encoding/decoding to the base64 module.
2013-11-17 23:52:25 +01:00
Victor Stinner
55329f8fbd
Issue #19634 : time.strftime("%y") now raises a ValueError on AIX when given a
...
year before 1900.
2013-11-17 23:39:21 +01:00
Gregory P. Smith
b6e622d184
Fix test.support.bind_port() to not cause an error when Python was compiled
...
on a system with SO_REUSEPORT defined in the headers but run on a system
with an OS kernel that does not support that reasonably new socket option.
2013-11-17 22:21:02 +00:00
Gregory P. Smith
61b976f127
Fix compilation error under gcc of the ctypes module bundled libffi for arm.
...
A variable was declared below the top of a block and one function was using
a K&R C style function declaration!
2013-11-17 21:57:43 +00:00
Gregory P. Smith
7929a1da1a
Fix compilation error under gcc of the ctypes module bundled libffi for arm.
...
A variable was declared below the top of a block and one function was using
a K&R C style function declaration!
2013-11-17 21:56:07 +00:00
Christian Heimes
a6bc95aa02
Issue #19448 : Add private API to SSL module to lookup ASN.1 objects by OID, NID, short name and long name.
2013-11-17 19:59:14 +01:00
Georg Brandl
497b3943a3
merge with 3.3.3 release clone
2013-11-17 09:17:18 +01:00
Georg Brandl
9e2043a561
Bump to 3.3.3 final.
2013-11-17 07:58:22 +01:00
Nick Coghlan
c610aba1ed
Close #19282 : Native context management in dbm
2013-11-17 15:59:51 +10:00
Ezio Melotti
745d54d2fa
#17806 : Added keyword-argument support for "tabsize" to str/bytes.expandtabs().
2013-11-16 19:10:57 +02:00
Serhiy Storchaka
13d4853ac0
Fixed issue number for issue #8311 .
2013-11-16 14:08:46 +02:00
Serhiy Storchaka
452bab4acf
Issue #16685 : Added support for writing any bytes-like objects in the aifc,
...
sunau, and wave modules.
2013-11-16 14:01:31 +02:00
Serhiy Storchaka
7714ebbe0e
Issue #5202 : Added support for unseekable files in the wave module.
2013-11-16 13:04:00 +02:00
Vinay Sajip
a76157dca6
Issue #19523 : Closed FileHandler leak which occurred when delay was set.
2013-11-15 20:40:27 +00:00
Tim Golden
09a5f5eb26
Issue #13674 Updated NEWS
2013-11-12 13:24:03 +00:00
Zachary Ware
c12f09ed24
Issue #19440 : Clean up test_capi
2013-11-11 22:47:04 -06:00
Zachary Ware
0eac43a4eb
Correct a merge error in Misc/NEWS
2013-11-11 22:30:47 -06:00
Georg Brandl
4cf9b2047d
Bump to 3.3.3rc2.
2013-11-11 06:13:54 +01:00
Jason R. Coombs
a2ebfd0256
Issue #19544 and Issue #6286 : Restore use of urllib over http allowing use of http_proxy for Distutils upload command, a feature accidentally lost in the rollback of distutils2.
2013-11-10 18:50:10 -05:00
Jason R. Coombs
3492e39b44
Issue 19544 and Issue #7457 : Restore the read_pkg_file method to distutils.dist.DistributionMetadata accidentally removed in the undo of distutils2.
2013-11-10 18:15:03 -05:00
Andrew Kuchling
2a1838b9df
Issue #19544 and Issue #1180 : Restore global option to ignore ~/.pydistutils.cfg in Distutils, accidentally removed in backout of distutils2 changes.
2013-11-10 18:11:00 -05:00
Vinay Sajip
5e75829ec3
Closes #19523 : Merged fix from 3.3.
2013-11-15 20:42:47 +00:00
Andrew Kuchling
5e2d45672c
Issue #19544 and Issue #6516 : Restore support for --user and --group parameters to sdist command as found in Python 2.7 and originally slated for Python 3.2 but accidentally rolled back as part of the distutils2 rollback. Closes Issue #6516 .
2013-11-15 13:01:52 -05:00
Nick Coghlan
8b097b4ed7
Close #17828 : better handling of codec errors
...
- output type errors now redirect users to the type-neutral
convenience functions in the codecs module
- stateless errors that occur during encoding and decoding
will now be automatically wrapped in exceptions that give
the name of the codec involved
2013-11-13 23:49:21 +10:00
Victor Stinner
45956b9a33
Close #19466 : Clear the frames of daemon threads earlier during the Python
...
shutdown to call objects destructors. So "unclosed file" resource warnings are
now corretly emitted for daemon threads.
2013-11-12 16:37:55 +01:00
Tim Golden
af40e98617
Issue #13674 Updated NEWS
2013-11-12 13:22:39 +00:00
Zachary Ware
dfcd694674
Issue #19440 : Clean up test_capi
2013-11-11 22:59:23 -06:00
Andrew Kuchling
de5aff2932
#15422 : remove NEWS item for a change that was later reverted
2013-11-11 14:50:13 -05:00
Nick Coghlan
d0cf0635b3
Close #19406 : Initial implementation of ensurepip
...
Patch by Donald Stufft and Nick Coghlan
2013-11-11 22:11:55 +10:00
Jason R. Coombs
0048ae0cc6
Merge with 3.3 for Issue #19544 and Issue #6286 . Merge is untested. I was unable to test due to bab0cbf86835.
2013-11-10 18:59:44 -05:00
Jason R. Coombs
375dc9b8b4
Merge with 3.3 for Issue #19544 and Issue #7457
2013-11-10 18:21:49 -05:00
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
81895f8ee3
Issue #19261 : Added support for writing 24-bit samples in the sunau module.
2013-11-10 21:02:53 +02:00
Andrew Kuchling
a49ccb205f
Add news entry for #1097797 ; whitespace cleanup
2013-11-10 13:47:57 -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
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
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
Nick Coghlan
90b8e7d2bc
Close #19378 : address flaws in the new dis module APIs
...
- confusing line_offset parameter -> first_line parameter
- systematically test and fix new file parameter
- remove redundant Bytecode.show_info() API
- rename Bytecode.display_code() to Bytecode.dis() and have it
return the multi-line string rather than printing it directly
- eliminated some not-so-helpful helpers from the bytecode_helper
test support module
Also fixed a longstanding defect (worked around in the test suite)
where lines emitted by the dis module could include trailing white
space. That no longer happens, allowing the formatting tests to be
simplified to use plain string comparisons.
2013-11-06 22:08:36 +10:00
Ned Deily
6fc5f98480
Issue #15663 : Revert OS X installer built-in Tcl/Tk support for 3.3.3.
...
Some third-party projects, such as matplotlib and PIL/Pillow,
depended on being able to build with Tcl and Tk frameworks in
/Library/Frameworks. They were unable to build with the built-in
Tcl/Tk and/or execute correctly.
2013-11-05 02:44:17 -08:00