summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* (Merge 3.3) Issue #20113: os.readv() and os.writev() now raise an OSErrorVictor Stinner2014-01-084-10/+36
|\ | | | | | | exception on error instead of returning -1.
| * Issue #20113: os.readv() and os.writev() now raise an OSError exception onVictor Stinner2014-01-084-10/+36
| | | | | | | | error instead of returning -1.
* | Issue 19713: Remove PEP 451-related code that should have been factored out.Eric Snow2014-01-082-1240/+1191
| | | | | | | | | | | | This code was an artifact of issuing a DeprecationWarning for the lack of loader.exec_module(). However, we have deferred such warnings to later Python versions.
* | Fixes issue #19081: When a zipimport .zip file in sys.path being imported fromGregory P. Smith2014-01-083-67/+328
|\ \ | |/ | | | | | | | | is modified during the lifetime of the Python process after zipimport has already cached the zip's table of contents we detect this and recover rather than read bad data from the .zip (causing odd import errors).
| * Fixes Issue #19081: When a zipimport .zip file in sys.path being imported fromGregory P. Smith2014-01-083-66/+328
| | | | | | | | | | | | is modified during the lifetime of the Python process after zipimport has already cached the zip's table of contents we detect this and recover rather than read bad data from the .zip (causing odd import errors).
* | Fix typo in asyncio/streams.py.Guido van Rossum2014-01-081-1/+1
| |
* | Issue #19723: Missed one conversion to the new Argument Clinic syntax.Larry Hastings2014-01-071-3/+3
| |
* | Issue #19723: Fix issue number typo in Misc/NEWSZachary Ware2014-01-071-1/+1
| |
* | Issue #12837: Silence a Clang compiler warning on OS X.Brett Cannon2014-01-072-1/+21
| | | | | | | | | | | | | | | | Now makes CPython build without warnings on OS X under Clang with -Wno-unused-value -Wno-empty-body -Qunused-arguments -Wno-deprecated-declarations. Thanks to David Watson for taking an initial stab at a solution.
* | Issue #19719: Update various finder and loader ABCs such that theirBrett Cannon2014-01-074-8/+176
| | | | | | | | | | | | | | old methods now provide implementations when PEP 451 APIs are present. This should help with backwards-compatibility with code which has not been updated to work with PEP 451.
* | Issue #19273: The marker comments Argument Clinic uses have been changedLarry Hastings2014-01-0714-216/+220
| | | | | | | | to improve readability.
* | Issue #20157: When Argument Clinic renames a parameter because its nameLarry Hastings2014-01-073-5/+35
| | | | | | | | collides with a C keyword, it no longer exposes that rename to PyArg_Parse.
* | Issue #20141: Improved Argument Clinic's support for the PyArg_Parse "O!"Larry Hastings2014-01-075-4388/+4379
| | | | | | | | format unit.
* | Issue #20144: Argument Clinic now supports simple constants as parameterLarry Hastings2014-01-076-31/+152
| | | | | | | | | | default values. inspect.Signature correspondingly supports them in __text_signature__ fields for builtins.
* | whatsnew: expand 'dis' entry.R David Murray2014-01-072-8/+52
| | | | | | | | Also add one missing versionadded.
* | Issue #20072: Fixed multiple errors in tkinter with wantobjects is False.Serhiy Storchaka2014-01-077-71/+153
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * Issue #20072: Fixed multiple errors in tkinter with wantobjects is False.Serhiy Storchaka2014-01-077-71/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Issue #20096: Update the Python 2/3 porting HOWTO to focus onBrett Cannon2014-01-071-375/+223
| | | | | | | | source-compatibility instead of 2to3.
* | Issue #20162: test_hash_distribution() uses subTest() to mention the prefix inVictor Stinner2014-01-071-9/+10
| | | | | | | | the error message.
* | Issue 19713: Add PEP 451-related deprecations.Eric Snow2014-01-0715-4039/+4340
| |
* | Remove more usage of APIs deprecated by PEP 451.Eric Snow2014-01-073-14/+16
| |
* | Issue #19703: Update pydoc to use the new importer APIs.Eric Snow2014-01-073-4/+17
| |
* | Remove dead PEP 451 code.Eric Snow2014-01-072-22/+0
| |
* | asyncio: Fix deadlock in readexactly(). Fixes issue #20154.Guido van Rossum2014-01-072-10/+21
| |
* | whatsnew: ssl getpeercert/do_handshake raise OSError, weakref __callback__.R David Murray2014-01-062-13/+14
| | | | | | | | | | | | 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.)
* | whatsnew: pydoc.Scanner removal, check_output input parm, operator.py.R David Murray2014-01-061-2/+28
| | | | | | | | Also fleshed out the entry on struct.iter_unpack.
* | Issue #20143: The line numbers reported in Argument Clinic errors areLarry Hastings2014-01-062-2/+6
| | | | | | | | now more accurate.
* | Issue #20142: Py_buffer variables generated by Argument Clinic are nowLarry Hastings2014-01-063-5/+18
| | | | | | | | initialized with a default value.
* | Merge 3.4.0b2 release revisions back into mainline.Larry Hastings2014-01-067-18/+86
|\ \
| * | Add comments to frozenset_hash().Raymond Hettinger2014-01-051-1/+14
| | | | | | | | | | | | Also, provide a minor hint to the compiler on how to group the xors.
| * | Issue19995: %o, %x, %X now only accept intsEthan Furman2014-01-056-17/+72
| | |
* | | Post-release engineering; updated NEWS and version string.Larry Hastings2014-01-062-1/+13
| | |
* | | Added tag v3.4.0b2 for changeset ba32913eb13eLarry Hastings2014-01-051-0/+1
| | |
* | | Bump version number for 3.4.0b2.v3.4.0b2Larry Hastings2014-01-055-6/+6
| | |
* | | Regenerated pydoc/topics.py, and fix a "suspicious" doc error.Larry Hastings2014-01-052-6/+6
|/ /
* | Argument Clinic: fixed test suite, improved howto.Larry Hastings2014-01-053-101/+173
| |
* | Issue 20123: Disable a problematic test.Eric Snow2014-01-051-2/+3
| |
* | Fix news entry to use updated name for XMLPullParser.R David Murray2014-01-051-2/+2
| |
* | Issue 20123: try using a different builtin module in a pydoc test.Eric Snow2014-01-051-2/+2
| | | | | | | | | | | | 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.
* | whatsnew: XMLPullParser, plus some doc updates.R David Murray2014-01-054-18/+24
| | | | | | | | | | | | | | | | | | | | 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.
* | Issue 20123: Fix pydoc.synopsis() for "binary" modules.Eric Snow2014-01-053-23/+77
| | | | | | | | Also add missing tests to test_pydoc.
* | whatsnew: removal of TYPE_INT64 from marshal.R David Murray2014-01-052-1/+4
| | | | | | | | | | Also update news entry for SMTPException; when I changed it from IOError to OSError I forgot to update the news item.
* | whatsnew: logging TimedRotatingFileHandler atTime parameter.R David Murray2014-01-042-2/+10
| |
* | whatsnew: from __future__ string exception, attribute UTF-32 decoder speedup.R David Murray2014-01-042-4/+11
| | | | | | | | And more news entry clarifications.
* | whatsnew: ppring string wrapping, string pickling optimization.R David Murray2014-01-042-5/+12
| | | | | | | | Also clarify some NEWS entries.
* | whatsnew: Mock mock_open readline(s); expand description of subtests feature.R David Murray2014-01-041-5/+23
| |
* | Issue #19708: Update pkgutil to use the new importer APIs.Eric Snow2014-01-043-15/+32
| |
* | Issue #19713: Move away from using find_module/load_module.Eric Snow2014-01-043-5/+12
| |
* | Issue #19927: Add __eq__ to path-based loaders in importlib.Eric Snow2014-01-046-621/+698
| |
* | Merge headsSerhiy Storchaka2014-01-045-10/+954
|\ \