[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

[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 ___

[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

[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

[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

[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:

[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

[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.

[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

[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:

[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-

[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

[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:

[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-

[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

[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:

[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 ___

[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

[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 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

[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

[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

[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 _

[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 ___ __

[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

[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

[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 ___

[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. -- _

[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 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. -- ___

[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 -- _

[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 ___

[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

[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

[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 ___ _

[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

[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 ___ _

[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

[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

[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

[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 ___ _

[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 ___

[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 ___

[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

[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

[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 ___ _

[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

[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 ___

[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

[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 _

[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

[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 _

[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

[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 ___

[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

[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 ___ _

[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)? --

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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 ___

[issue18875] Idle: Auto insertion of the closing parens, brackets, and braces

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: This would have to be an extension, default off unless overridden, which is why I added config-extensions as dependency. -- dependencies: +IDLE - Add an extension configuration dialog title: Automatic insertion of the closing parentheses, brackets, and

[issue21842] Fix IDLE in unicodeless build

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am not particularly interested in having Idle run on no-uhicode builds. I believe the usecase is to reduce the memory footprint of a python installation, and that would suggest not including tcl/tk, tkinter, and idlelib. Having Idle tests not fail on such a

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

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: A few years ago there was an issue where starting a new user process left the old user process continuing as a zombie. This time, it seems to be the idle process that becomes the zombie. I determined this by starting Idle in edit-only mode, noting the memory

[issue13664] UnicodeEncodeError in gzip when filename contains non-ascii

2014-10-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > The actual fix in the previous issue, as in Python 3, was to always write the > filename, but with errors replaced with '?/. Filename is optional in gzip file. If it can't be encoded to Latin1, it should be just omitted. Here is a patch which backports th

[issue13472] devguide doesn’t list all build dependencies

2014-10-02 Thread Berker Peksag
Changes by Berker Peksag : -- components: +Devguide keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue22181] os.urandom() should use Linux 3.17 getrandom() syscall

2014-10-02 Thread 700eb415
700eb415 added the comment: It's worth noting that LibreSSL has now enabled the blocked code. If anyone is interested, I would be willing to help port it. -- nosy: +700eb415 ___ Python tracker

[issue13407] tarfile.getnames misses members again

2014-10-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue22542] Use syscall (eg. arc4random or getentropy) rather than /dev/urandom when possible

2014-10-02 Thread Alex Gaynor
Alex Gaynor added the comment: arc4random() should be avoided IMO, on many systems (including OS X) it really is still arc4; this is basically a dupe of http://bugs.python.org/issue22181 -- nosy: +alex resolution: -> duplicate status: open -> closed ___

[issue22534] bsddb memory leak with MacPorts bdb 4.6

2014-10-02 Thread Ned Deily
Changes by Ned Deily : -- title: bsddb memory leak on Mac OS X 10.9 -> bsddb memory leak with MacPorts bdb 4.6 ___ Python tracker ___ ___

[issue22534] bsddb memory leak on Mac OS X 10.9

2014-10-02 Thread Ned Deily
Ned Deily added the comment: Yeah, and I'm not sure why they have their build pegged to bdb 4.6; they provide newer ports as well. I think we can close this issue then. Perhaps you could open a MacPorts issue and ask them to update their python27 port to use at least db47. -- resolu

[issue14929] IDLE crashes on *Edit / Find in files ...* command

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: As the 'crash' seems to have been solved, this should probably be closed and a new issue about encodings opened. Also, since the re module used to search lines within files can work with both bytes and strings, there might be an option to search undecoded byte

[issue22542] Use syscall (eg. arc4random or getentropy) rather than /dev/urandom when possible

2014-10-02 Thread 700eb415
New submission from 700eb415: Trying to run the python interpreter in a chroot fails if /dev/urandom is not present. Removing the "nodev" flag from the filesystem is not ideal in many situations. Instead, we should utilize functions such as OpenBSD's arc4random(3) and the new potential getent

[issue22534] bsddb memory leak on Mac OS X 10.9

2014-10-02 Thread TJ
TJ added the comment: I should have mentioned that this a Macports environment. So python, bsddb all come from there. Looks like that might be the culprit. -- ___ Python tracker ___

[issue8627] Unchecked PyErr_WarnPy3k return value in Objects/typeobject.c

2014-10-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: May be this patch will fix the issue. -- components: +Interpreter Core keywords: +patch nosy: +serhiy.storchaka stage: -> patch review type: -> behavior versions: -Python 2.6 Added file: http://bugs.python.org/file36783/issue8627.patch

[issue22534] bsddb memory leak on Mac OS X 10.9

2014-10-02 Thread Ned Deily
Ned Deily added the comment: Thanks for the detailed information. I'm not able to reproduce on OS X 10.9.5 with the python.org Python 2.7.8 which builds and links with its own copy of Sleepycat DB 4.7.25. However, I do see the memory leak when using a MacPorts Python 2.7.8 that is linked wit

[issue20577] IDLE: Remove FormatParagraph's width setting from config dialog

2014-10-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- dependencies: +IDLE - Add an extension configuration dialog ___ Python tracker ___ ___ Python-bugs-list

[issue21937] IDLE interactive window doesn't display unsaved-indicator

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Further experiments reveal that the **s mean 'the undo buffer is not empty'. Enter >>> import time; time.sleep(2) and ** do not disappear until sleep finishes and a new prompt is displayed. Enter a character at the prompt and ** appear. Delete the char and **

[issue22534] bsddb memory leak on Mac OS X 10.9

2014-10-02 Thread STINNER Victor
STINNER Victor added the comment: > [10:55:57] ~$ python -c "import anydbm;d = anydbm.open('bla', > 'c');print(type(d))" > Hum, on Mac OS X, I don't have the bsddb module installed by default. How did you install it? -- ___ Python tracker

[issue3824] test_tarfile fails on cygwin (unicode decode error)

2014-10-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue22534] bsddb memory leak on Mac OS X 10.9

2014-10-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> ronaldoussoren components: +Extension Modules, Macintosh -Library (Lib) nosy: +ronaldoussoren type: -> resource usage ___ Python tracker _

[issue21859] Add Python implementation of FileIO

2014-10-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Synchronized with the tip. _io.FileIO now behave same as _pyio,FileIO when there is a NUL in name. -- Added file: http://bugs.python.org/file36782/pyio_fileio_6.patch ___ Python tracker

[issue22533] Counter with no keys does not compare equal to Counter with keys which zero value

2014-10-02 Thread Ethan Furman
Ethan Furman added the comment: Ignore that last comment -- I don't know what I did yesterday, but unary minus is working as expected today. :/ -- ___ Python tracker ___ __

[issue22534] bsddb memory leak on Mac OS X 10.9

2014-10-02 Thread TJ
TJ added the comment: No issue with 3.4 on the Mac box. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue22537] Failure building 2.7 docs on Windows

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Works great. Thanks. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue22515] Implement partial order on Counter

2014-10-02 Thread Ethan Furman
Ethan Furman added the comment: I, myself, wrote: - > At least, it will until we fix that bug. ;) Happily, reading the whole documentation revealed that non-integer values are allowed, so it's not a bug. :) -- ___ Python tracker

[issue22534] bsddb memory leak on Mac OS X 10.9

2014-10-02 Thread STINNER Victor
Changes by STINNER Victor : -- title: Possible Memory Leak with 'shelve' -> bsddb memory leak on Mac OS X 10.9 ___ Python tracker ___

[issue22534] Possible Memory Leak with 'shelve'

2014-10-02 Thread TJ
TJ added the comment: Thanks for the help. For my linux box, I have no issue. This is Ubuntu 13.10: Linux localhost 3.11.0-26-generic #45-Ubuntu SMP Tue Jul 15 04:02:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux 2.7.5+ (default, Feb 27 2014, 19:37:08) [GCC 4.8.1] However, I'm still

[issue5700] io.FileIO calls flush() after file closed

2014-10-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is complete implementation of FileIO in pure Python in issue21859. It is free from this bug. >>> import _pyio as io >>> class MyIO(io.FileIO): ... def flush(self): ... print('closed:', self.closed) ... >>> f = MyIO('test.out', 'wb') >>>

[issue19915] int.bit_at(n) - Accessing a single bit in O(1)

2014-10-02 Thread STINNER Victor
STINNER Victor added the comment: > That's something that a Python comitter would have to do isn't it? Python is open. Anyone can propose an enhancement (a PEP). -- ___ Python tracker _

[issue19915] int.bit_at(n) - Accessing a single bit in O(1)

2014-10-02 Thread anon
anon added the comment: That's something that a Python comitter would have to do isn't it? -- ___ Python tracker ___ ___ Python-bugs-l

[issue19915] int.bit_at(n) - Accessing a single bit in O(1)

2014-10-02 Thread STINNER Victor
STINNER Victor added the comment: Yes, it's a good idea to start a PEP to modify most important builtin types like int and str. -- ___ Python tracker ___

  1   2   >