- 09 Jan, 2014 5 commits
-
-
Serhiy Storchaka authored
value. (fixes error in patch for issue #18960)
-
Benjamin Peterson authored
-
Serhiy Storchaka authored
* 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 authored
-
Serhiy Storchaka authored
consumption.
-
- 08 Jan, 2014 4 commits
-
-
R David Murray authored
-
Victor Stinner authored
-
Victor Stinner authored
error instead of returning -1.
-
Gregory P. Smith authored
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).
-
- 07 Jan, 2014 1 commit
-
-
Serhiy Storchaka authored
* 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.
-
- 04 Jan, 2014 3 commits
-
-
Stefan Krah authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
- 02 Jan, 2014 7 commits
-
-
Benjamin Peterson authored
Patch from Claudiu Popa.
-
R David Murray authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Zachary Ware authored
time.get_clock_info('monotonic').resolution == 0.015600099999999999 This is just a workaround pending a real resolution to #20101.
-
Victor Stinner authored
escapechar, quotechar)
-
Victor Stinner authored
Fix typo: "os" format => "Os"
-
- 01 Jan, 2014 3 commits
-
-
Ned Deily authored
-
Benjamin Peterson authored
-
Antoine Pitrou authored
Patch by Vajrasky Kok.
-
- 31 Dec, 2013 2 commits
-
-
R David Murray authored
-
Zachary Ware authored
-
- 29 Dec, 2013 1 commit
-
-
Senthil Kumaran authored
-
- 28 Dec, 2013 1 commit
-
-
Antoine Pitrou authored
Issue #19422: Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than silently let them emit clear text data.
-
- 27 Dec, 2013 1 commit
-
-
R David Murray authored
In issue 20074 it was pointed out that getpass would fail with a traceback if stdin was, for example /dev/null, which is a non-unlikely scenario. Also backported the tests from issue 17484 as modified by issue 18116. (What I really did was copy getpass.py and test_getpass.py from their state on tip as of 17bd04fbf3d3).
-
- 26 Dec, 2013 3 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Zachary Ware authored
disabled since 3.0 due to the changes in listcomp handling.
-
- 25 Dec, 2013 4 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
methods.
-
Serhiy Storchaka authored
-
- 24 Dec, 2013 1 commit
-
-
Serhiy Storchaka authored
-
- 23 Dec, 2013 3 commits
-
-
Serhiy Storchaka authored
the same result as in 2.x.
-
Serhiy Storchaka authored
-
Benjamin Peterson authored
-
- 22 Dec, 2013 1 commit
-
-
Antoine Pitrou authored
-