[issue21476] Inconsitent behaviour between BytesParser.parse and Parser.parse

2014-06-01 Thread Vajrasky Kok
Vajrasky Kok added the comment: Ok, here is the updated patch based on R. David Murray's help. Thanks! -- Added file: http://bugs.python.org/file35424/bytes_parser_dont_close_file_v4.patch ___ Python tracker rep...@bugs.python.org

[issue21623] build ssl failed use vs2010 express

2014-06-01 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +steve.dower, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21623 ___ ___ Python-bugs-list

[issue18132] buttons in turtledemo disappear on small screens

2014-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe I have read more than one warning to not mix grid and pack in the same master, as your patch does. For example: http://effbot.org/tkinterbook/grid.htm, An option would be to grid everything. I believe grid would also fix issue #21597, so I may try

[issue21618] POpen does not close fds when fds have been inherited from a process with a higher resource limit

2014-06-01 Thread Gregory P. Smith
Gregory P. Smith added the comment: Here's a patch with a unittest that reproduces the problem with fixes to stop using any end_fds. The max fd is only ever used in the absolute fallback situation where no way to get a list of open fd's is available. In that case it is obtained from

[issue21592] Make statistics.median run in linear time

2014-06-01 Thread Stefan Behnel
Stefan Behnel added the comment: I tried the same with a Cython compiled version of select.py in the latest CPython 3.5 build. It pretty clearly shows that select2 is pretty much always faster than sorting, by a factor of 2-5x or so. I'll also attach the annotated source file that Cython

[issue21592] Make statistics.median run in linear time

2014-06-01 Thread Stefan Behnel
Changes by Stefan Behnel sco...@users.sourceforge.net: Added file: http://bugs.python.org/file35427/select.html ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21592 ___

[issue21592] Make statistics.median run in linear time

2014-06-01 Thread Stefan Behnel
Stefan Behnel added the comment: Here's also the pathological average of three calls case. As Steven suggests, it shows that select() suffers quite heavily (algorithmically), but select2() also suffers enough to jump up to about 2/3 of the runtime of sorting (so it's still 1/3 faster even

[issue21605] Add tests for Tkinter images

2014-06-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset fcbb15edb73a by Serhiy Storchaka in branch '2.7': Issue #21605: Added tests for Tkinter images. http://hg.python.org/cpython/rev/fcbb15edb73a New changeset 6c8b2ab55976 by Serhiy Storchaka in branch '3.4': Issue #21605: Added tests for Tkinter

[issue21605] Add tests for Tkinter images

2014-06-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21605 ___

[issue21459] DragonFlyBSD support

2014-06-01 Thread Thomas Klausner
Thomas Klausner added the comment: Actually, there are even less changes needed nowadays. Please apply this really small patch. -- Added file: http://bugs.python.org/file35428/dragonfly.diff ___ Python tracker rep...@bugs.python.org

[issue21459] DragonFlyBSD support

2014-06-01 Thread Thomas Klausner
Changes by Thomas Klausner t...@giga.or.at: Removed file: http://bugs.python.org/file35195/dragonfly.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21459 ___

[issue21592] Make statistics.median run in linear time

2014-06-01 Thread Stefan Behnel
Stefan Behnel added the comment: Updating the type declaration file to remove the dependency on the list builtin and allow arbitrary containers. The test code has this dependency (calls a.sort()), but the current statistics module in the stdlib does not (calls sorted()). Timings do not

[issue21592] Make statistics.median run in linear time

2014-06-01 Thread Stefan Behnel
Changes by Stefan Behnel sco...@users.sourceforge.net: Added file: http://bugs.python.org/file35430/select.html ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21592 ___

[issue21625] help()'s more-mode is frustrating

2014-06-01 Thread Ned Batchelder
New submission from Ned Batchelder: From the #python IRC channel: ``` [07:55:29] tonysar hello.new to programming and python, i use mac terminal but problem i have is , when i use help function of python to look up something , i lose my prompt and i have no idea how to go back , what i

[issue21592] Make statistics.median run in linear time

2014-06-01 Thread Julian Taylor
Julian Taylor added the comment: in the case of the median you can archive similar performance to a multiselect by simply calling min([len(data) // 2 + 1]) for the second order statistic which you need for the averaging of even number of elements. maybe an interesting datapoint would be to

[issue21580] PhotoImage(data=...) apparently has to be UTF-8 or Base-64 encoded

2014-06-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file35402/tkinter_bytes.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21580 ___

[issue21580] PhotoImage(data=...) apparently has to be UTF-8 or Base-64 encoded

2014-06-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file35431/tkinter_bytes.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21580 ___

[issue21580] PhotoImage(data=...) apparently has to be UTF-8 or Base-64 encoded

2014-06-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Unfortunately we can't use this straightforward and universal solution in Python 2. Here is a patch which adds special workarounds to fix this issue in 2.7. -- Added file: http://bugs.python.org/file35432/tkinter_bytes-2.7.patch

[issue21459] DragonFlyBSD support

2014-06-01 Thread Thomas Klausner
Thomas Klausner added the comment: Semaphore handling needs another change. if sem_open etc. are not provided by the operating system, do not export them (Modules/_multiprocessing/multiprocessing.c). Updated diff attached. That part of the diff might affect more operating systems. --

[issue21459] DragonFlyBSD support

2014-06-01 Thread Thomas Klausner
Changes by Thomas Klausner t...@giga.or.at: Removed file: http://bugs.python.org/file35428/dragonfly.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21459 ___

[issue21552] String length overflow in Tkinter

2014-06-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21552 ___

[issue21626] Add options width and compact to pickle cli

2014-06-01 Thread B. Clausius
New submission from B. Clausius: The attached patch add this options to python3 -m pickle cli: -w WIDTH, --width WIDTH maximum number of characters per line -c, --compact display as many items as will fit on each output line The options are forwarded as kwargs

[issue21626] Add options width and compact to pickle cli

2014-06-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +alexandre.vassalotti, pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21626 ___

[issue18504] IDLE:Improvements- Improving Mock_Text

2014-06-01 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: This patch tries to enable mock_Tk.Text._decode to handle the following patterns insert linestart insert lineend insert wordstart insert wordend insert +x chars insert -x chars These additions are required for testing AutoExpand and are written keeping the

[issue21623] build ssl failed use vs2010 express

2014-06-01 Thread Mo Jia
Mo Jia added the comment: Another error is . cd D:\Hg\Python\Python\PCbuild\ D:\Hg\Python\Python\PCbuild\python_d.exe build_ssl.py Release Win32 -a Found a working perl at 'C:\Perl\bin\perl.exe' Traceback (most recent call last): File build_ssl.py, line 253, in module main()

[issue18292] IDLE Improvements: Unit test for AutoExpand.py

2014-06-01 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Attached patch adds unittest for idlelib`s AutoExpand. Depends on issue18504 for Text's mocking abilities. -- keywords: +patch nosy: +jesstess, sahutd Added file: http://bugs.python.org/file35436/test-autoexpand.diff

[issue21401] python2 -3 does not warn about str/unicode to bytes conversions and comparisons

2014-06-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think that even if we accept this change (I am unsure in this), a warning should be raised only when bytes and unicode objects are equal. When they are not equal, a warning should not be raised, because this matches Python 3 behavior. --

[issue1669539] Improve Windows os.path.join (ntpath.join) smart joining

2014-06-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1669539 ___ ___

[issue21231] Issue a python 3 warning when old style classes are defined.

2014-06-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21231 ___ ___

[issue18492] Allow all resources if not running under regrtest.py

2014-06-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18492 ___ ___

[issue19656] Add Py3k warning for non-ascii bytes literals

2014-06-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Benjamin, what you think about this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19656 ___ ___

[issue20361] -W command line options and PYTHONWARNINGS environmental variable should not override -b / -bb command line options

2014-06-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: patch review - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20361 ___ ___

[issue20168] Derby: Convert the _tkinter module to use Argument Clinic

2014-06-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Synchronized with tip. -- Added file: http://bugs.python.org/file35437/tkinter_clinic_3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20168 ___

[issue20148] Derby: Convert the _sre module to use Argument Clinic

2014-06-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file35438/sre_clinic_3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20148 ___

[issue14019] Unify tests for str.format and string.Formatter

2014-06-01 Thread moijes12
moijes12 added the comment: Note that this issue wasn't about the formatter module - it relates to the str.format() method and the string.Formatter *class*. I would tend to agree with Nick and Eric. From what I see in the patch, the tests are for formatter module and not the

[issue21618] POpen does not close fds when fds have been inherited from a process with a higher resource limit

2014-06-01 Thread Steven Stewart-Gallus
Steven Stewart-Gallus added the comment: Thank you for the very quick patch Gregory P. Smith. It's fair enough if you don't bother to fix the EINTR issue. One small note: +Confirm that issue21618 is fixed (mail fail under valgrind). That's a typo right? Shouldn't it be may instead

[issue21627] Concurrently closing files and iterating over the open files directory is not well specified

2014-06-01 Thread Steven Stewart-Gallus
New submission from Steven Stewart-Gallus: Hello, I noticed some possible bad behaviour while working on Python issue 21618 (see http://bugs.python.org/issue21618). Python has the following code in _posixsubmodules.c for closing extra files before spawning a process: static void

[issue21628] 2to3 does not fix zip in some cases

2014-06-01 Thread RobertG
New submission from RobertG: Consider this program def foo(a,b): return min(zip(a,b)[2]) print foo(range(5), (0,9,-9)) With the default options, 2to3 rewrites this as def foo(a,b): return min(zip(a,b)[2]) print(foo(list(range(5)), (0,9,-9))) For some reason, 2to3 fails to

[issue21629] clinic.py --converters fails

2014-06-01 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: $ ./python Tools/clinic/clinic.py --converters Legacy converters: Traceback (most recent call last): File Tools/clinic/clinic.py, line 4199, in module sys.exit(main(sys.argv[1:])) File Tools/clinic/clinic.py, line 4131, in main print('' + '

[issue21630] List Dict bug?

2014-06-01 Thread Robert w
New submission from Robert w: outer for loop loops n 1 times, when it should loop one time. Variations are possible tht the bug doesn't occur. -- components: Interpreter Core files: bug.py messages: 219513 nosy: Robert.w priority: normal severity: normal status: open title: List Dict

[issue21630] List Dict bug?

2014-06-01 Thread Robert w
Changes by Robert w robert...@googlemail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21630 ___ ___

[issue21631] List/Dict Combination Bug

2014-06-01 Thread Robert w
New submission from Robert w: outer for loop loops more than one time, which should be impossible. -- components: Interpreter Core files: bug.py messages: 219514 nosy: Robert.w priority: normal severity: normal status: open title: List/Dict Combination Bug type: behavior versions:

[issue21631] List/Dict Combination Bug

2014-06-01 Thread SilentGhost
SilentGhost added the comment: Robert, could you please post a reduced code that generates the bug. Preferably, a interpreter output. Including information about your python version, OS, etc. For example: Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type help,

[issue21625] help()'s more-mode is frustrating

2014-06-01 Thread eryksun
eryksun added the comment: Why does help() enter a more-mode for even short help? `more` exits if there's less than a page of a text. The default for `less` is to quit when q is entered. You may be interested in the option -e (quit-at-eof). Why doesn't ENTER get you out of it? ENTER

[issue21628] 2to3 does not fix zip in some cases

2014-06-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21628 ___ ___

[issue21630] List Dict bug?

2014-06-01 Thread R. David Murray
R. David Murray added the comment: If I put a 'print(one iteration) at the top of the loop, that string is printed exactly once. I presume you realized that and that is why you closed this? -- nosy: +r.david.murray resolution: - not a bug ___

[issue21631] List/Dict Combination Bug

2014-06-01 Thread R. David Murray
R. David Murray added the comment: Oh, this is the same code as in issue 21630 that you closed. Since the loop is only executed once (as confirmed by adding a print), I suspect you have a bug in your expectations of the output :) -- nosy: +r.david.murray

[issue19656] Add Py3k warning for non-ascii bytes literals

2014-06-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6bd21268876e by Serhiy Storchaka in branch '2.7': Issue #19656: Running Python with the -3 option now also warns about http://hg.python.org/cpython/rev/6bd21268876e -- nosy: +python-dev ___ Python

[issue19656] Add Py3k warning for non-ascii bytes literals

2014-06-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19656

[issue21625] help()'s more-mode is frustrating

2014-06-01 Thread Ned Batchelder
Ned Batchelder added the comment: Thanks, this is a very complete explanation of the machinery behind the scenes. I think we would do beginners a service if we made the behavior a bit less obscure. Are there ways that we could (for example) have the prompt say END (q to quit) instead of

[issue21632] Idle: sychronize text files across versions as appropriate.

2014-06-01 Thread Terry J. Reedy
New submission from Terry J. Reedy: Spinoff of #7136: In pushing the patch for that issue, I discovered that formatting changes for help.txt (and maybe /Doc/library/idle.rst) had been applied unevenly. See msg192141, which suggests this issue. 3.3 versus 3.4 differences are moot, so this now

[issue20886] Disabling logging to ~/.python_history is not simple enough

2014-06-01 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20886 ___ ___ Python-bugs-list mailing list

[issue10652] test___all_ + test_tcl fails (Windows installed binary)

2014-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Zach, do you have any further thoughts in light of patches pushed since? What do you think is the exact remaining issue? -- assignee: terry.reedy - ___ Python tracker rep...@bugs.python.org

[issue21468] NNTPLib connections become corrupt after long periods of activity

2014-06-01 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21468 ___ ___ Python-bugs-list mailing list

[issue21618] POpen does not close fds when fds have been inherited from a process with a higher resource limit

2014-06-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5453b9c59cd7 by Gregory P. Smith in branch '3.4': Don't restrict ourselves to a max fd when closing fds before exec() http://hg.python.org/cpython/rev/5453b9c59cd7 New changeset 012329c8c4ec by Gregory P. Smith in branch 'default': Don't restrict

[issue21573] Clean up turtle.py code formatting

2014-06-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: I would like to provide a final review before of any proposed changes. Also, along the way, I would happy to provide suggestions for more substantive changes (instead of shallow PEP 8 or PyLint changes). The primary defect in the modules is that the code

[issue21618] POpen does not close fds when fds have been inherited from a process with a higher resource limit

2014-06-01 Thread Gregory P. Smith
Gregory P. Smith added the comment: Backported to subprocess32 in https://code.google.com/p/python-subprocess32/source/detail?r=1c27bfe7e98f78e6aaa746b5c0a4d902a956e2a5 -- resolution: - fixed stage: patch review - commit review status: open - closed versions: +Python 3.5

[issue20640] Idle: test configHelpSourceEdit

2014-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please redo 3.3 patch for current 3.4 (after htest change). -- title: Adds idle test for configHelpSourceEdit - Idle: test configHelpSourceEdit versions: +Python 3.5 -Python 3.3 ___ Python tracker

[issue18410] Idle: test SearchDialog.py

2014-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: #18592 has a patch for SearchDialogBase. -- title: IDLE Improvements: Unit test for SearchDialog.py - Idle: test SearchDialog.py versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Probably still need to add note to idle_test/README.txt. -- stage: commit review - needs patch versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20567

[issue20800] Cannot run gui tests twice.

2014-06-01 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20800 ___ ___

[issue20800] Cannot run gui tests twice.

2014-06-01 Thread Ned Deily
Ned Deily added the comment: For what it's worth, I don't see the problem on OS X (haven't tried it recently on a Linux system), so it might be a Windows only issue. It's become clearer that some test combinations can only be safely run with the regrtest -j option to run them as separate

[issue18409] Idle: test AutoComplete.py

2014-06-01 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: needs patch - patch review title: IDLE Improvements: Unit test for AutoComplete.py - Idle: test AutoComplete.py versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue18592] Idle: test SearchDialogBase.py

2014-06-01 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- title: IDLE: Unit test for SearchDialogBase.py - Idle: test SearchDialogBase.py versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18592

[issue18910] IDle: test textView.py

2014-06-01 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: - patch review title: IDLE: Unit test for textView.py - IDle: test textView.py versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18910

[issue20792] Idle: test PathBrowser more

2014-06-01 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- title: IDLE: Extend tests for PathBrowser - Idle: test PathBrowser more versions: +Python 2.7, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20792

[issue21611] int() docstring - unclear what number is

2014-06-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: I think there should be a precise definition of what is considered to be a number there. Sometimes precise definitions make the docs harder to use rather than easier. It is the goal of these docs to basically tell what int() does, not to provide a spec

[issue21612] IDLE should not open multiple instances of one file

2014-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Your report is a bit vague. Idle is supposed to only open a file once in a particular Idle process. If you have seen otherwise (but see below first), please complete the report: OS, exact Python version (x.y.z), exactly what you did. If you right-clicked in

[issue21631] List/Dict Combination Bug

2014-06-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: I've traced through your code and it doing exactly what it is specified to be doing (meaning that Python itself seems to be behaving correctly). Perhaps you wanted it to do something else, but that would be a bug in your own code. Please use the Python

[issue21197] venv does not create lib64 directory and appropriate symlinks

2014-06-01 Thread Ned Deily
Ned Deily added the comment: The added 64-bit test unnecessary adds an import for struct. The documented preferred test is: sys.maxsize 2**32 https://docs.python.org/dev/library/platform.html#platform.architecture -- ___ Python tracker

[issue21633] Argparse does not propagate HelpFormatter class to subparsers

2014-06-01 Thread Michael Cohen
New submission from Michael Cohen: Argparse has an option to set the custom help formatter class as a kwarg. For example one can define: class MyHelpFormatter(argparse.RawDescriptionHelpFormatter): def add_argument(self, action): if action.dest != SUPPRESS:

[issue21477] Idle: improve idle_test.htest

2014-06-01 Thread Ned Deily
Ned Deily added the comment: this patch includes a call to macosxSupport. _initializeTkVariantTests(root) in htest.run. Does this work on mac or is something else needed (like doing the same for individual tests that create another root)? That looks good and, in a quick spot check running a

[issue21573] Clean up turtle.py code formatting

2014-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think the *some* of the 'adultification' that you refer to is a result of Gregor reimplementing turtle in a tkinter-independent intermediate language or two, the lowest layer of which he then implemented in tkinter as one particular backend. He intended to

[issue21573] Clean up turtle.py code formatting

2014-06-01 Thread Lita Cho
Lita Cho added the comment: Thank you so much for your support, Terry. I really appreciate all your feedback. Your comments have been very helpful as I am learning Turtle and Tkinter. Most of my changes are related to spacing, visual indentation, consistent line spaces between method

[issue21548] pydoc -k IndexError on empty docstring

2014-06-01 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21548 ___ ___ Python-bugs-list

[issue21597] Allow turtledemo code pane to get wider.

2014-06-01 Thread Lita Cho
Changes by Lita Cho lita@gmail.com: -- nosy: +jesstess ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21597 ___ ___ Python-bugs-list mailing

[issue17172] Add turtledemo to IDLE menu

2014-06-01 Thread Lita Cho
Lita Cho added the comment: Okay! That makes sense. Any bugs that Turtle has, people will assume IDLE has them too if they launch it from IDLE. I will take on #21597, and work on that instead. Thanks! -- ___ Python tracker rep...@bugs.python.org

[issue21597] Allow turtledemo code pane to get wider.

2014-06-01 Thread Lita Cho
Lita Cho added the comment: I'll take this on. -- nosy: +Lita.Cho ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21597 ___ ___ Python-bugs-list

[issue21612] IDLE should not open multiple instances of one file

2014-06-01 Thread irdb
irdb added the comment: Yes, I am right-clicking the file through Windows Explorer as in some situations it seems much faster. (Opening through IDLE's file menu in a particular process works fine) If this is supposed to be so please close the issue. Although I don't understand why one would

[issue21627] Concurrently closing files and iterating over the open files directory is not well specified

2014-06-01 Thread Steven Stewart-Gallus
Steven Stewart-Gallus added the comment: Okay, I've made a simple proof of concept patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21627 ___

[issue21627] Concurrently closing files and iterating over the open files directory is not well specified

2014-06-01 Thread Steven Stewart-Gallus
Steven Stewart-Gallus added the comment: Gah, I had trouble figuring out mecurial. Close files after reading open files and not concurrently This commit removes the old behaviour of closing files concurrently with reading the system's list of open files and instead closes the files after the

[issue21597] Allow turtledemo code pane to get wider.

2014-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch for #18132 replaced pack with grid, But the replacement seemed partial even within the top frame (but I may have misread). Mixing the two is known to be a bad idea. http://effbot.org/tkinterbook/grid.htm has a big warning box about this. I think we

[issue21612] IDLE should not open multiple instances of one file

2014-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Notepad++, for instance (which I use), has one version installed, multiple panes, and only allows one instance to run. It matches Idle in only allowing a file to be opened in one process, which happens to be the only process. Idle, by contrast, can have

[issue13630] IDLE: Find(ed) text is not highlighted while dialog box is open

2014-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I currently have the same problem with Idle's builtin Search and Replace dialogs. In that respect, this is a duplicate of #18590. Since the discussion here shifted to a third party extension, I am closing this issue and leaving the other one open. --

[issue18590] 'Search' and 'Replace' dialogs don't work on quoted text in Windows

2014-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #18590 as a duplicate of this. -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18590 ___

[issue18292] Idle: test AutoExpand.py

2014-06-01 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: - patch review title: IDLE Improvements: Unit test for AutoExpand.py - Idle: test AutoExpand.py versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue21625] help()'s more-mode is frustrating

2014-06-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Are there ways that we could (for example) have the prompt say END (q to quit) instead of just END? Add following command to your profile file (~/.profile, ~/bashrc, or ~/.bash_aliases): export LESS='-PEND (q to quit)' And please don't break help().

[issue20800] Cannot run gui tests twice.

2014-06-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Does recent patch for issue20035 help? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20800 ___ ___

[issue18292] Idle: test AutoExpand.py

2014-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: For tests that use a Text widget, I want the first version to be a gui test using tkinter.Text. This removes mock Text as an issue in writing the tests. I will not commit without running the test 'live' at least once. Once the file (or at least a TestCase) is