[issue5233] IDLE: exec IDLESTARTUP/PYTHONSTARTUP on restart

2014-10-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: Enhance 2.7 IDLE to exec IDLESTARTUP/PYTHONSTARTUP on restart -> IDLE: exec IDLESTARTUP/PYTHONSTARTUP on restart ___ Python tracker ___

[issue21574] Port image types detections from PIL to the imghdr module

2014-10-02 Thread Andriy Sokolovskiy
Andriy Sokolovskiy added the comment: Hi! Here is first version of patch. What I've done: * Ported 10 new image formats from PIL (tests included) * Improved existing file detections like PIL does. * Add some byte manipulation routines One more thing - I removed `ord()` calls, because python3 exp

[issue21574] Port image types detections from PIL to the imghdr module

2014-10-02 Thread Andriy Sokolovskiy
Changes by Andriy Sokolovskiy : Added file: http://bugs.python.org/file36786/issue21574.zip ___ Python tracker ___ ___ Python-bugs-list mailin

[issue12274] "Print window" menu on IDLE aborts whole application

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Closing since the immediate problem has been fixed and there is a reference to this in #21696 -- dependencies: -Idle: test configuration files resolution: -> fixed ___ Python tracker

[issue21696] Idle: test configuration files

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #12274, but it might be consulted before closing this. -- ___ Python tracker ___ ___ Python

[issue22539] Table formatting errors in pydoc

2014-10-02 Thread Ned Deily
Changes by Ned Deily : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

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

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch for #17511 did not solve the issue; I proposed a revision in #22179. A patch for that may fix this also. -- dependencies: +Idle. Search dialog found text not highlited on Windows ___ Python tracker

[issue22530] re rejects index of type long on 2.7

2014-10-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: thanks. btw an alternative type check to consider in these situations: PyIndex_Check https://docs.python.org/2/c-api/number.html#c.PyIndex_Check but what you wrote works. -- nosy: +gregory.p.smith ___ Python tra

[issue22543] -W option cannot use non-standard categories

2014-10-02 Thread Rémi Rampin
New submission from Rémi Rampin: warnings._processoptions is called very early, before site-packages are enabled. Because of this, using a non-standard 'category' will almost certainly fail with the message: Invalid -W option ignored: invalid module name: '...' The -W option would be a lo

[issue8138] wsgiref.simple_server.SimpleServer claims to be multithreaded

2014-10-02 Thread Santiago Gala
Santiago Gala added the comment: Something like this should do it: $ diff -u /usr/lib/python2.7/wsgiref/simple_server.py{~,} --- /usr/lib/python2.7/wsgiref/simple_server.py~2014-10-02 23:32:47.718382895 +0200 +++ /usr/lib/python2.7/wsgiref/simple_server.py 2014-10-02 14:36:10.662220865

[issue21339] IDLE crash on OS X 1.9 upon shut-down with many windows open

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Which tk? Did you ever activate Debugger in the session (known problem, see #15347)? Can you reproduce this with a series of step you can post? How were you shutting down (I have had problems with 'Close Windows on a Windows Taskbar icon right-click menu)? --

[issue17824] pty.spawn handles errors improperly

2014-10-02 Thread Mark Lawrence
Mark Lawrence added the comment: Can a linux guru comment on this please. -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.3 ___ Python tracker ___ _

[issue17848] issue about compile with clang and build a shared lib

2014-10-02 Thread Mark Lawrence
Mark Lawrence added the comment: The patch changes four lines in Modules/_ctypes/libffi/configure.ac which means nothing to me, can someone review it please. -- nosy: +BreamoreBoy versions: +Python 3.5 ___ Python tracker

[issue18027] distutils should access stat_result timestamps via .st_*time attributes

2014-10-02 Thread Mark Lawrence
Mark Lawrence added the comment: @Eric what is your opinion on this? -- nosy: +BreamoreBoy type: -> enhancement versions: +Python 3.5 ___ Python tracker ___

[issue21339] IDLE crash on OS X 10.9 upon shut-down with many windows open

2014-10-02 Thread Ned Deily
Ned Deily added the comment: >From the traceback, it does appear that the debugger was in use. Since >there's not much else to go on here, I suggest closing this as a duplicate of >#15347. -- assignee: ronaldoussoren -> title: IDLE crash on OS X 1.9 upon shut-down with many windows o

[issue14576] IDLE: inconsistent use of HOMEDRIVE, HOMEPATH, and USERPROFILE on Windows

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Divyanshu, please do not hijack by changing the title to a different issue. There are multiple causes for the message, some unknown. Your non-standard system is different from that of clikkeb. -- title: IDLE: "IDLE's subprocess didn't make connection

[issue5680] Command-line arguments when running in IDLE

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have a recent idea that there should be a separate and persistent execution process for each file run. This would make it easy to persist the cmd lines args for a particular module. -- versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 _

[issue9883] minidom: AttributeError: DocumentFragment instance has no attribute 'writexml'

2014-10-02 Thread Mark Lawrence
Mark Lawrence added the comment: Can someone please confirm that my assessment of this as an enhancement is correct, thanks. -- nosy: +BreamoreBoy type: behavior -> enhancement versions: +Python 3.5 -Python 2.6 ___ Python tracker

[issue16425] minidom replaceChild(new_child, old_child) removes new_child even if in another document

2014-10-02 Thread Mark Lawrence
Mark Lawrence added the comment: Who is best placed to look at this as nobody is listed on the experts index? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 ___ Python tracker _

[issue18052] IDLE 3.3.2 Windows taskbar icon needs reboot after install

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steve, would it possible for the installer to tell users to Restart to get (Idle) icons working properly? (Assuming that this cannot be made unnecessary.) -- components: -IDLE nosy: +steve.dower title: IDLE 3.3.2 Windows taskbar icon regression -> IDL

[issue19468] Relax the type restriction on reloaded modules

2014-10-02 Thread Mark Lawrence
Mark Lawrence added the comment: Can we or can't we remove the check as Eric has proposed in msg201874? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.4 ___ Python tracker ___

[issue15371] test_cmd_line_script should include namespace package tests

2014-10-02 Thread Mark Lawrence
Mark Lawrence added the comment: Sorry I've no idea whether this should be set to enhancement request, behaviour or what. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker

[issue15347] IDLE - does not close if the debugger was active

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: #21339, closed as a duplicate of this, has a traceback might be helpful. -- ___ Python tracker ___ _

[issue21339] IDLE crash on OS X 10.9 upon shut-down with many windows open

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I added a note to #21339 about the traceback here. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> IDLE crash on OS X 10.9 upon shut-down with many windows open ___ Python track

[issue22540] speed up isinstance and issubclass for the usual cases

2014-10-02 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue19477] document tp_print() as being dead in Py3

2014-10-02 Thread Mark Lawrence
Mark Lawrence added the comment: @Stefan can you provide a patch for this? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.1, Python 3.2, Python 3.3 ___ Python tracker ___

[issue19489] move quick search box above TOC

2014-10-02 Thread Mark Lawrence
Mark Lawrence added the comment: If this is referring to the box on docs.python.org shouldn't this be logged elsewhere? -- nosy: +BreamoreBoy ___ Python tracker ___

[issue19489] move quick search box above TOC

2014-10-02 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy nosy: +ezio.melotti stage: -> needs patch type: -> enhancement ___ Python tracker ___ _

[issue18052] IDLE 3.3.2 Windows taskbar icon needs reboot after install

2014-10-02 Thread Steve Dower
Steve Dower added the comment: This is probably because the program items are advertised. I have 2.7 and 3.3 installed, and when I pin the 3.3 Idle it switches to the 2.7 one. I guess there's a GUID somewhere that makes the two icons identical, but I don't know where that would be. This probab

[issue19469] Duplicate namespace package portions (but not on Windows)

2014-10-02 Thread Mark Lawrence
Mark Lawrence added the comment: Just a gentle reminder guys. -- nosy: +BreamoreBoy versions: +Python 3.5 ___ Python tracker ___ ___ P

[issue19472] inspect.getsource() raises a wrong exception type

2014-10-02 Thread Mark Lawrence
Mark Lawrence added the comment: @Yury do you agree with this? -- nosy: +BreamoreBoy, yselivanov ___ Python tracker ___ ___ Python-bug

[issue19558] Provide Tcl/Tk linkage information for extension module builds

2014-10-02 Thread Mark Lawrence
Mark Lawrence added the comment: @Ned just a reminder as I see you've been talking tcl/tk on c.l.py earlier today. -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue22445] Memoryviews require more strict contiguous checks then necessary

2014-10-02 Thread Sebastian Berg
Sebastian Berg added the comment: Numpy 1.9. was only released recently, so 1.10. might be a while. If no problems show up during release or until then, we will likely switch it by then. But that could end up being a year from now, so I am not sure if 3.6 might not fit better. The problems should

[issue22534] bsddb memory leak with MacPorts bdb 4.6

2014-10-02 Thread TJ
TJ added the comment: For future visitors, here is the MacPorts issue: https://trac.macports.org/ticket/45247 -- ___ Python tracker ___ _

[issue14645] Generator does not translate linesep characters in certain circumstances

2014-10-02 Thread Yu Zhao
Yu Zhao added the comment: This at least shouldn't be done for the BytesGenerator - it breaks binary data integrity. IMO, doing it for the string Generator is not necessary either. The linesep is a policy regarding to MIME syntax. It shouldn't be applied to the payload. Imagine what would happ

[issue19477] document tp_print() as being dead in Py3

2014-10-02 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue22543] -W option cannot use non-standard categories

2014-10-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: How would this work? Would it auto-import the module? -- nosy: +brett.cannon, pitrou ___ Python tracker ___

[issue22543] -W option cannot use non-standard categories

2014-10-02 Thread Rémi Rampin
Rémi Rampin added the comment: It already does auto-import, but it does it before site-packages are set up, meaning that it fails in any practical setup. See _getcategory(), called by _processoptions(): https://hg.python.org/cpython/file/b15c5a66213f/Lib/warnings.py#l148 -- _

[issue14645] Generator does not translate linesep characters in certain circumstances

2014-10-02 Thread R. David Murray
R. David Murray added the comment: The payload must also use \r\n per RFC, unless it is a non-text part, in which case it uses \r\n to separate the content transfer encoded lines. If you want binary integrity you must use a binary MIME type. -- ___

[issue4661] email.parser: impossible to read messages encoded in a different encoding

2014-10-02 Thread Yu Zhao
Yu Zhao added the comment: BytesParser.parse uses TextIOWrapper which by default translates universal newlines to '\n'. This breaks binary payload. Fix the problem by disabling the translation. -- components: +email -Library (Lib) nosy: +yu.z...@getcwd.com Added file: http://bugs.pytho

[issue14645] Generator does not translate linesep characters in certain circumstances

2014-10-02 Thread Yu Zhao
Yu Zhao added the comment: Ack (Per rfc2046 4.1.1). Since the _writeBody is set to _handle_text when no proper handler exists, the problem should be fixed by adding a binary body handler to BytesGenerator. Will create a separate issue to track the problem. -- _

[issue18052] IDLE 3.3.2 Windows taskbar icon needs reboot after install

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the reply. I am assuming that you do not need this open as a reminder. So I will close it and wait for 3.5. -- resolution: -> postponed stage: needs patch -> resolved status: open -> closed versions: +Python 3.5 -Python 3.3 ___

[issue17848] issue about compile with clang and build a shared lib

2014-10-02 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue14645] Generator does not translate linesep characters in certain circumstances

2014-10-02 Thread R. David Murray
R. David Murray added the comment: There already is one: issue 19003. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue14645] Generator does not translate linesep characters in certain circumstances

2014-10-02 Thread R. David Murray
R. David Murray added the comment: Well, that may not be exactly the same issue, but I suspect it is related. -- ___ Python tracker ___ __

[issue16758] IDLE SubprocessStartupError

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are multiple possible reasons, some fixed, some not. -- nosy: +terry.reedy resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> IDLE's subprocess didnit make connection . Python 2.7 _

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I explained somewhere else that a secondary prompt would be wrong for Idle since the primary prompt asks for a *statement*, not just the first line of the statement. The advantage is being able to edit and recall entire statements, not just one line. This i

[issue19677] IDLE displaying a CoreAnimation warning

2014-10-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pytho

[issue8473] doctest fails if you have inconsistent lineendings

2014-10-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4a5f79ca8ef0 by R David Murray in branch '2.7': #8473: make doctest.testfile use universal newline mode. https://hg.python.org/cpython/rev/4a5f79ca8ef0 New changeset e6050cd9e29e by R David Murray in branch '3.4': #8473: Add tests that doctest uses

[issue19367] IDLE wont open

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Duplicate of other, similar reports; no new information. -- resolution: -> duplicate stage: -> resolved status: open -> closed versions: +Python 2.7 -Python 3.3 ___ Python tracker

[issue8473] doctest fails if you have inconsistent lineendings

2014-10-02 Thread R. David Murray
R. David Murray added the comment: I changed the test text to talk only about universal newline mode, since that is what it is testing. Someone could add a test for actual mixed line endings to it if they like. -- nosy: +r.david.murray resolution: -> fixed stage: commit review -> res

[issue18873] "Encoding" detected in non-comment lines

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: This looks like it could be closed. We normally do not patch PEPs after they are implemented. Does a corrected version of something in PEP263 need to be added to the ref manual? -- components: -IDLE versions: +Python 3.5 -Python 3.3 ___

[issue21519] IDLE : Bug in keybinding validity check

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: #6739 may also be relevant -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6739] IDLE window won't start or show up after assgining new key in options v2.5.2 and 3.1.1

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: #21519 also patched key validation -- versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Py

[issue13586] IDLE: Replace selected not working/consistent with find

2014-10-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: needs patch -> patch review versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Python-

[issue15348] IDLE - shell becomes unresponsive if debugger windows is closed while active.

2014-10-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1207613] Bottom Scroll Bar in IDLE

2014-10-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: kbk -> versions: +Python 2.7, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list maili

[issue1207613] Bottom Scroll Bar in IDLE

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: patch to be pulled from idlex -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-lis

[issue10909] thread hang, possibly related to print

2014-10-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: needs patch -> patch review versions: +Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-

[issue16233] IDLE: conceptual problems with *Class browser*

2014-10-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15808] Possibility of setting custom key bindings for "Additional help sources" menu items

2014-10-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15808] Possibility of setting custom key bindings for "Additional help sources" menu items

2014-10-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue22541] Support both side_effect and return_value in a more human way

2014-10-02 Thread Michael Foord
Michael Foord added the comment: One of the use cases for side_effect is for dynamically changing the returned value based on input - so your option 1 just doesn't work. Using two line functions would make your code easier to read, and then your "workarounds" would look natural instead of awkw

[issue13884] IDLE: Remove tear-off menu feature

2014-10-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13220] print function unable while multiprocessing.Process is being run

2014-10-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue16198] IDLE - tabbing in a string always brings up file completion window

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have had problems entering docstrings because of this. Box should not come us when tab on successive lines. (There really should be autoindent, maybe this interferes.) -- stage: needs patch -> patch review versions: +Python 2.7, Python 3.5 -Python

[issue6804] IDLE: Detect Python files even if name doesn't end in .py

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: #6858 was the issue I referred to. Recognizing #!...python, common on *nex, which the patch does not do, seems sensible. I thought about coding line, but general idea is not specific to python. -- stage: -> patch review versions: +Python 2.7, Python

[issue6171] IDLE - Class Browser selection in Ubuntu

2014-10-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy stage: -> patch review versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker ___

[issue11820] idle3 shell os.system swallows shell command output

2014-10-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list m

<    1   2