Commit graph

82904 commits

Author SHA1 Message Date
Victor Stinner
cc26310e2e Issue #20162: test_hash_distribution() uses subTest() to mention the prefix in
the error message.
2014-01-07 14:40:51 +01:00
Eric Snow
1500d49c22 Issue 19713: Add PEP 451-related deprecations. 2014-01-06 20:49:04 -07:00
Eric Snow
02b9f9d6bb Remove more usage of APIs deprecated by PEP 451. 2014-01-06 20:42:59 -07:00
Eric Snow
3a62d14b24 Issue #19703: Update pydoc to use the new importer APIs. 2014-01-06 20:42:59 -07:00
Eric Snow
3192eac6cf Remove dead PEP 451 code. 2014-01-06 20:38:16 -07:00
Guido van Rossum
3845521b4b asyncio: Fix deadlock in readexactly(). Fixes issue #20154. 2014-01-06 16:09:18 -08:00
R David Murray
a101bdb88c whatsnew: ssl getpeercert/do_handshake raise OSError, weakref __callback__.
Also add a missing word to gc entry, and delete a now-obsolete doc note
in the weakref __callback__ docs.  (Opened an issue for rewriting
the section that compares finalizers and __del__ method.)
2014-01-06 16:32:05 -05:00
R David Murray
9835827593 whatsnew: pydoc.Scanner removal, check_output input parm, operator.py.
Also fleshed out the entry on struct.iter_unpack.
2014-01-05 20:52:06 -05:00
Larry Hastings
eb31e9d6ed Issue #20143: The line numbers reported in Argument Clinic errors are
now more accurate.
2014-01-06 11:10:08 -08:00
Larry Hastings
3f144c2ad7 Issue #20142: Py_buffer variables generated by Argument Clinic are now
initialized with a default value.
2014-01-06 10:34:00 -08:00
Larry Hastings
b7f5dcadf2 Merge 3.4.0b2 release revisions back into mainline. 2014-01-06 07:24:19 -08:00
Larry Hastings
e7ee44e9ba Post-release engineering; updated NEWS and version string. 2014-01-06 07:17:47 -08:00
Raymond Hettinger
74fc8c47f6 Add comments to frozenset_hash().
Also, provide a minor hint to the compiler on how to group the xors.
2014-01-05 12:00:31 -08:00
Ethan Furman
df3ed242c0 Issue19995: %o, %x, %X now only accept ints 2014-01-05 06:50:30 -08:00
Larry Hastings
d10ccfbd08 Added tag v3.4.0b2 for changeset ba32913eb13e 2014-01-05 04:43:31 -08:00
Larry Hastings
a6c55232ab Bump version number for 3.4.0b2. 2014-01-05 04:40:25 -08:00
Larry Hastings
bfd715ebd1 Regenerated pydoc/topics.py, and fix a "suspicious" doc error. 2014-01-05 04:35:56 -08:00
Larry Hastings
6d2ea21337 Argument Clinic: fixed test suite, improved howto. 2014-01-05 02:50:45 -08:00
Eric Snow
5ea97506a2 Issue 20123: Disable a problematic test. 2014-01-04 23:04:27 -07:00
R David Murray
1d8bd67cca Fix news entry to use updated name for XMLPullParser. 2014-01-05 00:30:03 -05:00
Eric Snow
0dddf4258a Issue 20123: try using a different builtin module in a pydoc test.
The test is failing on one of the stable FreeBSD buildbots.  It seems
unlikely that the gc module would not be available, so switching to
_imp may not fix the problem.
2014-01-04 21:56:07 -07:00
R David Murray
410d320703 whatsnew: XMLPullParser, plus some doc updates.
I was confused by the text saying that read_events "iterated", since it
actually returns an iterator (that's what a generator does) that the
caller must then iterate.  So I tidied up the language.  I'm not sure
what the sentence "Events provided in a previous call to read_events()
will not be yielded again." is trying to convey, so I didn't try to fix that.

Also fixed a couple more news items.
2014-01-04 23:52:50 -05:00
Eric Snow
aed5b22ead Issue 20123: Fix pydoc.synopsis() for "binary" modules.
Also add missing tests to test_pydoc.
2014-01-04 20:38:11 -07:00
R David Murray
244ad600e9 whatsnew: removal of TYPE_INT64 from marshal.
Also update news entry for SMTPException; when I changed it from
IOError to OSError I forgot to update the news item.
2014-01-04 21:17:52 -05:00
R David Murray
9cf617bff9 whatsnew: logging TimedRotatingFileHandler atTime parameter. 2014-01-04 18:55:01 -05:00
R David Murray
4908f4a151 whatsnew: from __future__ string exception, attribute UTF-32 decoder speedup.
And more news entry clarifications.
2014-01-04 18:07:20 -05:00
R David Murray
b231b2be07 whatsnew: ppring string wrapping, string pickling optimization.
Also clarify some NEWS entries.
2014-01-04 17:11:23 -05:00
R David Murray
57fcf76d73 whatsnew: Mock mock_open readline(s); expand description of subtests feature. 2014-01-03 23:31:54 -05:00
Eric Snow
37148b27ac Issue #19708: Update pkgutil to use the new importer APIs. 2014-01-04 15:09:53 -07:00
Eric Snow
335e14dd1a Issue #19713: Move away from using find_module/load_module. 2014-01-04 15:09:28 -07:00
Eric Snow
d749c7ae68 Issue #19927: Add __eq__ to path-based loaders in importlib. 2014-01-04 15:06:49 -07:00
Serhiy Storchaka
78194cd4e9 Merge heads 2014-01-04 22:49:40 +02:00
Larry Hastings
78cf85c669 Issue #19659: Added documentation for Argument Clinic. 2014-01-04 12:44:57 -08:00
Serhiy Storchaka
3079328d29 Reverted changeset b72c5573c5e7 (issue #15027). 2014-01-04 22:44:01 +02:00
Larry Hastings
3cceb38486 Issue #19976: Argument Clinic METH_NOARGS functions now always
take two parameters.
2014-01-04 11:09:09 -08:00
Serhiy Storchaka
583a93943c Issue #15027: Rewrite the UTF-32 encoder. It is now 1.6x to 3.5x faster. 2014-01-04 19:25:37 +02:00
Stefan Krah
41adc26708 Merge from 3.3. 2014-01-04 13:06:59 +01:00
Stefan Krah
0455c3fd28 Whitespace. 2014-01-04 13:03:48 +01:00
Martin v. Löwis
5aaf8476fd Drop reference to pythoncore, to avoid linking python34.dll 2014-01-04 11:25:35 +01:00
Martin v. Löwis
dd3c36d125 Merge 3.3 2014-01-04 11:21:15 +01:00
Martin v. Löwis
8d805d751b Regenerate python34stub.def. 2014-01-04 11:20:45 +01:00
Martin v. Löwis
6087646ec0 Merge with 3.3: Issue #17432: Drop UCS2 from names of Unicode functions in python3.def. 2014-01-04 10:06:28 +01:00
Martin v. Löwis
7476289873 Issue #17432: Drop UCS2 from names of Unicode functions in python3.def. 2014-01-04 10:01:42 +01:00
R David Murray
e608255328 whatsnew: consistently use 3 blanks between major sections. 2 for minor. 2014-01-03 16:15:45 -05:00
R David Murray
59171722f0 whatsnew: make bullet list presentation style consistent. 2014-01-03 15:52:22 -05:00
R David Murray
db085f56b9 whatsnew: unittest discovery sorting, urlllib Request getter/setter removals. 2014-01-03 15:46:24 -05:00
Martin v. Löwis
1c0689c613 Issue #19526: Exclude all new API from the stable ABI. 2014-01-03 21:36:49 +01:00
R David Murray
a2924cabaf whatsnew: porting note for HTTP[S]Connection strict parameter removal.
It was discussed in issue #17460 whether or not to make the remaining
arguments keyword only so that things would fail noisily if someone was still
using positional parameters, but no decision was made and we are now well past
the Beta API change deadline.
2014-01-03 14:06:01 -05:00
R David Murray
0056936a4b whatsnew: deprecation of HTTPConnection's strict parameter. 2014-01-03 13:04:25 -05:00
R David Murray
42fa110035 whatsnew: unittest import time SkipTest reported as skip not error. 2014-01-03 13:03:36 -05:00