[issue8739] Update to smtpd.py to RFC 5321

2012-03-11 Thread Juhana Jauhiainen
Juhana Jauhiainen juhana.jauhiai...@gmail.com 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:

[issue14116] Condition.__enter__ should return self

2012-03-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- title: Lock.__enter__() method returns True instead of self - Condition.__enter__ should return self ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14116

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

2012-03-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +benjamin.peterson, georg.brandl, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14230 ___

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

2012-03-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1692335 ___ ___ Python-bugs-list mailing

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

2012-03-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14228 ___ ___ Python-bugs-list

[issue14250] regex.flags is never equal to 0

2012-03-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14250 ___ ___ Python-bugs-list

[issue14251] HTMLParser decode issue

2012-03-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo title: [PATCH]HTMLParser decode issue - HTMLParser decode issue ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14251 ___

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

2012-03-11 Thread poq
poq p...@gmx.com 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

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

2012-03-11 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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

[issue7652] Merge C version of decimal into py3k.

2012-03-11 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Benjamin Peterson rep...@bugs.python.org 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.

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

2012-03-11 Thread Nicholas Cole
Nicholas Cole nicholas.c...@gmail.com 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

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

2012-03-11 Thread Johannes Kolb
Johannes Kolb johannes.k...@gmx.net 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.

[issue14116] threading classes' __enter__ should return self

2012-03-11 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- title: Condition.__enter__ should return self - threading classes' __enter__ should return self ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14116

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

2012-03-11 Thread Michele Orrù
Michele Orrù maker...@gmail.com added the comment: May somebody check for this? Otherwise the bug could be considered invalid. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1531415 ___

[issue8739] Update to smtpd.py to RFC 5321

2012-03-11 Thread Michele Orrù
Michele Orrù maker...@gmail.com 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__,

[issue8739] Update to smtpd.py to RFC 5321

2012-03-11 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Yes, cleanups would be better as a separate issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8739 ___

[issue8963] test_urllibnet failure

2012-03-11 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com 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 rep...@bugs.python.org

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

2012-03-11 Thread Jean-Paul Calderone
Jean-Paul Calderone invalid@example.invalid 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

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

2012-03-11 Thread a
a nawil...@excite.com 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()

[issue8739] Update to smtpd.py to RFC 5321

2012-03-11 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2012-03-11 Thread Dave Abrahams
New submission from Dave Abrahams d...@boostpro.com: 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 module p.terminate() File

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

2012-03-11 Thread Dave Abrahams
Dave Abrahams d...@boostpro.com 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

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

2012-03-11 Thread Robert Sjöblom
New submission from Robert Sjöblom robert.sjob...@gmail.com: 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

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

2012-03-11 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

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

2012-03-11 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Probably a duplicate of issue1602. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14253 ___

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

2012-03-11 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org 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 devn...@psf.upfronthosting.co.za 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

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

2012-03-11 Thread Roger Serwy
New submission from Roger Serwy roger.se...@gmail.com: 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

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

2012-03-11 Thread Roger Serwy
Changes by Roger Serwy roger.se...@gmail.com: -- nosy: +ned.deily, terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14254 ___ ___

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

2012-03-11 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: +1 for backporting to the bug fix releases. -- nosy: +loewis versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14252

[issue14251] HTMLParser decode issue

2012-03-11 Thread rednaks
rednaks salexandre...@gmail.com 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 :

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

2012-03-11 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de 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

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

2012-03-11 Thread Tim Lesher
Tim Lesher tles...@gmail.com 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:

[issue14251] HTMLParser decode issue

2012-03-11 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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

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

2012-03-11 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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.

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

2012-03-11 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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.

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

2012-03-11 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

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

2012-03-11 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com 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

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

2012-03-11 Thread Colin Marc
Colin Marc colinm...@gmail.com added the comment: Updated patch. -- Added file: http://bugs.python.org/file24786/npn_patch_py3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14204 ___

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

2012-03-11 Thread Florian Mladitsch
Florian Mladitsch florian.mladit...@googlemail.com 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:

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

2012-03-11 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com 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 pyshell#3, line 1, in module '\U00010330' ValueError: character U+10330 is above

[issue14251] HTMLParser decode issue

2012-03-11 Thread rednaks
rednaks salexandre...@gmail.com 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 rep...@bugs.python.org

[issue14187] add annotation entry to Glossary

2012-03-11 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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

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

2012-03-11 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com 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 class 'int' ?

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

2012-03-11 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com 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. --

[issue14187] add annotation entry to Glossary

2012-03-11 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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). --

[issue14187] add annotation entry to Glossary

2012-03-11 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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

[issue14187] add annotation entry to Glossary

2012-03-11 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com 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 rep...@bugs.python.org

[issue14161] python2 file __repr__ does not escape filename

2012-03-11 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue7652] Merge C version of decimal into py3k.

2012-03-11 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com 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

[issue14161] python2 file __repr__ does not escape filename

2012-03-11 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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 roger.se...@gmail.com 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 pyshell#1, line 1, in module '\U00010330'

[issue14161] python2 file __repr__ does not escape filename

2012-03-11 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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 pyb...@rebertia.com 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

[issue2377] Replace __import__ w/ importlib.__import__

2012-03-11 Thread Eric V. Smith
Changes by Eric V. Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2377 ___ ___ Python-bugs-list

[issue14250] regex.flags is never equal to 0

2012-03-11 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14250 ___ ___ Python-bugs-list

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

2012-03-11 Thread 勇刚 罗
New submission from 勇刚 罗 luoyongg...@gmail.com: 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

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

2012-03-11 Thread 勇刚 罗
Changes by 勇刚 罗 luoyongg...@gmail.com: -- 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 rep...@bugs.python.org http://bugs.python.org/issue14255

[issue14256] test_logging fails if zlib is not present

2012-03-11 Thread Eric V. Smith
New submission from Eric V. Smith e...@trueblade.com: 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

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

2012-03-11 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de 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

[issue14257] minor error in glossary wording regarding __hash__

2012-03-11 Thread Chris Rebert
New submission from Chris Rebert pyb...@rebertia.com: 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

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

2012-03-11 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com 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

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

2012-03-11 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com 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

[issue14256] test_logging fails if zlib is not present

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

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

2012-03-11 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com 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 rep...@bugs.python.org

[issue14249] unicodeobject.c: aliasing warnings

2012-03-11 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org 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 rep...@bugs.python.org

[issue14133] improved PEP 409 implementation

2012-03-11 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Nick, care to look at the latest patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14133 ___

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

2012-03-11 Thread Senthil Kumaran
New submission from Senthil Kumaran sent...@uthcode.com: 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

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

2012-03-11 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14258 ___ ___

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

2012-03-11 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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:

[issue13496] bisect module: Overflow at index computation

2012-03-11 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: LGTM -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13496 ___

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

2012-03-11 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com 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

[issue14133] improved PEP 409 implementation

2012-03-11 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Reviewed - actual impl looks good to me, couple of comments regarding the docs and tests. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14133

[issue14257] minor error in glossary wording regarding __hash__

2012-03-11 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2012-03-11 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com 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

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

2012-03-11 Thread py.user
New submission from py.user port...@yandex.ru: 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

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

2012-03-11 Thread Eric V. Smith
Changes by Eric V. Smith e...@trueblade.com: -- title: regex.finditer() doesn't accept keyword arguments - re.finditer() doesn't accept keyword arguments ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14259

[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 port...@yandex.ru: import re p = re.compile(r'abc(?Pndef)') p.sub(r'\gn', 'abcdef123abcdef') 'def123def' p.groupindex['n'] = 2 p.sub(r'\gn', '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 e...@trueblade.com: -- 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

[issue14256] test_logging fails if zlib is not present

2012-03-11 Thread Eric V. Smith
Changes by Eric V. Smith e...@trueblade.com: -- assignee: - eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14256 ___ ___

[issue14256] test_logging fails if zlib is not present

2012-03-11 Thread Eric V. Smith
Changes by Eric V. Smith e...@trueblade.com: -- stage: - patch review type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14256 ___

[issue14256] test_logging fails if zlib is not present

2012-03-11 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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: