R David Murray
b9495c78a1
closes #5088 : document behavior of optparse defaults with 'append' action.
2012-09-08 16:47:24 -04:00
R David Murray
1b6e7c47f2
#15510 : clarify textwrap's handling of whitespace, and add confirming tests.
...
Patch by Chris Jerdonek.
2012-09-08 13:42:01 -04:00
Christian Heimes
b676727dca
Fix for fcc629208842
...
BSD's make doesn't support some of the features.
2012-09-08 19:12:05 +02:00
R David Murray
a99c7dedcb
#15847 : allow args to be a tuple in parse_args
...
This fixes a regression introduced by the fix for issue #13922 . Although args
is not documented as being allowed to be a tuple, previously this worked and
so naturally there are programs in the field that depend on it.
Patch by Zbyszek Jędrzejewski-Szmek.
2012-09-08 12:15:25 -04:00
Antoine Pitrou
e299cae230
Issue #15340 : Fix importing the random module when /dev/urandom cannot be opened.
...
This was a regression caused by the hash randomization patch.
2012-09-07 23:49:07 +02:00
Christian Heimes
f84dcffcb9
Fix for fcc629208842
...
BSD's make doesn't support some of the features.
2012-09-07 02:24:58 +02:00
Christian Heimes
bc71f2cf98
Issue #15591 and Issue #11715 : silence output of setup.py when make is run with -s option.
2012-09-07 00:55:33 +02:00
Christian Heimes
f2acf63487
Issue #15591 and Issue #11715 : silence output of setup.py when make is run with -s option.
2012-09-07 00:58:26 +02:00
Christian Heimes
6fd3248855
Issue #15591 : run ctypes' configure in quiet mode when setup.py runs silently
2012-09-06 18:02:49 +02:00
Antoine Pitrou
58098a77e6
Issue #13992 : The trashcan mechanism is now thread-safe. This eliminates
...
sporadic crashes in multi-thread programs when several long deallocator
chains ran concurrently and involved subclasses of built-in container
types.
Because of this change, a couple extension modules compiled for 2.7.4
(those which use the trashcan mechanism, despite it being undocumented)
will not be loadable by 2.7.3 and earlier. However, extension modules
compiled for 2.7.3 and earlier will be loadable by 2.7.4.
2012-09-06 00:59:49 +02:00
Antoine Pitrou
c5eec0e387
Issue #15841 : The readable(), writable() and seekable() methods of io.BytesIO
...
and io.StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.
2012-09-05 20:11:49 +02:00
Petri Lehtinen
80f4553d56
#15802 : Fix test logic in TestMaildir.test_create_tmp
2012-09-01 14:25:48 +03:00
Petri Lehtinen
f9e1f1128b
#13769 : Enhance docs for ensure_ascii semantics in JSON decoding functions
2012-09-01 07:29:06 +03:00
R David Murray
201018718f
#12776,#11839: call argparse type function only once.
...
Before, the type function was called twice in the case where the default
was specified and the argument was given as well. This was especially
problematic for the FileType type, as a default file would always be
opened, even if a file argument was specified on the command line.
Patch by Arnaud Fontaine, with additional test by Mike Meyer.
2012-08-31 23:15:28 -04:00
Trent Nelson
cd366620a9
Remove trailing whitespace in order to silence warnings on HP-UX.
2012-08-31 17:15:49 -04:00
Andrew Svetlov
2b326e4c2b
Issue #15825 : fix typo in OrderedDict docs.
...
Patch by Mike Hoy.
2012-08-31 13:53:30 +03:00
Trent Nelson
f6407a184d
Issue #15819 : Fix out-of-tree builds from a readonly source.
2012-08-30 14:56:13 +00:00
Ezio Melotti
6bb9c73b06
Add missing comma.
2012-08-29 17:50:42 +03:00
Vinay Sajip
1321c444d9
Closes #15710 : accept long in _checkLevel.
2012-08-29 14:33:14 +01:00
Vinay Sajip
a116df0f39
Merged upstream changes.
2012-08-29 14:27:07 +01:00
Vinay Sajip
3d212e6ee5
Closes #15807 : Removed incorrect directive from help.
2012-08-29 14:25:42 +01:00
Trent Nelson
da4277a739
Issue #15765 : Fix quirky NetBSD getcwd() behaviour.
...
This is done by extending a previous fix for issue #9185 that was made for
Solaris and OpenBSD to NetBSD as well.
2012-08-29 09:20:41 -04:00
Benjamin Peterson
23d49d3e7e
use the stricter PyMapping_Check ( closes #15801 )
2012-08-28 17:55:35 -04:00
Matthias Klose
25cf30faf9
- fix typo introduced in http://hg.python.org/cpython/rev/f918d4a06c64
2012-08-28 19:23:56 +02:00
Matthias Klose
555b9e07ed
- fix paste error (whitespace) from previous commit
2012-08-28 19:07:08 +02:00
Matthias Klose
63c6f511c3
- Issue #15591 : Fix parsing MAKEFLAGS in the sharedmods target.
2012-08-28 18:52:28 +02:00
Hynek Schlawack
7d978902d0
#14880 : Fix kwargs notation in csv.reader, .writer & .register_dialect
...
Patch by Chris Rebert.
2012-08-28 12:33:46 +02:00
Ezio Melotti
8662c84ac8
#15788 : fix broken links in subprocess doc. Patch by Chris Rebert.
2012-08-27 10:00:05 +03:00
Ronald Oussoren
a00b100c9c
Fix issue 13370: Ensure that ctypes works on Mac OS X when Python is compiled using the clang compiler
2012-08-25 11:18:48 +02:00
Georg Brandl
3196529f3c
Fix wrong way of adding Error information in shutil.copytree.
2012-08-25 10:11:57 +02:00
Mark Dickinson
c63be46b23
Remove overeager test (don't depend on the sign of a nan; cf. issue #14521 )
2012-08-24 20:26:23 +01:00
Mark Dickinson
088cec3ab7
Issue #15544 : Fix Decimal.__float__ to work with payload-carrying NaNs.
2012-08-24 20:06:30 +01:00
Antoine Pitrou
85ede8da00
Add glossary references
2012-08-24 19:49:08 +02:00
Antoine Pitrou
f3e0a69d88
Issue #14674 : Add a discussion of the json module's standard compliance.
...
Patch by Chris Rebert.
2012-08-24 19:46:17 +02:00
Georg Brandl
e991236b4d
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:17:28 +02:00
Ned Deily
8622f09d98
Issue #15645 : Ensure 2to3 grammar pickles are properly installed.
...
(Patch by Ronald Oussoren)
2012-08-22 23:26:06 -07:00
Georg Brandl
e565cf805d
Remove patch artifacts.
2012-08-21 19:44:00 +02:00
Petri Lehtinen
4efdc09a8d
#15199 : Fix JavaScript's default MIME type to application/javascript
2012-08-20 21:28:46 +03:00
R David Murray
07f6ea5506
#15742 : clarify sqlite parameter substitution example.
2012-08-20 14:17:22 -04:00
Stefan Krah
a8857af37b
Issue #15741 : Fix potential NULL dereference. Found by Coverity.
2012-08-20 17:31:22 +02:00
R David Murray
d928b6a965
#13579 : minimize code base drift for 'a' string.Formatter change.
...
2.7 doesn't support 'a'. This changeset ports the doc change
and clause-reording portions of Francisco Martín Brugué patch
in order to minimize code base drift.
2012-08-19 17:57:29 -04:00
Antoine Pitrou
0e3a4c8058
Issue #15615 : Add some tests for the json module's handling of invalid input data.
...
Patch by Kushal Das.
2012-08-18 20:51:05 +02:00
Mark Dickinson
2de4be2efd
Add workaround for log1p(-0.0) on platforms where it's broken.
2012-08-18 12:31:34 +01:00
Eli Bendersky
2cc49745a5
Fix typo in tutorial
2012-08-18 09:51:37 +03:00
Eli Bendersky
6ee2187cdc
Issue #15586 : porting ET's new documentation bits to 2.7. Patch by Daniel Ellis
2012-08-18 05:40:38 +03:00
R David Murray
85307b46d1
#15355 : Mention already-executing Exception in generator docs.
...
Patch by Chris Jerdonek.
2012-08-17 20:49:51 -04:00
Terry Jan Reedy
73b19d0b00
Issue 15660: Clarify 0 prefix for width field in str.format doc.
2012-08-17 15:37:52 -04:00
Richard Oudkerk
3c3ab22d36
Issue #15412 : Remove erroneous note about weakrefs
2012-08-17 15:00:58 +01:00
Antoine Pitrou
c5bef75c77
Issue #15604 : Update uses of PyObject_IsTrue() to check for and handle errors correctly.
...
Patch by Serhiy Storchaka.
2012-08-15 23:16:51 +02:00
Sandro Tosi
4ffe9a0640
clarify in/not in in case of infinite iterators; thanks to Sergey Skovorodkin from docs@
2012-08-15 21:37:19 +02:00