[issue13454] crash when deleting one pair from tee()

2012-10-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file27578/itertools_tee_nonrecursive_clear.patch ___ Python tracker ___ ___

[issue13454] crash when deleting one pair from tee()

2012-10-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file27568/itertools_tee_nonrecursive_clear.patch ___ Python tracker ___ __

[issue15936] Add link from os.urandom to random.SystemRandom

2012-10-14 Thread Bryce Verdier
Bryce Verdier added the comment: Ramchandra, doesn't the description of os.urandom already imply that it's a low-level interface? Or are you saying that you want this to be explicitly stated? I would also like to work on this bug -- nosy: +louiscipher ___

[issue16220] wsgiref does not call close() on iterable response

2012-10-14 Thread Brent Tubbs
Brent Tubbs added the comment: You guessed it Graham! Bob Brewer pointed me to your post while I was fighting with this, which led me to testing the behavior under various servers and finding the wsgiref issue. Current Django trunk doesn't have its own finish_response anymore for the dev ser

[issue10834] Python 2.7 x86 IDLE fails to run in Windows 7

2012-10-14 Thread Roger Serwy
Roger Serwy added the comment: Running "python -m test.test_asynchat" succeeds on Windows 7 with version 2.7.3. I'm closing this issue as it works for me. Feel free to re-open if you disagree. -- resolution: -> works for me status: open -> closed __

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

2012-10-14 Thread Roger Serwy
Roger Serwy added the comment: > I think that maybe tabs within strings should always do the same as within > comments. Perhaps one way is enough. (I am guessing that other editors use > for this, so I can see the desire to use it.) There needs to be a way > to get tabbing within multiline st

[issue16200] Setting .posix=True for shlex object causes infinite loop in __next__

2012-10-14 Thread Roger Serwy
Changes by Roger Serwy : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue16186] shlex bug?

2012-10-14 Thread Roger Serwy
Changes by Roger Serwy : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue16186] shlex bug?

2012-10-14 Thread Roger Serwy
Roger Serwy added the comment: Upon further reading of the non-POSIX mode of shlex, this behavior is not a bug. See http://docs.python.org/py3k/library/shlex.html?highlight=shlex#parsing-rules The "'h' w" test case parses correctly according to: * Closing quotes separate words ("Do"Separate is

[issue16225] list.remove in for loop

2012-10-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16236] Doc/Makefile should have $PYTHON=python2

2012-10-14 Thread Ned Deily
Ned Deily added the comment: The patch should not unconditionally use `python2` since many distributions do not yet install a `python2` link to the interpreter nor is there one when running python2.7 from a build directory. The Makefile could conditionally try `python2` and then fall back to

[issue16220] wsgiref does not call close() on iterable response

2012-10-14 Thread Graham Dumpleton
Graham Dumpleton added the comment: Hmmm. Wonders if finally finding this was prompted in part by recent post about this very issue. :-) http://blog.dscpl.com.au/2012/10/obligations-for-calling-close-on.html Also related is this issue from Django I highlighted long time ago. https://code.djan

[issue16220] wsgiref does not call close() on iterable response

2012-10-14 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Your patch is trivial enough, I am OK to integrate it as is, but it would be nice to verify that we are not reintroducing this bug in the future. I know that writing a the test will be far more difficult that writing the patch. You can try :). Anyway I am O

[issue16237] bdist_rpm SPEC files created with distutils may be distro specific

2012-10-14 Thread Nick Coghlan
New submission from Nick Coghlan: In resolving 14443 we effectively embedded the vendor macros in the SPEC file generated by bdist_rpm on older versions of RHEL (and derivatives). While I think that's a necessary evil (in order to create Python 3 RPMs that actually work properly at all on thos

[issue16220] wsgiref does not call close() on iterable response

2012-10-14 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Brent, could you possibly provide also a test?. Something to integrate with the standard testsuite that fails without your patch but passes with it. -- ___ Python tracker ___

[issue16220] wsgiref does not call close() on iterable response

2012-10-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16228] JSON crashes during encoding resized lists

2012-10-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16230] select.select crashes on resized lists

2012-10-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16234] Implement correct block_size and tests for HMAC-SHA3

2012-10-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16226] IDLE crashes on *File / Path browser*

2012-10-14 Thread Roger Serwy
Roger Serwy added the comment: Here's the revision that broke it: b81ddaf0db47 The 2.7 branch still uses imp.get_suffixes, whereas the 3.3 and 3.4 uses this importlib construct. The imp.get_suffixes returns a list of tuples of 3 items: (suffix, mode, type). The current code only returns what

[issue16225] list.remove in for loop

2012-10-14 Thread Chris Jerdonek
Chris Jerdonek added the comment: > It will be nice somewhere in deep clarify for experts what happens with list > iterator if the list changed. There is a note somewhat to this effect here: http://docs.python.org/dev/reference/compound_stmts.html#the-for-statement "Note There is a subtlety w

[issue16225] list.remove in for loop

2012-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > I agree. I removed the word "safe" in the patch I attached to reduce > ambiguity. Yes, so much the better. It will be nice somewhere in deep clarify for experts what happens with list iterator if the list changed. And iterating over modifyed (if you inse

[issue16225] list.remove in for loop

2012-10-14 Thread Chris Jerdonek
Chris Jerdonek added the comment: > I mean it does not lead to crash, hang, etc. I agree. I removed the word "safe" in the patch I attached to reduce ambiguity. Regarding unexpected behavior, remember that the tutorial is for beginners/newcomers. --

[issue16225] list.remove in for loop

2012-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I mean it does not lead to crash, hang, etc. Even growing list during iteration can be safe you move forward faster than list grows or if you known where to stop. Unexpected behavior for one people can be expected for others. -- ___

[issue16236] Doc/Makefile should have $PYTHON=python2

2012-10-14 Thread Michele Orrù
Changes by Michele Orrù : -- assignee: -> docs@python components: +Documentation -Interpreter Core nosy: +docs@python ___ Python tracker ___

[issue16236] Doc/Makefile should have $PYTHON=python2

2012-10-14 Thread Michele Orrù
Changes by Michele Orrù : -- keywords: +patch Added file: http://bugs.python.org/file27576/issue16236.patch ___ Python tracker ___ ___

[issue16236] Doc/Makefile should have $PYTHON=python2

2012-10-14 Thread Michele Orrù
New submission from Michele Orrù: On Arch/Linux, running `make html` fails with $ make html mkdir -p build/html build/doctrees python tools/sphinx-build.py -b html -d build/doctrees -D latex_paper_size= . build/html Traceback (most recent call last): File "tools/sphinx-build.py", line 27, i

[issue16225] list.remove in for loop

2012-10-14 Thread Chris Jerdonek
Chris Jerdonek added the comment: Reattaching. I duplicated a variable definition that was defined previously. -- Added file: http://bugs.python.org/file27575/issue-16225-3-default.patch ___ Python tracker ___

[issue16227] Add link to 3.3 version in unicode howto

2012-10-14 Thread Chris Jerdonek
Chris Jerdonek added the comment: > I would not rephrase the first two lines. Why not? The current language focuses on the negative ("explaining problems") while we prefer an affirmative tone: http://docs.python.org/devguide/documenting.html#affirmative-tone -- _

[issue16154] Some minor doc fixes in Doc/library

2012-10-14 Thread Ravi Sinha
Ravi Sinha added the comment: I've used the testsetup directive and the problem in http://hg.python.org/cpython/file/40a1652349e9/Doc/library/math.rst, line 79, is fixed; the test passes Added # doctest: +SKIP to lines 179 and 180 in http://hg.python.org/cpython/file/40a1652349e9/Doc/library/

[issue16227] Add link to 3.3 version in unicode howto

2012-10-14 Thread Éric Araujo
Éric Araujo added the comment: I would not rephrase the first two lines. Nice trick of using py3k in the link. -- ___ Python tracker ___

[issue12457] type() returns incorrect type for nested classes

2012-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is no crash. I don't think this is a bug. It looks as feature request and this feature already implemented in 3.3 (PEP 3155). -- components: +Interpreter Core -None nosy: +serhiy.storchaka stage: -> needs patch type: crash -> behavior

[issue16225] list.remove in for loop

2012-10-14 Thread Chris Jerdonek
Chris Jerdonek added the comment: Attaching revised patch. -- Added file: http://bugs.python.org/file27573/issue-16225-2-default.patch ___ Python tracker ___

[issue16235] Add python-config.sh for use during cross compilation.

2012-10-14 Thread Ray Donnelly
New submission from Ray Donnelly: Creates python-config.sh which aims to behave exactly the same as python-config except it doesn't depend on a Python interpreter on the build machine (only depends on a posixy shell, tested with bash, dash, MSYS-bash). I use this for cross compiling gdb with P

[issue16227] Add link to 3.3 version in unicode howto

2012-10-14 Thread Chris Jerdonek
Chris Jerdonek added the comment: Attaching proposed patch. -- keywords: +patch Added file: http://bugs.python.org/file27571/issue-16227-1-27.patch ___ Python tracker ___ ___

[issue8402] Add a way to escape metacharacters in glob/fnmatch

2012-10-14 Thread Michele Orrù
Michele Orrù added the comment: Noblesse oblige :) -- Added file: http://bugs.python.org/file27570/issue8402.1.patch ___ Python tracker ___ ___

[issue5256] rlcompleter adds builtins when custom dict is used

2012-10-14 Thread Michele Orrù
Michele Orrù added the comment: Updated with tip, and merged with documentation. -- Added file: http://bugs.python.org/file27569/issue5256.patch ___ Python tracker ___ ___

[issue15442] Expand the list of default dirs filecmp.dircmp ignores

2012-10-14 Thread Éric Araujo
Éric Araujo added the comment: ISTM the names should be regular names, not regular expression patterns. -- nosy: +eric.araujo ___ Python tracker ___ _

[issue14913] tokenize the source to manage Pdb breakpoints

2012-10-14 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +georg.brandl versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue16218] Python launcher does not support non ascii characters

2012-10-14 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +brian.curtin, tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue8402] Add a way to escape metacharacters in glob/fnmatch

2012-10-14 Thread Éric Araujo
Éric Araujo added the comment: I have comments on the patch but a review link does not appear. Could you update your clone to latest default revision and regenerate the patch? Thanks. -- nosy: +eric.araujo title: glob returns empty list with "[" character in the folder name -> Add a

[issue16229] File *redemo.py* lacking in recent Python distributions

2012-10-14 Thread Éric Araujo
Éric Araujo added the comment: Hm Tools/demo is actually the correct location in 3.2+. -- nosy: +eric.araujo stage: needs patch -> title: File *redemo.py* lacking in recent Python distributions but still referenced -> File *redemo.py* lacking in recent Python distributions ___

[issue16229] File *redemo.py* lacking in recent Python distributions

2012-10-14 Thread Ned Deily
Ned Deily added the comment: I don't think this is a documentation issue. I think it's more likely a Windows installer issue since I don't see the file installed in the current python.org 3.3 Windows distribution. But I was waiting for confirmation from the OP that he is using the Windows in

[issue16229] File *redemo.py* lacking in recent Python distributions but still referenced

2012-10-14 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> docs@python components: +Documentation -Demos and Tools keywords: +easy nosy: +docs@python stage: -> needs patch title: Module *redemo.py* lacking in recent Python distributions -> File *redemo.py* lacking in recent Python distributions but sti

[issue16227] Add link to 3.3 version in unicode howto

2012-10-14 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +easy nosy: +eric.araujo stage: -> needs patch title: Change unicode howtos as misleading -> Add link to 3.3 version in unicode howto ___ Python tracker _

[issue13454] crash when deleting one pair from tee()

2012-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, I worked on it in a different directory. Fortunately I found a temporary copy and I do not have to write all code again. Sorry. -- Added file: http://bugs.python.org/file27568/itertools_tee_nonrecursive_clear.patch __

[issue16106] antigravity tests

2012-10-14 Thread Éric Araujo
Éric Araujo added the comment: Agreed with Antoine. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue13454] crash when deleting one pair from tee()

2012-10-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file27566/itertools_tee_nonrecursive_clear.patch ___ Python tracker ___ __

[issue5256] rlcompleter adds builtins when custom dict is used

2012-10-14 Thread Éric Araujo
Éric Araujo added the comment: Looks good to me. I wrote one comment on the doc patch review. -- ___ Python tracker ___ ___ Python-bug

[issue5256] rlcompleter adds builtins when custom dict is used

2012-10-14 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +needs review versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list maili

[issue6083] Reference counting bug in PyArg_ParseTuple and PyArg_ParseTupleAndKeywords

2012-10-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue6083] Reference counting bug in PyArg_ParseTuple and PyArg_ParseTupleAndKeywords

2012-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which get rid of all three PyArg_ParseTuple usage with parsing nested sequences. Thanks Evgeny for reproducers. -- nosy: +serhiy.storchaka Added file: http://bugs.python.org/file27567/PyArg_ParseTuple_refcount.patch __

[issue16234] Implement correct block_size and tests for HMAC-SHA3

2012-10-14 Thread Christian Heimes
New submission from Christian Heimes: HMAC-SHA3 hasn't been specified yet. Once an official RFC or NIST document is out I can implement the correct block_size attribute and add test vectors. In the mean time I'm disabling SHA3 by returning NotImplemented from block_size. This ticket a reminder

[issue16083] HTTPServer does not correctly handle bad request line

2012-10-14 Thread Éric Araujo
Éric Araujo added the comment: This does not seem to qualify as a security issue. -- title: HTTPServer does not correctly handle bad headers -> HTTPServer does not correctly handle bad request line type: security -> behavior versions: -Python 3.1 __

[issue16234] Implement correct block_size and tests for HMAC-SHA3

2012-10-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 40a1652349e9 by Christian Heimes in branch 'default': Issue #16234: Modify sha3's block_size method to return NotImplemented. http://hg.python.org/cpython/rev/40a1652349e9 -- nosy: +python-dev ___ Python

[issue16227] Change unicode howtos as misleading

2012-10-14 Thread Mark Lawrence
Mark Lawrence added the comment: The mvl proposal fine by me too, thanks guys. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-14 Thread Kevin Walzer
Kevin Walzer added the comment: editFont.config is causing the crash. The revised patch you suggest configures both the display font example and the highlight-text example. We can certainly amend my patch along those lines. I cannot reproduce the issue in simple Tcl/Tk using the equivalent [f

[issue16227] Change unicode howtos as misleading

2012-10-14 Thread Chris Jerdonek
Chris Jerdonek added the comment: That proposal sounds fine to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue16225] list.remove in for loop

2012-10-14 Thread Chris Jerdonek
Chris Jerdonek added the comment: > But in general the advice should be: if you want to insert or remove elements > during iteration, iterate over a copy. I would expand this to cover changing the list in any way. I think the point being made is that iteration doesn't implicitly make a copy.

[issue13454] crash when deleting one pair from tee()

2012-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Serhiy, I only see a test in your patch, no actual modification to itertools. -- nosy: +pitrou ___ Python tracker ___ __

[issue16227] Change unicode howtos as misleading

2012-10-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: Ah, I missed that. I'm skeptical that the proposed change is an improvement - how would the reader know how to find version 1.12 of the document? I'm also skeptical that removal of the note in 2.7 is useful: people finding the document in Google would misund

[issue8786] Add support for IEEE 754 contexts to decimal module.

2012-10-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: I do not think IEEEContext should not be made a class rather than a function until it really *is* a subclass with altered or added behavior. This means at least its own __str__ method and in this case, a __setattr__ that enforces the invariants. Here that mean

[issue16222] some terms not found by devguide's search box

2012-10-14 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- title: "server-side clone" not found by devguide's search box -> some terms not found by devguide's search box ___ Python tracker ___

[issue16222] "server-side clone" not found by devguide's search box

2012-10-14 Thread Chris Jerdonek
Chris Jerdonek added the comment: I filed this in case it signals some underlying issue with search that could use improving (and that may affect other search terms). I can change the title to remove the focus on those two terms. -- ___ Python trac

[issue16083] HTTPServer does not correctly handle bad headers

2012-10-14 Thread Michele Orrù
Michele Orrù added the comment: Well, it is a security issue IMO, but not particularly harmful. But certainly that's not a RFC violation, since I'm not sending rfc-compliant packets.[0] The best an attacker could do is to DDoS the server running HTTPServer: tracebacks may open file descripto

[issue16227] Change unicode howtos as misleading

2012-10-14 Thread Chris Jerdonek
Chris Jerdonek added the comment: > 3.x doesn't contain the language mentioned by the original commenter. 3.2 onwards I mean. -- ___ Python tracker ___ _

[issue16225] list.remove in for loop

2012-10-14 Thread Georg Brandl
Georg Brandl added the comment: Well, I guess Serhiy meant "neither increase nor decrease". In the end, the exact behavior will never be clear if you don't state explicitly how it's implemented: a counter that starts at 0 and is increased on __next__ until it's equal to len(list) (as checked a

[issue16227] Change unicode howtos as misleading

2012-10-14 Thread Chris Jerdonek
Chris Jerdonek added the comment: > I don't think there is a need to update the 3.1.x version of the > documentation in that respect. > versions: +Python 3.3, Python 3.4 -Python 3.1 This issue was just about the 2.7 version. 3.x doesn't contain the language mentioned by the original commenter

[issue16083] HTTPServer does not correctly handle bad headers

2012-10-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue8786] Add support for IEEE 754 contexts to decimal module.

2012-10-14 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16225] list.remove in for loop

2012-10-14 Thread Chris Jerdonek
Chris Jerdonek added the comment: > It is safe to modify a sequence during iteration if it's size not increased. What do you mean by "safe"? The example given by the original commenter does not increase the size either. I believe "safe" is meant in the sense of avoiding possibly unexpected b

[issue16083] HTTPServer does not correctly handle bad headers

2012-10-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is this really a security issue? If so, that should be explained. -- nosy: +terry.reedy ___ Python tracker ___ _

[issue8425] a -= b should be fast if a is a small set and b is a large set

2012-10-14 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16229] Module *redemo.py* lacking in recent Python distributions

2012-10-14 Thread Ned Deily
Ned Deily added the comment: The demo scripts in the Tools directory were cleaned up earlier in Python 3 and moved. redemo.py is still included in the 3.2 and later source distributions in the Tools/demo directory. The builders of binary installers and third-party distributors of Python 3.x

[issue16222] "server-side clone" not found by devguide's search box

2012-10-14 Thread Éric Araujo
Éric Araujo added the comment: Not sure this needs more exposure. New core developers will learn about that feature from other devs, and contributors (the primary audience of the devguide) can't use these repos. -- ___ Python tracker

[issue16226] IDLE crashes on *File / Path browser*

2012-10-14 Thread Ned Deily
Ned Deily added the comment: Thank you for the report. There does seem to be a regression in the 3.3 version of IDLE. Using the OS X version of bin/idle3.3 and selecting menu item File -> Path Browser results in the following exception: Exception in Tkinter callback Traceback (most recent ca

[issue16212] mmap() dumps core upon resizing the underlying file

2012-10-14 Thread Vladimir Ushakov
Vladimir Ushakov added the comment: > But I think we've talked enough... So do I. Let's go for it. I'll make a patch (which apparently takes some time) and post it here, we'll discuss it then. Thanks for your comments. Now I believe it's a bit harder than I thought initially, but still doable.

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

2012-10-14 Thread Francisco Gracia
New submission from Francisco Gracia: The *File* option in the menu bar of both the Python shell and the program editor have an entry called *Class Browser*. If one selects it from the shell window, one gets always an error message with the title: "No filename" which says: "This buffer has no

[issue13454] crash when deleting one pair from tee()

2012-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch (tests included). Thank Pyry for report, Victor and Amaury for analysis. Maybe I picked up the poor names for iterators? May be exhausted and unexhausted would be better? Feel free to correct me. -- keywords: +patch nosy: +serhiy.sto

[issue16212] mmap() dumps core upon resizing the underlying file

2012-10-14 Thread Charles-François Natali
Charles-François Natali added the comment: > SIGBUS as well as SIGFPE or SIGSEGV is a synchronous signal. It is delivered > to the thread that caused the trouble and the stack contents is well defined. Except that signal handlers are per-process, not per thread. So if another thread (which coul

[issue16232] curses.textpad.Textbox backtrace support

2012-10-14 Thread emeaudroid emeaudroid
New submission from emeaudroid emeaudroid: python: 2.6.6 curses' revision: 61064 2008-02-25 16:29:58Z andrew.kuchling line 93 and 102 of curses/textpad.py could you replace the backspace's specific chars codes by using this dedicated curses' function retrieving the currently in-use char's cod

[issue16231] pickle persistent_id return value

2012-10-14 Thread PSchaafsma
New submission from PSchaafsma: The documentation of persistent_id prescribes that returning None will cause default pickling behavior. This makes sense. However, in the Pickler.save function in pickle.py, the return value of persistent_id checked as boolean, causing also return values like 0

[issue16227] Change unicode howtos as misleading

2012-10-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Unicode nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue16227] Change unicode howtos as misleading

2012-10-14 Thread Mark Lawrence
Mark Lawrence added the comment: See also #4153 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue16227] Change unicode howtos as misleading

2012-10-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: Before the disclaimer can be removed, all statements of the document should be reviewed. From a shallow glance, the section on "Python 2.x's support" should be changed to "Python's support". The reference to Marc-Andre Lemburg's presentation should be removed

[issue16227] Change unicode howtos as misleading

2012-10-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: I don't think there is a need to update the 3.1.x version of the documentation in that respect. -- nosy: +loewis versions: +Python 3.3, Python 3.4 -Python 3.1 ___ Python tracker

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset bf9d118779f5 by Andrew Svetlov in branch 'default': Issue #15721: make _tkinter module pep384 compatible. http://hg.python.org/cpython/rev/bf9d118779f5 -- nosy: +python-dev ___ Python tracker

[issue15442] Expand the list of default dirs filecmp.dircmp ignores

2012-10-14 Thread Eli Bendersky
Eli Bendersky added the comment: moijes12, why are the added names "raw" ? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue16202] sys.path[0] security issues

2012-10-14 Thread hasufell
Changes by hasufell : -- nosy: +hasufell ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue12321] documentation of ElementTree.find

2012-10-14 Thread Eli Bendersky
Eli Bendersky added the comment: I think this may be intentional. Absolute searches on a ElementTree are discouraged with a warning: def find(self, path, namespaces=None): # assert self._root is not None if path[:1] == "/": path = "." + path warnings.

[issue12321] documentation of ElementTree.find

2012-10-14 Thread Eli Bendersky
Changes by Eli Bendersky : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue12321] documentation of ElementTree.find

2012-10-14 Thread Eli Bendersky
Changes by Eli Bendersky : Removed file: http://bugs.python.org/file22406/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue15381] Optimize BytesIO to do less reallocations when written, similarly to StringIO

2012-10-14 Thread Eli Bendersky
Changes by Eli Bendersky : -- title: Optimize BytesIO to so less reallocations when written, similarly to StringIO -> Optimize BytesIO to do less reallocations when written, similarly to StringIO ___ Python tracker

[issue16044] xml.etree.ElementTree.Element: append method iterator param is broken

2012-10-14 Thread Eli Bendersky
Eli Bendersky added the comment: Closing, since this isn't a bug and append's behavior is properly documented. Regarding the error message, yes it could probably be better but you would need to enable input validation for that. Since Python is duck typed, often when arguments are not validated

[issue10050] urllib.request still has old 2.x urllib primitives

2012-10-14 Thread Ezio Melotti
Ezio Melotti added the comment: See also #12707. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue6322] Pdb breakpoints don't work on lines without bytecode

2012-10-14 Thread Xavier de Gaye
Xavier de Gaye added the comment: This is fixed in the proposed patch named pdb_lnotab.patch attached to issue 14913. -- ___ Python tracker ___ ___

[issue14913] tokenize the source to manage Pdb breakpoints

2012-10-14 Thread Xavier de Gaye
Xavier de Gaye added the comment: Attached patch pdb_lnotab.patch uses lnotabs (see Objects/lnotab_notes.txt) to find the actual breakpoint line number and parses the module source with tokenize to find the set of function and fully qualified method names in a module. The patch fixes issues 6322

[issue6559] add pass_fds paramter to subprocess.Popen()

2012-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: _posixsubprocess.fork_exec docstring was not updated. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue16225] list.remove in for loop

2012-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is safe to modify a sequence during iteration if it's size not increased. >>> words = ['cat', 'window', 'defenestrate'] >>> for i, w in enumerate(words): ... if len(w) > 6: ... words[i] = w[:5] + '…' ... >>> words ['cat', 'window', 'defen…'] -

[issue10050] urllib.request still has old 2.x urllib primitives

2012-10-14 Thread Nadeem Vawda
Nadeem Vawda added the comment: Hmm, OK. URLopener and FancyURLopener do each issue a DeprecationWarning when used, though. If they are not actually deprecated, perhaps we should remove the warnings for the moment? -- ___ Python tracker

  1   2   >