Benjamin Peterson
28a6cfaefc
use the stricter PyMapping_Check ( closes #15801 )
2012-08-28 17:55:35 -04:00
Matthias Klose
2412c93a60
- fix paste error (whitespace) from previous commit
2012-08-28 19:07:38 +02:00
Matthias Klose
25b10a28f5
- Issue #15591 : Fix parsing MAKEFLAGS in the sharedmods target.
2012-08-28 18:55:07 +02:00
Petri Lehtinen
72b1426cfb
#11964 : Document a change in v3.2 to the json indent parameter
2012-08-28 07:08:44 +03:00
Petri Lehtinen
72c6eefcc6
Fix a JSON doc typo
2012-08-27 20:27:30 +03:00
Ezio Melotti
aa935dfe9c
#15788 : fix broken links in subprocess doc. Patch by Chris Rebert.
2012-08-27 10:00:05 +03:00
Ronald Oussoren
25437565f9
Fix issue 13370: Ensure that ctypes works on Mac OS X when Python is compiled using the clang compiler
2012-08-25 11:19:14 +02:00
Georg Brandl
c8076dfa9d
Fix wrong way of adding Error information in shutil.copytree.
2012-08-25 10:11:57 +02:00
Mark Dickinson
6f64796c22
Remove overeager test (don't depend on the sign of a nan; cf. issue #14521 )
2012-08-24 20:31:33 +01:00
Mark Dickinson
448f57762d
Remove incorrect lines (meant for cdecimal) from recently added Decimal tests.
2012-08-24 19:51:00 +01:00
Mark Dickinson
e4204bcfb7
Issue #15544 : Fix Decimal.__float__ to work with payload-carrying NaNs.
2012-08-24 19:32:13 +01:00
Antoine Pitrou
15251a99bb
Add glossary references
2012-08-24 19:49:08 +02:00
Antoine Pitrou
331624b67d
Issue #14674 : Add a discussion of the json module's standard compliance.
...
Patch by Chris Rebert.
2012-08-24 19:37:23 +02:00
Georg Brandl
a61b09f406
Closes #9374 : add back now-unused module attributes; removing them is a backward compatibility issue, since they have a public-seeming name.
2012-08-24 18:15:29 +02:00
R David Murray
638d40b433
#15249 : Mangle From lines correctly when body contains invalid bytes.
...
Fix by Colin Su. Test by me, based on a test written by Petri Lehtinen.
2012-08-24 11:14:13 -04:00
Ross Lagerwall
f2b34b8b96
Issue 15777: Fix a refleak in _posixsubprocess.
...
It was exposed by 03c98d05b140 and dbbf3ccf72e8.
2012-08-24 13:25:59 +02:00
Ned Deily
01d183732e
Issue #15645 : Ensure 2to3 grammar pickles are properly installed.
...
(Patch by Ronald Oussoren)
2012-08-22 23:27:26 -07:00
Ronald Oussoren
eb61f8b3a7
Fix for issue 15716: interpreter could crash when PYTHONEXECUTABLE was set on Mac OS X.
...
This is due to an off-by-one error: the allocated buffer didn't have room for a NUL
character at the end of the mbstowcs result.
2012-08-22 14:24:14 +02:00
Trent Nelson
ee253ebf62
Issue #15747 : skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.
...
This is necessary for ZFS systems, which don't support UF_IMMUTABLE.
2012-08-21 23:41:43 +00:00
Ezio Melotti
1b47bf43a6
#15752 : s/assertRaisesRegexp/assertRaisesRegex/g
2012-08-21 11:38:41 +03:00
Stefan Krah
7cacd2eb92
Issue #15736 : Fix overflow in _PySequence_BytesToCharpArray().
2012-08-21 08:16:09 +02:00
Trent Nelson
514dbb03ba
Issue #15285 : Refactor connect timeout test in test_timeout.
2012-08-20 21:22:59 -04:00
Antoine Pitrou
9439f04b9a
Issue #14954 : Clarify the interaction of weak references and garbage collection.
...
Patch by Ethan Furman.
2012-08-21 00:07:07 +02:00
Petri Lehtinen
c6fdafcdf3
#15199 : Fix JavaScript's default MIME type to application/javascript
2012-08-20 21:28:58 +03:00
R David Murray
f6bd1b0e0d
#15742 : clarify sqlite parameter substitution example.
...
Suggestion and patch by Mike Hoy.
2012-08-20 14:14:18 -04:00
Antoine Pitrou
75506e8b7c
Issue #15726 : Fix incorrect bounds checking in PyState_FindModule.
...
Patch by Robin Schreiber.
2012-08-20 19:30:46 +02:00
Stefan Krah
07795df683
Issue #15741 : Fix potential NULL dereference. Found by Coverity.
2012-08-20 17:19:50 +02:00
Stefan Krah
db579d7b25
Issue #15738 : Fix a missing NULL check in subprocess_fork_exec().
2012-08-20 14:36:47 +02:00
Stefan Krah
fd24f9e51e
Issue #15732 : Fix (constructed) crash in _PySequence_BytesToCharpArray().
...
Found by Coverity.
2012-08-20 11:04:24 +02:00
R David Murray
e56bf97ef4
#13579 : teach string.Formatter about 'a'.
...
Patch by Francisco Martín Brugué.
2012-08-19 17:26:34 -04:00
Andrew Svetlov
828607170d
Issue #15595 : Fix subprocess.Popen(universal_newlines=True)
...
for certain locales (utf-16 and utf-32 family).
Patch by Chris Jerdonek.
2012-08-19 22:13:41 +03:00
Stefan Krah
6b962860e2
Check for NULL return value in PyStructSequence_NewType(). Found by Coverity.
2012-08-19 11:20:41 +02:00
Ned Deily
3c6661a914
Allow redemo.py to be used from the command line like other demos.
2012-08-18 12:21:17 -07:00
Antoine Pitrou
b47ea9a6fe
Issue #15615 : Add some tests for the json module's handling of invalid input data.
...
Patch by Kushal Das.
2012-08-18 20:46:23 +02:00
Mark Dickinson
05d79e9abf
Issue #15477 : Add workaround for log1p(-0.0) on platforms where it's broken.
2012-08-18 12:24:30 +01:00
Eli Bendersky
31a11902b3
tutorial typo fix
2012-08-18 09:50:09 +03:00
R David Murray
75fd22519f
#15636 : add versionadded for decodebytes
2012-08-17 20:55:21 -04:00
R David Murray
2c1d1d6310
#15355 : Mention already-executing Exception in generator docs.
...
Patch by Chris Jerdonek.
2012-08-17 20:48:59 -04:00
R David Murray
433ef3b5c3
#15694 : reflow paragraph.
2012-08-17 20:39:21 -04:00
R David Murray
9f0c9401d3
#15694 : Link discussion of file objects to glossary entry.
...
This is analogous to the link for `flie objects` in the description of
'open' that exists in the 2.7 docs, and adds a similar link to the
io docs.
Patch by Chris Jerdonek.
2012-08-17 20:33:54 -04:00
Terry Jan Reedy
f6190c1463
Issue 15660: Clarify 0 prefix for width field in str.format doc.
2012-08-17 15:40:46 -04:00
Richard Oudkerk
d9c026fd77
Issue #15412 : Remove erroneous note about weakrefs
2012-08-17 15:02:47 +01:00
Richard Oudkerk
264e9ac5f5
Issue #14501 : Clarify that authentication keys are byte strings
2012-08-17 14:39:18 +01:00
Antoine Pitrou
b7c6c8105e
Update the getpeercert() example with a real-world cert showing non-trivial issuer, subject and subjectAltName.
2012-08-16 22:14:43 +02:00
Petri Lehtinen
88614948c0
#11062 : Fix universal newline support in Babyl._install_message()
...
When adding a message from a binary file, \r\n was translated to
\r\r\n in the message body.
2012-08-16 07:27:01 +03:00
Nick Coghlan
573b1fd779
Fix str docstring
2012-08-16 14:13:07 +10:00
Antoine Pitrou
6f430e4963
Issue #15604 : Update uses of PyObject_IsTrue() to check for and handle errors correctly.
...
Patch by Serhiy Storchaka.
2012-08-15 23:18:25 +02:00
Sandro Tosi
dd7c55250d
clarify in/not in in case of infinite iterators; thanks to Sergey Skovorodkin from docs@
2012-08-15 21:37:35 +02:00
R David Murray
ee0a945ae4
#15543 : reflow paragraphs.
2012-08-15 11:05:36 -04:00
R David Murray
1b00f25bf9
#15543 : glossary entry for and 'universal newlines', and links to it.
...
Patch by Chris Jerdonek.
2012-08-15 10:43:58 -04:00