[issue8739] Update to smtpd.py to RFC 5321

2012-03-11 Thread Juhana Jauhiainen
Juhana Jauhiainen added the comment: The patch I've attached adds minimal support for the SIZE parameter of MAIL command. If the given message size exceeds the servers maximum size the server responds with error 552. -- nosy: +Juhana.Jauhiainen Added file: http://bugs.python.org/file

[issue14116] Condition.__enter__ should return self

2012-03-11 Thread Éric Araujo
Changes by Éric Araujo : -- title: Lock.__enter__() method returns True instead of self -> Condition.__enter__ should return self ___ Python tracker ___

[issue14230] Delegating generator is not always visible to debugging tools such as inspect & pdb

2012-03-11 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +benjamin.peterson, georg.brandl, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2012-03-11 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14228] It is impossible to catch sigint on startup in python code

2012-03-11 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14250] regex.flags is never equal to 0

2012-03-11 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14251] HTMLParser decode issue

2012-03-11 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo title: [PATCH]HTMLParser decode issue -> HTMLParser decode issue ___ Python tracker ___ ___

[issue12568] Add functions to get the width in columns of a character

2012-03-11 Thread poq
poq added the comment: Martin, I agree that wcswidth is incorrect with respect to Unicode. However I don't think that's relevant at all. Python should only try to match the behaviour of the terminal. Since terminals do slightly different things, trying to match them exactly - in all cases,

[issue14230] Delegating generator is not always visible to debugging tools such as inspect & pdb

2012-03-11 Thread Nick Coghlan
Nick Coghlan added the comment: Mark's patch looks good on a quick read through (although I still need to double check where f_lasti gets incremented to be happy the new comment about YIELD_FROM is accurate). If someone gets to this soon, great, otherwise I'll deal with it after I finish mo

[issue7652] Merge C version of decimal into py3k.

2012-03-11 Thread Stefan Krah
Stefan Krah added the comment: Benjamin Peterson wrote: > Speaking of inline, the "inline" keyword will have to go because it's not C89. Actually the trickier instances of "inline" in the .c files are already suppressed when LEGACY_COMPILER (i.e. C89) is defined. I've now listed the machine op

[issue12568] Add functions to get the width in columns of a character

2012-03-11 Thread Nicholas Cole
Nicholas Cole added the comment: Poq: I agree. Guessing from the Unicode standard is going to lead to users having to write some complicated code that people are going have to reinvent over and over, and is not going to be accurate with respect to curses. I'd favour exposing wcwidth. Marti

[issue13498] os.makedirs exist_ok documentation is incorrect, as is some of the behavior

2012-03-11 Thread Johannes Kolb
Johannes Kolb added the comment: I want to mention a situation in which the current behaviour of os.makedirs is confusing. At the first glance I would expect that if >>> os.makedirs(path) succeeds, then a following call to >>> os.makedirs(path, exist_ok=True) will succeed too. This is not alway

[issue14116] threading classes' __enter__ should return self

2012-03-11 Thread Georg Brandl
Changes by Georg Brandl : -- title: Condition.__enter__ should return self -> threading classes' __enter__ should return self ___ Python tracker ___

[issue1531415] parsetok.c emits warnings by writing to stderr

2012-03-11 Thread Michele Orrù
Michele Orrù added the comment: May somebody check for this? Otherwise the bug could be considered invalid. -- ___ Python tracker ___ _

[issue8739] Update to smtpd.py to RFC 5321

2012-03-11 Thread Michele Orrù
Michele Orrù added the comment: I'm currently working on this issue. A little cleanup would be appreciated, or it would be better to split that on another issue? For what I saw, tests are in the form FooTest instead of TestFoo, smtpd imports modules used only in __main__, warnings can be hand

[issue8739] Update to smtpd.py to RFC 5321

2012-03-11 Thread R. David Murray
R. David Murray added the comment: Yes, cleanups would be better as a separate issue. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue8963] test_urllibnet failure

2012-03-11 Thread Ross Lagerwall
Ross Lagerwall added the comment: I tested the code from msg107484 on Fedora 16 with no change in locale. Probably OK to close? -- nosy: +rosslagerwall ___ Python tracker ___ __

[issue1531415] parsetok.c emits warnings by writing to stderr

2012-03-11 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > May somebody check for this? Otherwise the bug could be considered invalid. This is not the proper workflow for bug tracking. "No one is working on this right now" is not the same as "This bug is invalid". No one worked on this ticket almost *seven y

[issue9290] IDLE and Command line present different behavior for sys.stdin

2012-03-11 Thread a
a added the comment: Other quirks apparently caused by this bug: msvcrt.getch() does not block and wait for a keypress in IDLE. Returns immediately with b'\xff'. Some of the suggested usage in the manual for sys.stdin does not work under IDLE. E.g. sys.stdin.detach() doesn't work in IDLE.

[issue8739] Update to smtpd.py to RFC 5321

2012-03-11 Thread R. David Murray
R. David Murray added the comment: Juhana: thanks for the patch. I see an issue with it, though. What if the email address is something like john.si...@example.com? My thought is that there are two ways to handle this. Either we do a full RFC address parse in __getaddr and have it return t

[issue14252] subprocess.Popen.terminate() inconsistent behavior on Windows

2012-03-11 Thread Dave Abrahams
New submission from Dave Abrahams : Try the following script on posix and Windows. On Posix: launched . . . exiting killed on Windows: launched . . . exiting Traceback (most recent call last): File "sp.py", line 16, in p.terminate() File "c:\Python26\lib\subprocess.py", line 949, in

[issue14252] subprocess.Popen.terminate() inconsistent behavior on Windows

2012-03-11 Thread Dave Abrahams
Dave Abrahams added the comment: By the way, the suggested fix would be for terminate() to return a value indicating if the process were already terminated, and not throw an exception in that case. For a user to handle the issue correctly on Windows is rather a nasty project involving a race

[issue14253] print() encodes characters to native system encoding

2012-03-11 Thread Robert Sjöblom
New submission from Robert Sjöblom : I'm on a cp932-encoded system. When I read in a cp1252-file, it's read into memory properly, but when printing it, Python tries to encode the output to cp932. Here's the relevant code: address = "C:/Path/to/file/file.ext" with open(address, encoding="cp1252

[issue14252] subprocess.Popen.terminate() inconsistent behavior on Windows

2012-03-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch for 3.3. I'm not sure it should be backported, as it's a slight change in behaviour. -- keywords: +patch nosy: +brian.curtin, gregory.p.smith, pitrou, tim.golden stage: -> patch review versions: +Python 3.3 -Python 2.6 Added file: http

[issue14253] print() encodes characters to native system encoding

2012-03-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Probably a duplicate of issue1602. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mai

[issue14252] subprocess.Popen.terminate() inconsistent behavior on Windows

2012-03-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: Raising an exception on terminate is a bug. I'd backport this to 2.7 and 3.2. I don't actually have Windows to test on so i'll leave committing that to people who do. -- ___ Python tracker

[issue7997] http://www.python.org/dev/faq/ doesn't seem to explain how to regenerate "configure"

2012-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5432be4d4e1a by Ross Lagerwall in branch 'default': Issue 7997: Explain how to regenerate configure using Autoconf. http://hg.python.org/devguide/rev/5432be4d4e1a -- nosy: +python-dev ___ Python tracker

[issue14254] IDLE - shell restart during readline does not reset readline

2012-03-11 Thread Roger Serwy
New submission from Roger Serwy : In PyShell.py, the "readline" method enters a nested event loop for handling input. If the shell is restarted, the nested event loop remains until after the first press of "enter" causes the "enter_callback" to quit the nested event loop. The effect is that

[issue14254] IDLE - shell restart during readline does not reset readline

2012-03-11 Thread Roger Serwy
Changes by Roger Serwy : -- nosy: +ned.deily, terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue14252] subprocess.Popen.terminate() inconsistent behavior on Windows

2012-03-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: +1 for backporting to the bug fix releases. -- nosy: +loewis versions: +Python 2.7, Python 3.2 ___ Python tracker ___

[issue14251] HTMLParser decode issue

2012-03-11 Thread rednaks
rednaks added the comment: So we cant make decode by default ? ! Concerning python 3, it seems that it's not reading tags and attributes, i didn't get any error, but i don't have any result the example i used is there : http://docs.python.org/library/htmlparser.html#module-HTMLParser Of co

[issue14253] print() encodes characters to native system encoding

2012-03-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: Robert: this is not a bug. Python's IO stack has the fundamental assumption that streams are byte-oriented. So the "shouldn't be the output in Unicode" is not a possible solution, since Unicode cannot work on a byte stream. As a feature request, this is inde

[issue8070] Infinite loop in PyRun_InteractiveLoopFlags() if PyRun_InteractiveOneFlags() raises an error

2012-03-11 Thread Tim Lesher
Tim Lesher added the comment: Updated patch: use Py_FileSystemDefaultEncoding (if possible) when sys.stdin is (or becomes) invalid; if none, then fails without entering infinite loop. Docs for PyRun_InteractiveLoopFlags have been updated. -- Added file: http://bugs.python.org/file247

[issue14251] HTMLParser decode issue

2012-03-11 Thread Ezio Melotti
Ezio Melotti added the comment: I don't think the patch can be applied as is -- in order to work s should be an ascii-only str. I will look at this again as soon as I have some time and see if something can be done. FTR the Python 3 doc for html.parser can be found here: http://docs.python.

[issue14252] subprocess.Popen.terminate() inconsistent behavior on Windows

2012-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 41b1fe5a75a6 by Antoine Pitrou in branch '3.2': Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited. http://hg.python.org/cpython/rev/41b1fe5a75a6 New changeset f452d7d5470d

[issue14252] subprocess.Popen.terminate() inconsistent behavior on Windows

2012-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset b6ec3b717f7e by Antoine Pitrou in branch '2.7': Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited. http://hg.python.org/cpython/rev/b6ec3b717f7e -- ___

[issue14252] subprocess.Popen.terminate() inconsistent behavior on Windows

2012-03-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, I've then fixed the bug in all 3 branches. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2012-03-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > On Unix, doing os.stat > on the directory, then looking on st_nlink, will tell you whether > the directory is empty (st_nlink is 2 on an empty directory). Directory with st_nlink==2 can contains any number of non-directory files. And one subdirectory if th

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-11 Thread Colin Marc
Colin Marc added the comment: Updated patch. -- Added file: http://bugs.python.org/file24786/npn_patch_py3.diff ___ Python tracker ___ __

[issue9371] pulldom doesn't provide END_DOCUMENT or COMMENT nodes.

2012-03-11 Thread Florian Mladitsch
Florian Mladitsch added the comment: I found the bug for the end_document event and fixed it. But I couldn't figure out why the PullDOM class did not have comment-events. -- keywords: +patch nosy: +flomm Added file: http://bugs.python.org/file24787/pulldom_enddoc_event_fix.patch _

[issue14200] Idle shell crash on printing non-BMP unicode character

2012-03-11 Thread Roger Serwy
Roger Serwy added the comment: Attached is a patch to have the rpc marshal exceptions. When used with Martin's patch, IDLE returns >>> '\U00010330' Traceback (most recent call last): File "", line 1, in '\U00010330' ValueError: character U+10330 is above the range (U+-U+) allow

[issue14251] HTMLParser decode issue

2012-03-11 Thread rednaks
rednaks added the comment: thank you for giving me a little of your time ! Yes that's what i've tested, i used the html.parser module and and I have no result! -- ___ Python tracker _

[issue14187] add "annotation" entry to Glossary

2012-03-11 Thread Chris Rebert
Chris Rebert added the comment: Well, I thought the Glossary was a somewhat useful document in and of itself ("What's conceptual term 'X' mean? Hmm... I'll check the Glossary!") and so should include all terms which aren't module-specific. But I won't push hard if no one else sees value in ad

[issue13532] In IDLE, sys.stdout.write and sys.stderr can write any pickleable object

2012-03-11 Thread Roger Serwy
Roger Serwy added the comment: Attached is a preliminary patch to solve this issue. It relies on "rpc_marshal_exception.patch" from issue14200. Does anyone know a good way to make the exception render as: "must be str, not int" instead of "must be str, not " ? -- keywords: +patch Ad

[issue12342] characters with ord above 65535 fail to display in IDLE

2012-03-11 Thread Roger Serwy
Roger Serwy added the comment: I agree with Terry. The current behavior of raising ValueError will lead to problems in application code in the future if Tkinter gets fixed such that it can render Unicode properly beyond 0x. -- ___ Python tracke

[issue14187] add "annotation" entry to Glossary

2012-03-11 Thread Ezio Melotti
Ezio Melotti added the comment: FWIW searching for "annotations" in the Sphinx quick search doesn't yield anything interesting, and the first result that actually contains a paragraph about annotations is the 11th (compound statements). -- ___ Pyth

[issue14187] add "annotation" entry to Glossary

2012-03-11 Thread Chris Rebert
Chris Rebert added the comment: Also, it would be a nice place to point out for those coming from Java or similar that the Java-esque concept of annotations has little to do with Python's function annotations, and that in Python their uses are typically served using decorators instead. -

[issue14187] add "annotation" entry to Glossary

2012-03-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: Propose some brief text for an entry so we have something to evaluate for its utility. -- assignee: docs@python -> rhettinger ___ Python tracker __

[issue14161] python2 file __repr__ does not escape filename

2012-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6c1964dee98b by Ezio Melotti in branch '2.7': #14161: fix the __repr__ of file objects to escape the file name. http://hg.python.org/cpython/rev/6c1964dee98b -- nosy: +python-dev ___ Python tracker

[issue7652] Merge C version of decimal into py3k.

2012-03-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, I think we would be better off if this patch were merged in soon. Waiting until later in the release cycle risks introducing bugs that we won't have time to notice or fix. An early merge lets more people exercise the code. -- _

[issue14161] python2 file __repr__ does not escape filename

2012-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 86c749151660 by Ezio Melotti in branch '2.7': #14161: fix compile error under Windows. http://hg.python.org/cpython/rev/86c749151660 -- ___ Python tracker ___

[issue14200] Idle shell crash on printing non-BMP unicode character

2012-03-11 Thread Roger Serwy
Roger Serwy added the comment: I made a mistake in msg155410. The results in the message are WITHOUT "unicodeerror.diff" applied. When it is applied, the IDLE shell gives: >>> '\U00010330' Traceback (most recent call last): File "", line 1, in '\U00010330' UnicodeEncodeError: 'UCS-2' c

[issue14161] python2 file __repr__ does not escape filename

2012-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6b1fad34d893 by Ezio Melotti in branch '2.7': #14161: fix test failures on Windows. http://hg.python.org/cpython/rev/6b1fad34d893 -- ___ Python tracker __

[issue14187] add "annotation" entry to Glossary

2012-03-11 Thread Chris Rebert
Chris Rebert added the comment: Strawman entry wording: An annotation is an arbitrary metadata value associated with a function parameter or return value. The syntax for function annotations is explained in [Function definitions][http://docs.python.org/dev/reference/compound_stmts.html#funct

[issue2377] Replace __import__ w/ importlib.__import__

2012-03-11 Thread Eric V. Smith
Changes by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14250] regex.flags is never equal to 0

2012-03-11 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue14255] tempfile.gettempdir() didn't return the path with correct case.

2012-03-11 Thread 勇刚 罗
New submission from 勇刚 罗 : >>> print tempfile.gettempdir() c:\users\dreamkxd\appdata\local\temp >>> And the real path is C:\Users\dreamkxd\AppData\Local\Temp. -- messages: 155424 nosy: 勇刚.罗 priority: normal severity: normal status: open title: tempfile.gettempdir() didn't return the path

[issue14255] tempfile.gettempdir() didn't return the path with correct case.

2012-03-11 Thread 勇刚 罗
Changes by 勇刚 罗 : -- components: +IO, Library (Lib), Windows versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___ ___

[issue14256] test_logging fails if zlib is not present

2012-03-11 Thread Eric V. Smith
New submission from Eric V. Smith : Presumably this needs to use requires_zlib. $ time ./python -m test test_logging [1/1] test_logging test test_logging crashed -- Traceback (most recent call last): File "/home/eric/local/python/cpython/Lib/test/regrtest.py", line 1229, in runtest_inner

[issue14200] Idle shell crash on printing non-BMP unicode character

2012-03-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Martin: I disagree with the approach of raising a UnicodeEncodeError > if IDLE can't render the output of a user's program, especially when > the program would otherwise run without error if ran from outside of > IDLE. This is really an independent issue, an

[issue14257] minor error in glossary wording regarding __hash__

2012-03-11 Thread Chris Rebert
New submission from Chris Rebert : The entry for "dictionary" reads in part: [...] The keys can be any object with __hash__() function and __eq__() methods. [...] __hash__() is a method, not a function (well, it's a "hash function" in the computer science sense, but it's still confusing ev

[issue14200] Idle shell crash on printing non-BMP unicode character

2012-03-11 Thread Roger Serwy
Roger Serwy added the comment: Having had some time to work on it, the bug is in the unicodeerror.diff patch. If the string is empty then max(s) will raise a ValueError. This is easy to trigger by generating an exception at the python prompt, like "1/0". Attached is a revised version of Mart

[issue14200] Idle shell crash on printing non-BMP unicode character

2012-03-11 Thread Roger Serwy
Roger Serwy added the comment: Martin, I got your message after I submitted the last one. This issue does involve IDLE crashing, but it's not crashing due to non-BMP characters. That is a side-effect of a bigger issue with pythonw.exe. See Issue13582 for more information. IDLE's shell output

[issue14256] test_logging fails if zlib is not present

2012-03-11 Thread Pedro Kroger
Pedro Kroger added the comment: Attached patch to fix this issue. -- keywords: +patch nosy: +kroger Added file: http://bugs.python.org/file24791/issue14256.diff ___ Python tracker _

[issue7163] IDLE suppresses sys.stdout.write() return value

2012-03-11 Thread Roger Serwy
Roger Serwy added the comment: Attached is a patch against 3.3 to return the count. -- keywords: +patch Added file: http://bugs.python.org/file24792/issue7163.patch ___ Python tracker __

[issue14249] unicodeobject.c: aliasing warnings

2012-03-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: gcc 4.5 doesn't warn for me. Is this a compiler bug in 4.4 or 4.5? That is, are these actual aliasing violations? -- nosy: +benjamin.peterson ___ Python tracker __

[issue14133] improved PEP 409 implementation

2012-03-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: Nick, care to look at the latest patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue14258] Better explain re.LOCALE and re.UNICODE for \S and \W

2012-03-11 Thread Senthil Kumaran
New submission from Senthil Kumaran : Opening the this bug following this discussion - http://mail.python.org/pipermail/docs/2012-March/007829.html library/re.html \S When the LOCALE and UNICODE flags are not specified, matches any non-whitespace character; this is equivalent to the set [^ \

[issue14258] Better explain re.LOCALE and re.UNICODE for \S and \W

2012-03-11 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue14258] Better explain re.LOCALE and re.UNICODE for \S and \W

2012-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2d2a972b7523 by Senthil Kumaran in branch '2.7': Fix closes issue14258 - added clarification to \W and \S flags http://hg.python.org/cpython/rev/2d2a972b7523 -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: o

[issue13496] bisect module: Overflow at index computation

2012-03-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: LGTM -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue14258] Better explain re.LOCALE and re.UNICODE for \S and \W

2012-03-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: This clarification is specific to Python 2.7. For Python3, the use of LOCALE flag is explicitly discouraged and confusing references to it's meaning is not present in the docs. -- ___ Python tracker

[issue14133] improved PEP 409 implementation

2012-03-11 Thread Nick Coghlan
Nick Coghlan added the comment: Reviewed - actual impl looks good to me, couple of comments regarding the docs and tests. -- ___ Python tracker ___

[issue14257] minor error in glossary wording regarding __hash__

2012-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset f0a5f39615c8 by Senthil Kumaran in branch '2.7': closes issue14257 minor error in glossary wording regarding __hash__ http://hg.python.org/cpython/rev/f0a5f39615c8 New changeset 3f15c069454d by Senthil Kumaran in branch '3.2': closes issue14257 - 3

[issue13532] In IDLE, sys.stdout.write and sys.stderr can write any pickleable object

2012-03-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: Just a minor comment on the patch - It should be %r instead of %s. -raise TypeError('must be str, not %s' % type(s)) +raise TypeError('must be str, not %r' % type(s)) If there is any test for this, it could be added. I find this approa

[issue14259] regex.finditer() doesn't accept keyword arguments

2012-03-11 Thread py.user
New submission from py.user : >>> import re >>> p = re.compile(r'abc') >>> res = p.search('abcdefabcdef', pos=1, endpos=10) >>> res = p.match('abcdefabcdef', pos=1, endpos=10) >>> res = p.findall('abcdefabcdef', pos=1, endpos=10) >>> res = p.finditer('abcdefabcdef', pos=1, endpos=10) Traceback (m

[issue14259] re.finditer() doesn't accept keyword arguments

2012-03-11 Thread Eric V. Smith
Changes by Eric V. Smith : -- title: regex.finditer() doesn't accept keyword arguments -> re.finditer() doesn't accept keyword arguments ___ Python tracker ___ _

[issue14260] regex.groupindex available for modification and continues to work, having incorrect data inside it

2012-03-11 Thread py.user
New submission from py.user : >>> import re >>> p = re.compile(r'abc(?Pdef)') >>> p.sub(r'\g', 'abcdef123abcdef') 'def123def' >>> p.groupindex['n'] = 2 >>> p.sub(r'\g', 'abcdef123abcdef') 'def123def' >>> p.groupindex {'n': 2} >>> -- components: Regular Expressions messages: 155442 nosy:

[issue14260] re.groupindex available for modification and continues to work, having incorrect data inside it

2012-03-11 Thread Eric V. Smith
Changes by Eric V. Smith : -- title: regex.groupindex available for modification and continues to work, having incorrect data inside it -> re.groupindex available for modification and continues to work, having incorrect data inside it ___ Python tra

[issue14256] test_logging fails if zlib is not present

2012-03-11 Thread Eric V. Smith
Changes by Eric V. Smith : -- assignee: -> eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue14256] test_logging fails if zlib is not present

2012-03-11 Thread Eric V. Smith
Changes by Eric V. Smith : -- stage: -> patch review type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue14256] test_logging fails if zlib is not present

2012-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4b54a686541f by Eric V. Smith in branch 'default': Make test_logging no longer fail if zlib not present. Closes #14256. Patch by Pedro Kroger. http://hg.python.org/cpython/rev/4b54a686541f -- nosy: +python-dev resolution: -> fixed stage: