1. 09 Jan, 2014 3 commits
    • Serhiy Storchaka's avatar
      Issue #18960: Fix bugs with Python source code encoding in the second line. · 768c16ce
      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.
      768c16ce
    • Benjamin Peterson's avatar
      fix zipimport ref leak · 21e7d4cd
      Benjamin Peterson authored
      21e7d4cd
    • Serhiy Storchaka's avatar
      5ce3f10a
  2. 08 Jan, 2014 4 commits
  3. 07 Jan, 2014 1 commit
    • Serhiy Storchaka's avatar
      Issue #20072: Fixed multiple errors in tkinter with wantobjects is False. · a21acb5d
      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.
      a21acb5d
  4. 04 Jan, 2014 3 commits
  5. 02 Jan, 2014 7 commits
  6. 01 Jan, 2014 3 commits
  7. 31 Dec, 2013 2 commits
  8. 29 Dec, 2013 1 commit
  9. 28 Dec, 2013 1 commit
  10. 27 Dec, 2013 1 commit
    • R David Murray's avatar
      #18116: backport fix to 3.3 since real-world failure mode demonstrated. · ecff5e51
      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).
      ecff5e51
  11. 26 Dec, 2013 3 commits
  12. 25 Dec, 2013 4 commits
  13. 24 Dec, 2013 1 commit
  14. 23 Dec, 2013 3 commits
  15. 22 Dec, 2013 3 commits