Mark Dickinson
5a53a41bbc
Issue #14167 : restore statement about breaks in finally clauses; remove statement about exception chaining.
2012-09-24 20:25:24 +01:00
Ezio Melotti
9c1c52b777
#16019 , #16020 : fix syntax highlight.
2012-09-24 17:30:39 +03:00
Ezio Melotti
4baf480088
#16017 : capitalize URLs.
2012-09-24 17:06:11 +03:00
Ezio Melotti
fe11e81136
#16014 : fix broken link.
2012-09-24 16:56:59 +03:00
Christian Heimes
8112ea2360
Issue #16012 : Fix a regression in pyexpat. The parser's UseForeignDTD()
...
method doesn't require an argument again.
2012-09-24 13:17:08 +02:00
Ezio Melotti
cadff70ba5
#15421 : fix an OverflowError in Calendar.itermonthdates() after datetime.MAXYEAR. Patch by Cédric Krier.
2012-09-21 17:26:35 +03:00
Ezio Melotti
003014bf1e
#15980 : properly escape newlines in docstrings. Patch by Serhiy Storchaka.
2012-09-21 16:27:45 +03:00
doko@ubuntu.com
3d2fc15f82
- Issue #11715 : Fix multiarch detection without having Debian development
...
tools (dpkg-dev) installed.
2012-09-21 13:51:40 +02:00
Benjamin Peterson
fb2f409b90
remove gdb noise about linux-vdso
2012-09-20 23:48:23 -04:00
Mark Dickinson
39e0fb01ef
Issue 15985: fix round argument names in documentation. Thanks Chris Jerdonek.
2012-09-20 20:57:37 +01:00
Ezio Melotti
a8e49638d1
Fix a few quotes/backslashes.
2012-09-20 09:48:07 +03:00
Ezio Melotti
aea83f53ee
Fix rst markup in timeit docs.
2012-09-20 06:02:50 +03:00
Ezio Melotti
6d6fb3aa9f
#15970 : xml.etree.ElementTree now serializes correctly the empty HTML elements "meta" and "param".
2012-09-19 08:11:03 +03:00
Ezio Melotti
ba372a59d1
#15796 : Fix \n in readline docstring.
2012-09-18 07:17:49 +03:00
Ezio Melotti
b3b32fbd69
#11643 : fix rst markup error in site.rst.
2012-09-17 08:59:36 +02:00
Ezio Melotti
0b6f255e4b
#15920 : fix doctests in Doc/howto/regex.rst. Patch by Chris Jerdonek.
2012-09-17 05:36:56 +03:00
Ezio Melotti
eab4df5830
#15789 : mention shell-like parts of the stdlib in the subprocess docs. Patch by Chris Rebert.
2012-09-15 08:33:12 +03:00
Ezio Melotti
a733d814be
#15932 : use with statement in csv doc examples.
2012-09-15 05:46:24 +03:00
Ezio Melotti
714e64ebd1
#15831 : avoid using 3.x syntax for keyword-only args.
2012-09-15 04:45:57 +03:00
Ezio Melotti
ed3f5900d4
#15831 : document multiple signatures on different lines. Patch by Chris Jerdonek.
2012-09-14 06:48:32 +03:00
Ezio Melotti
7d85760c02
#15437 , #15439 : merge Doc/ACKS.txt with Misc/ACKS and modify Doc/about.rst accordingly.
2012-09-14 01:58:33 +03:00
Barry Warsaw
03937a8755
A follow up for issue #15906 : change the test for calling the type conversion
...
on the action's default, reverting it back to previous behavior. Conversion
is only done on string defaults.
Add a test for this and another test that ensures such type conversions are
only called once.
2012-09-12 14:34:50 -04:00
Christian Heimes
dfaf90da9c
Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to decref 'k' in too many error cases.
2012-09-12 17:58:10 +02:00
Christian Heimes
65a0141e14
Partly revert ad3824a90261 and add comment about reference ownership
2012-09-12 17:52:46 +02:00
Senthil Kumaran
9f2cc6c390
Automated merge with file:///home/vagrant/3.2
2012-09-11 22:16:58 -07:00
Senthil Kumaran
769798363d
Fix issue #15899 - howto/unicode.rst doctest corrections for 2.7 branch.
2012-09-11 22:14:23 -07:00
Barry Warsaw
03fcfbef0a
- Issue #15906 : Fix a regression in argparse caused by the preceding change,
...
when action='append', type='str' and default=[].
2012-09-11 21:06:29 -04:00
Jesus Cea
a8a5b397c1
Closes #15793 : Stack corruption in ssl.RAND_egd(). Python 2.7 hasn't any issue about this, but add a test just to be sure
2012-09-11 01:55:04 +02:00
Jesus Cea
8e03b4cae0
#15676 : mmap: add empty file check prior to offset check <- Previous patch was incomplete (fix 2)
2012-09-10 22:57:34 +02:00
Jesus Cea
20f0ea1f61
#15676 : mmap: add empty file check prior to offset check <- Previous patch was incomplete
2012-09-10 22:45:47 +02:00
Jesus Cea
3fb774ec5f
Closes #15910 : MD5 and SHA1 crash when "updated" with strings bigger than 2**32 bytes
2012-09-10 21:39:07 +02:00
Jesus Cea
03a9d2a20b
Closes #15908 : SHA1 crashes in 64 bits when the string to hash is bigger than 2**32 bytes
2012-09-10 21:04:42 +02:00
Jesus Cea
dc0170a84a
#15676 : Proper attribution in Misc/ACKS
2012-09-10 20:18:43 +02:00
R David Murray
4709ac14ff
#14649 : add sample files omitted from previous checkin.
2012-09-10 11:20:47 -04:00
Christian Heimes
f6cdd35bc7
merge
2012-09-10 17:01:21 +02:00
Christian Heimes
47770ed914
Fixed memory leak in error branch of object_repr which may leak a reference to mod when type_name returns NULL. CID 715371
2012-09-10 16:57:36 +02:00
R David Murray
8d580539f0
#14649 : clarify DocTestSuite error when there are no docstrings.
...
Also adds tests to verify the documented behavior (which is probably a bug, as
indicated in the added comments).
Patch by Chris Jerdonek.
2012-09-10 10:17:13 -04:00
doko@ubuntu.com
7a8634d8d8
backport from the trunk, to fix test_tools with srcdir != builddir
...
changeset: 77827:c23b442b5d5e
user: Antoine Pitrou <solipsis@pitrou.net>
date: Thu Jun 28 01:20:26 2012 +0200
summary: Avoid using scrdir, it's broken.
changeset: 77826:f0e58e778215
user: Neil Schemenauer <nas@arctrix.com>
date: Wed Jun 27 15:58:37 2012 -0600
summary: Fix bug in test_tools that prevented building is separate directory.
2012-09-10 14:34:42 +02:00
Christian Heimes
059ba52180
merge
2012-09-10 13:19:15 +02:00
Christian Heimes
d8edcb6505
Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641
2012-09-10 13:16:45 +02:00
doko@ubuntu.com
8fa3be2bc8
- Mention _heapq in Setup.dist.
2012-09-10 11:56:47 +02:00
Christian Heimes
8c1bce00d2
Closed reference leak of variable 'k' in function ste_new which wasn't decrefed in error cases
2012-09-10 03:08:46 +02:00
Christian Heimes
4e80eea60e
Fixed possible reference leak to mod when type_name() returns NULL
2012-09-10 03:00:14 +02:00
Christian Heimes
074ebced1b
PyTuple_Pack() was missing va_end() in its error branch which lead to a resource leak.
2012-09-10 02:54:51 +02:00
Jesus Cea
8b54d6d733
Closes #15676 : mmap: add empty file check prior to offset check
2012-09-10 00:22:39 +02:00
Ned Deily
10fc104fed
Issue #15822 : Fix installation of lib2to3 grammar pickles to ensure
...
they are created in the install locations and with the proper timestamp.
(Solution suggested by MvL)
2012-09-08 18:47:27 -07:00
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