| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
exception on error instead of returning -1.
|
| |
| |
| |
| | |
error instead of returning -1.
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
| |
| |
| |
| | |
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).
|
| |
| |
| |
| |
| |
| | |
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).
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
to improve readability.
|
| |
| |
| |
| | |
collides with a C keyword, it no longer exposes that rename to PyArg_Parse.
|
| |
| |
| |
| | |
format unit.
|
| |
| |
| |
| |
| | |
default values. inspect.Signature correspondingly supports them in
__text_signature__ fields for builtins.
|
| |
| |
| |
| | |
Also add one missing versionadded.
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| | |
source-compatibility instead of 2to3.
|
| |
| |
| |
| | |
the error message.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.)
|
| |
| |
| |
| | |
Also fleshed out the entry on struct.iter_unpack.
|
| |
| |
| |
| | |
now more accurate.
|
| |
| |
| |
| | |
initialized with a default value.
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Also, provide a minor hint to the compiler on how to group the xors.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|/ / |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Also add missing tests to test_pydoc.
|
| |
| |
| |
| |
| | |
Also update news entry for SMTPException; when I changed it from
IOError to OSError I forgot to update the news item.
|
| | |
|
| |
| |
| |
| | |
And more news entry clarifications.
|
| |
| |
| |
| | |
Also clarify some NEWS entries.
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \ |
|