- 09 Ock, 2014 13 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
Antoine Pitrou yazdı
-
Antoine Pitrou yazdı
-
Serhiy Storchaka yazdı
value. (fixes error in patch for issue #18960)
-
Serhiy Storchaka yazdı
value. (fixes error in patch for issue #18960)
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Serhiy Storchaka yazdı
* The first line of Python script could be executed twice when the source encoding (not equal to 'utf-8') was specified on the second line. * Now the source encoding declaration on the second line isn't effective if the first line contains anything except a comment. * As a consequence, 'python -x' works now again with files with the source encoding declarations specified on the second file, and can be used again to make Python batch files on Windows. * The tokenize module now ignore the source encoding declaration on the second line if the first line contains anything except a comment. * IDLE now ignores the source encoding declaration on the second line if the first line contains anything except a comment. * 2to3 and the findnocoding.py script now ignore the source encoding declaration on the second line if the first line contains anything except a comment.
-
Serhiy Storchaka yazdı
* The first line of Python script could be executed twice when the source encoding (not equal to 'utf-8') was specified on the second line. * Now the source encoding declaration on the second line isn't effective if the first line contains anything except a comment. * As a consequence, 'python -x' works now again with files with the source encoding declarations specified on the second file, and can be used again to make Python batch files on Windows. * The tokenize module now ignore the source encoding declaration on the second line if the first line contains anything except a comment. * IDLE now ignores the source encoding declaration on the second line if the first line contains anything except a comment. * 2to3 and the findnocoding.py script now ignore the source encoding declaration on the second line if the first line contains anything except a comment.
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Serhiy Storchaka yazdı
consumption.
-
Serhiy Storchaka yazdı
consumption.
-
- 08 Ock, 2014 12 kayıt (commit)
-
-
R David Murray yazdı
And a news item rephrase.
-
R David Murray yazdı
-
R David Murray yazdı
-
R David Murray yazdı
And more news item tweaks.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
exception on error instead of returning -1.
-
Victor Stinner yazdı
error instead of returning -1.
-
Eric Snow yazdı
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.
-
Gregory P. Smith yazdı
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).
-
Gregory P. Smith yazdı
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).
-
Guido van Rossum yazdı
-
- 07 Ock, 2014 15 kayıt (commit)
-
-
Larry Hastings yazdı
-
Zachary Ware yazdı
-
Brett Cannon yazdı
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.
-
Brett Cannon yazdı
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.
-
Larry Hastings yazdı
to improve readability.
-
Larry Hastings yazdı
collides with a C keyword, it no longer exposes that rename to PyArg_Parse.
-
Larry Hastings yazdı
format unit.
-
Larry Hastings yazdı
default values. inspect.Signature correspondingly supports them in __text_signature__ fields for builtins.
-
R David Murray yazdı
Also add one missing versionadded.
-
Serhiy Storchaka yazdı
* 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.
-
Serhiy Storchaka yazdı
* 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.
-
Brett Cannon yazdı
source-compatibility instead of 2to3.
-
Victor Stinner yazdı
the error message.
-
Eric Snow yazdı
-
Eric Snow yazdı
-