Larry Hastings
9026113fd4
Issue #20157 : When Argument Clinic renames a parameter because its name
...
collides with a C keyword, it no longer exposes that rename to PyArg_Parse.
2014-01-07 12:21:08 -08:00
Larry Hastings
77561cccb2
Issue #20141 : Improved Argument Clinic's support for the PyArg_Parse "O!"
...
format unit.
2014-01-07 12:13:13 -08:00
Larry Hastings
16c5191ab3
Issue #20144 : Argument Clinic now supports simple constants as parameter
...
default values. inspect.Signature correspondingly supports them in
__text_signature__ fields for builtins.
2014-01-07 11:53:01 -08:00
Serhiy Storchaka
985b8dbe11
Issue #20072 : Fixed multiple errors in tkinter with wantobjects is False.
...
* Misc.image_names(), Misc.image_types(), Wm.wm_colormapwindows(), and
LabelFrame.panes() now always return a tuple.
* Fixed error of comparing str and int in tt.LabeledScale._adjust().
* ttk.Notebook.index() now always returns int.
* ttk.Notebook.tabs() now always returns a tuple.
* ttk.Entry.bbox() now always returns a tuple of ints.
* ttk.Entry.validate() now always correctly works.
* ttk.Combobox.current() now always returns int.
* ttk.Panedwindow.sashpos() now always returns int.
* ttk.Treeview.bbox() now always returns a tuple of ints.
* ttk.Treeview.get_children() now always returns a tuple.
* ttk.Treeview.exists() now always correctly works.
* ttk.Treeview.index() now always returns int.
* ttk.Treeview.tag_has() now always returns 0 or 1.
* And numerous other errors in methods which returns a tuple, list or dict.
* Fixed ttk tests for wantobjects is False.
2014-01-07 19:30:36 +02:00
Serhiy Storchaka
a21acb5d95
Issue #20072 : Fixed multiple errors in tkinter with wantobjects is False.
...
* Misc.image_names(), Misc.image_types(), Wm.wm_colormapwindows(), and
LabelFrame.panes() now always return a tuple.
* Fixed error of comparing str and int in tt.LabeledScale._adjust().
* ttk.Notebook.index() now always returns int.
* ttk.Notebook.tabs() now always returns a tuple.
* ttk.Entry.bbox() now always returns a tuple of ints.
* ttk.Entry.validate() now always correctly works.
* ttk.Combobox.current() now always returns int.
* ttk.Panedwindow.sashpos() now always returns int.
* ttk.Treeview.bbox() now always returns a tuple of ints.
* ttk.Treeview.get_children() now always returns a tuple.
* ttk.Treeview.exists() now always correctly works.
* ttk.Treeview.index() now always returns int.
* ttk.Treeview.tag_has() now always returns 0 or 1.
* And numerous other errors in methods which returns a tuple, list or dict.
* Fixed ttk tests for wantobjects is False.
2014-01-07 19:27:42 +02:00
Eric Snow
1500d49c22
Issue 19713: Add PEP 451-related deprecations.
2014-01-06 20:49:04 -07:00
Eric Snow
3a62d14b24
Issue #19703 : Update pydoc to use the new importer APIs.
2014-01-06 20:42:59 -07:00
Guido van Rossum
3845521b4b
asyncio: Fix deadlock in readexactly(). Fixes issue #20154 .
2014-01-06 16:09:18 -08: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
Ethan Furman
df3ed242c0
Issue19995: %o, %x, %X now only accept ints
2014-01-05 06:50:30 -08:00
R David Murray
1d8bd67cca
Fix news entry to use updated name for XMLPullParser.
2014-01-05 00:30:03 -05: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
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
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
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
1c0689c613
Issue #19526 : Exclude all new API from the stable ABI.
2014-01-03 21:36:49 +01:00
Martin v. Löwis
24e43308b7
* Issue #16113 : Remove sha3 module again.
...
Patch by Christian Heimes, with modifications.
2014-01-03 14:05:06 +01:00
Eric Snow
fbc785188d
Issue #20097 : Fix bad use of "self" in importlib's WindowsRegistryFinder.
2014-01-02 22:25:00 -07:00
Benjamin Peterson
3e6ab1715d
avoid parameter name clash ( closes #20108 )
2014-01-02 12:24:08 -06:00
Antoine Pitrou
1b02da95d2
Issue #20111 : pathlib.Path.with_suffix() now sanity checks the given suffix.
2014-01-03 00:07:17 +01:00
R David Murray
9025f1c5c4
whatsnew: sqlite3 uri parm, unittest.main defaultTest, ftplib.Netrc deprecation
2014-01-02 13:44:18 -05:00
Benjamin Peterson
c22eaecd53
merge 3.3 ( closes #20108 )
2014-01-02 12:26:50 -06:00
Martin v. Löwis
c70d4f4d79
Issue #19728 : Enable pip installation by default on Windows.
2014-01-02 14:12:30 +01:00
Antoine Pitrou
b672888092
Issue #20055 : Fix test_shutil under Windows with symlink privileges held.
...
Patch by Vajrasky Kok.
2014-01-01 02:51:58 +01:00
Antoine Pitrou
3f48ac98c0
Issue #20055 : Fix test_shutil under Windows with symlink privileges held.
...
Patch by Vajrasky Kok.
2014-01-01 02:50:45 +01:00
R David Murray
089305f8f6
Merge: Clarify the wording of a news entry.
2013-12-31 17:34:40 -05:00
R David Murray
b075cc0d76
Clarify the wording of a news entry.
2013-12-31 17:33:47 -05:00
R David Murray
33ef1aeb1e
whatsnew: mock called_with improvements, socket CAN_BCM support.
...
Also reworded the other entries in the socket section of whatsnew, as
well as a couple of unrelated news entries.
2013-12-31 16:04:50 -05:00
R David Murray
8b2d68245e
whatsnew: random.getrandbits performance.
...
Also fix a NEWS file issue number error, and some spacing fixes in whatsnew.
2013-12-31 15:06:05 -05:00
R David Murray
2691ee6183
whatsnew: abc.ABC. Also add issue number to news entry and reword.
2013-12-28 23:15:12 -05:00
Senthil Kumaran
b6fac245b5
Backporing the fix from Issue #12692
2013-12-28 17:36:18 -08:00
Antoine Pitrou
3e86ba4e32
Issue #19422 : Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than silently let them emit clear text data.
2013-12-28 17:26:33 +01:00
R David Murray
880fee60ca
Add context to a json NEWS entry.
2013-12-27 17:08:18 -05:00
Antoine Pitrou
b5c66f8645
Fix breakage in TestSuite.countTestCases() introduced by issue #11798 .
2013-12-28 20:37:58 +01:00
Antoine Pitrou
156b3610b8
Issue #19918 : Fix PurePath.relative_to() under Windows.
2013-12-28 19:49:04 +01:00