[issue8739] Update to smtpd.py to RFC 5321
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: http://bugs.python.org/file24782/size_parameter.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8739 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14116] Condition.__enter__ should return self
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14230] Delegating generator is not always visible to debugging tools such as inspect pdb
Changes by Éric Araujo mer...@netwok.org: -- nosy: +benjamin.peterson, georg.brandl, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14230 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__
Changes by Éric Araujo mer...@netwok.org: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1692335 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14228] It is impossible to catch sigint on startup in python code
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14228 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14250] regex.flags is never equal to 0
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14250 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14251] HTMLParser decode issue
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12568] Add functions to get the width in columns of a character
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 all cases, on all systems - is virtually impossible. But AFAICT wcwidth should match the terminal behaviour on nearly all modern systems, so it makes sense to expose it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12568 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14230] Delegating generator is not always visible to debugging tools such as inspect pdb
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 after I finish moving house. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14230 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7652] Merge C version of decimal into py3k.
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. C89) is defined. I've now listed the machine options here: http://hg.python.org/features/cdecimal/file/0f032cda94aa/Modules/_decimal/README.txt As I now remember, that was in fact necessary for CompCert. The static inline instances in header files might not be a problem even for embedded compilers, see e.g.: http://embeddedgurus.com/barr-code/2011/03/do-inline-function-bodies-belong-in-c-header-files/ IIRC also the Linux kernel uses static inline in header files. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7652 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12568] Add functions to get the width in columns of a character
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 exposing wcwidth. Martin: I agree that there are going to be cases where it is not correct because the terminal does something strange, but what we need is something that gets as close as possible to what the terminal is likely to be doing (the Unicode standard itself is not really the issue for curses stuff). So whether it is called wcwidth or wcswidth I don't really mind, but I think it would be useful. The other alternative is to include one of the other ideas that have been mentioned in this thread as part of the library, I suppose, so that people don't have to keep reinventing the wheel for themselves. The one thing I really don't favour is shipping something that supports wide characters, but gives the users no way of guessing whether or not that is what they are printing, because that is surely going to break a lot of applications. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12568 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13498] os.makedirs exist_ok documentation is incorrect, as is some of the behavior
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. This is not always the case. Consider this (assuming Linux as OS and the umask set to 0o022): os.makedirs('/tmp/mytest') os.chmod('/tmp/mytest', 0o2755) path='/tmp/mytest/dir1' os.makedirs(path) os.makedirs(path, exist_ok=True) OSError: [Errno 17] File exists: '/tmp/mytest/dir1' The directory '/tmp/mytest' here has the SETGID flag set, which is inherited automatically. Therefore the flags of '/tmp/mytest/dir1' are not 0o755 as expected by os.makedirs, but 0o2755. The same problem occurs if the user can changes the umask between the calls to os.makedirs. I wonder in what situation the current behaviour of os.makedirs is really helpful and not introducing subtle bugs. Consider using os.makedirs to ensure that the output directory of your script exists. Now the user decides to make this output directory world writeable. For most cases this is no problem, but os.makedirs will complain. -- nosy: +jokoala ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13498 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14116] threading classes' __enter__ should return self
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1531415] parsetok.c emits warnings by writing to stderr
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8739] Update to smtpd.py to RFC 5321
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__, warnings can be handled the appropriate module, __import__ shall not be used. -- nosy: +maker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8739 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8739] Update to smtpd.py to RFC 5321
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8963] test_urllibnet failure
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 http://bugs.python.org/issue8963 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1531415] parsetok.c emits warnings by writing to stderr
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 ticket almost *seven years* after I filed it. The invalid state in the issue tracker is for issues that have been filed that *do not describe a bug that exists at all* (or a feature is being rejected as a bad idea or something that will otherwise not be added to Python and will not be implemented). Please do not close tickets as invalid just because no one is working on resolving them *right now*. The purpose of closing issues is to keep track of useful development that is happening. In and of itself, closing issues is a useless activity; it is only useful inasmuch as it reflects useful development. -- nosy: +exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1531415 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9290] IDLE and Command line present different behavior for sys.stdin
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() doesn't work in IDLE. On this last point, the manual has a caveat in the last line of the sys.stdin description that could exonerate it. Regardless, the behavior is inconsistent and makes for awkward UI when using IDLE. -- nosy: +a versions: +Python 3.2 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9290 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8739] Update to smtpd.py to RFC 5321
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 __getaddr and have it return the remainder of the line, or we parse from the right hand side looking for keword=value elements (which if I remember the RFC right have a pretty constrained syntax). Ideally I'd like to see a general parsing solution so we can handle other parameters in the future easily. So perhaps a function like _getkeywords(arg) - (arg, kwdict) that parses the keywords off from the right and returns them in a dict, along with whatever non-keyword argument text is left. The other path, parsing the address fully, could theoretically use the parseaddr utility from the email package, but I'm not sure if it will return the endpoint of an address embedded in a longer string. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8739 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14252] subprocess.Popen.terminate() inconsistent behavior on Windows
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 c:\Python26\lib\subprocess.py, line 949, in terminate _subprocess.TerminateProcess(self._handle, 1) WindowsError: [Error 5] Access is denied This inconsistency seems unnecessary and is an obstacle to writing portable code. from subprocess import * import sys, time p = Popen([sys.executable, '-c', ''' import time, sys for i in range(3): time.sleep(.3) print '.', sys.stdout.flush() print 'exiting' '''], stdout = sys.stdout, stderr = sys.stderr) print 'launched' time.sleep(2) p.terminate() print 'killed' -- components: Library (Lib) messages: 155391 nosy: dabrahams priority: normal severity: normal status: open title: subprocess.Popen.terminate() inconsistent behavior on Windows versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14252 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14252] subprocess.Popen.terminate() inconsistent behavior on Windows
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 project involving a race between process death and the call to terminate() -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14252 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14253] print() encodes characters to native system encoding
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 open(address, encoding=cp1252) as alpha: print(line, end=) Traceback (most recent call last): File C:\Python32\parser.py, line 8, in module print(line) UnicodeEncodeError: 'cp932' codec can't encode character '\xe9' in position 13: illegal multibyte sequence Shouldn't the output be in unicode? -- components: Unicode messages: 155393 nosy: Robert.Sjöblom, ezio.melotti priority: normal severity: normal status: open title: print() encodes characters to native system encoding type: behavior versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14253 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14252] subprocess.Popen.terminate() inconsistent behavior on Windows
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 Added file: http://bugs.python.org/file24783/winspterminate.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14252 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14253] print() encodes characters to native system encoding
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14252] subprocess.Popen.terminate() inconsistent behavior on Windows
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 rep...@bugs.python.org http://bugs.python.org/issue14252 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7997] http://www.python.org/dev/faq/ doesn't seem to explain how to regenerate configure
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7997 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14254] IDLE - shell restart during readline does not reset readline
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 effect is that the first line of input to the prompt is ignored by the new shell. Attached is a patch against 3.3 to fix the problem. -- components: IDLE files: reading_reset.patch keywords: patch messages: 155398 nosy: serwy priority: normal severity: normal status: open title: IDLE - shell restart during readline does not reset readline type: behavior versions: Python 2.7, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file24784/reading_reset.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14254 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14254] IDLE - shell restart during readline does not reset readline
Changes by Roger Serwy roger.se...@gmail.com: -- nosy: +ned.deily, terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14254 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14252] subprocess.Popen.terminate() inconsistent behavior on Windows
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14251] HTMLParser decode issue
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 : http://docs.python.org/library/htmlparser.html#module-HTMLParser Of course, I replaced HTMLParser by html.parser -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14251 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14253] print() encodes characters to native system encoding
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 request, this is indeed a duplicate of 1602. -- nosy: +loewis resolution: - duplicate status: open - closed superseder: - windows console doesn't print or input Unicode versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14253 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8070] Infinite loop in PyRun_InteractiveLoopFlags() if PyRun_InteractiveOneFlags() raises an error
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: http://bugs.python.org/file24785/8070-use-default-encoding.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8070 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14251] HTMLParser decode issue
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 here: http://docs.python.org/py3k/library/html.parser.html#example-html-parser-application -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14251 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14252] subprocess.Popen.terminate() inconsistent behavior on Windows
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. http://hg.python.org/cpython/rev/41b1fe5a75a6 New changeset f452d7d5470d by Antoine Pitrou in branch 'default': 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/f452d7d5470d -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14252 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14252] subprocess.Popen.terminate() inconsistent behavior on Windows
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. http://hg.python.org/cpython/rev/b6ec3b717f7e -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14252 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14252] subprocess.Popen.terminate() inconsistent behavior on Windows
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 http://bugs.python.org/issue14252 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11406] There is no os.listdir() equivalent returning generator instead of list
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 subdirectory if this directory is root. -- nosy: +storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11406 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14204] Support for the NPN extension to TLS/SSL
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9371] pulldom doesn't provide END_DOCUMENT or COMMENT nodes.
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: http://bugs.python.org/file24787/pulldom_enddoc_event_fix.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9371 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14200] Idle shell crash on printing non-BMP unicode character
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 the range (U+-U+) allowed by Tcl 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. Would replacing these characters with ? and documenting this limitation in IDLE's docs be an acceptable solution? -- Added file: http://bugs.python.org/file24788/rpc_marshal_exception.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14200 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14251] HTMLParser decode issue
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 http://bugs.python.org/issue14251 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14187] add annotation entry to Glossary
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 else sees value in adding this entry. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14187 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13532] In IDLE, sys.stdout.write and sys.stderr can write any pickleable object
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' ? -- keywords: +patch Added file: http://bugs.python.org/file24789/stdout_fix1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13532 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12342] characters with ord above 65535 fail to display in IDLE
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12342 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14187] add annotation entry to Glossary
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). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14187 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14187] add annotation entry to Glossary
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 decorators instead. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14187 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14187] add annotation entry to Glossary
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 http://bugs.python.org/issue14187 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14161] python2 file __repr__ does not escape filename
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14161 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7652] Merge C version of decimal into py3k.
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 code. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7652 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14161] python2 file __repr__ does not escape filename
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 rep...@bugs.python.org http://bugs.python.org/issue14161 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14200] Idle shell crash on printing non-BMP unicode character
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' UnicodeEncodeError: 'UCS-2' codec can't encode characters in position 1-1: Non-BMP character not supported in Tk Traceback (most recent call last): ** IDLE Internal Exception: File idlelib/run.py, line 98, in main ret = method(*args, **kwargs) File idlelib/run.py, line 305, in runcode print_exception() File idlelib/run.py, line 168, in print_exception print(line, end='', file=efile) File idlelib/rpc.py, line 599, in __call__ value = self.sockio.remotecall(self.oid, self.name, args, kwargs) File idlelib/rpc.py, line 214, in remotecall return self.asyncreturn(seq) File idlelib/rpc.py, line 245, in asyncreturn return self.decoderesponse(response) File idlelib/rpc.py, line 265, in decoderesponse raise what ValueError: max() arg is an empty sequence I will need to rework the rpc_marshal_exception patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14200 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14161] python2 file __repr__ does not escape filename
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 rep...@bugs.python.org http://bugs.python.org/issue14161 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14187] add annotation entry to Glossary
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 definitions][http://docs.python.org/dev/reference/compound_stmts.html#function-definitions]. Annotations may be accessed via the [__annotations__][http://docs.python.org/dev/reference/datamodel.html#the-standard-type-hierarchy : Callable types - User-defined functions - Special attributes] special attribute of a function object. Python itself does not assign any particular meaning to function annotations; they are intended to be interpreted by third-party libraries or tools. Annotations were added to Python by [PEP 3107 Function Annotations][http://www.python.org/dev/peps/pep-3107/], which describes some of their possible uses. Some other languages (e.g. Java, C#) also have a concept of annotations, but it is distinct from the Python concept; the purpose of these annotations is served in Python using [decorators][decorator entry in Glossary] instead. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14187 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2377] Replace __import__ w/ importlib.__import__
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 mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14250] regex.flags is never equal to 0
Changes by Benjamin Peterson benja...@python.org: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14250 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14255] tempfile.gettempdir() didn't return the path with correct case.
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 return the path with correct case. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14255 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14255] tempfile.gettempdir() didn't return the path with correct case.
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14256] test_logging fails if zlib is not present
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 runtest_inner the_package = __import__(abstest, globals(), locals(), []) File /home/eric/local/python/cpython/Lib/test/test_logging.py, line 49, in module import zlib ImportError: No module named 'zlib' 1 test failed: test_logging [111665 refs] -- components: Tests keywords: easy messages: 155425 nosy: eric.smith priority: normal severity: normal status: open title: test_logging fails if zlib is not present versions: Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14256 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14200] Idle shell crash on printing non-BMP unicode character
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 independent issue, and I'd appreciate if people would treat it as such. *This* issue is about IDLE crashing, not about how Tkinter deals with non-BMP characters. So if the RPC exception marshalling works, and can resolve this issue, I'll be ready to commit this and close this issue. Opening another issue dealing with the more general Tk problem would be fine with me. I don't *quite* understand what you are proposing. If it is that Tkinter always replaces non-BMP characters in string objects with question marks, then I'm opposed. Tkinter can't know whether the replacement is an acceptable loss or not; errors should never pass silently. If you are suggesting that IDLE's write function should write a question mark instead of raising an exception: perhaps, but a) I'd rather use REPLACEMENT CHARACTER instead of QUESTION MARK b) I'd really try to find out first whether Tcl unknowingly supports UTF-16, at least for rendering. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14200 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14257] minor error in glossary wording regarding __hash__
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 still confusing even if that reading is what was intended; I think delegating the hashing part of the explanation to __hash__()'s docs is fine). Remove the word function from said sentence. -- assignee: docs@python components: Documentation messages: 155427 nosy: cvrebert, docs@python priority: normal severity: normal status: open title: minor error in glossary wording regarding __hash__ versions: Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14257 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14200] Idle shell crash on printing non-BMP unicode character
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 revised version of Martin's patch. -- Added file: http://bugs.python.org/file24790/unicodeerror_rev1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14200 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14200] Idle shell crash on printing non-BMP unicode character
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 information. IDLE's shell output has a gross deficiency due to Tkinter's inability to handle Unicode properly. Why penalize a program for running in IDLE just because IDLE can't write something to the text widget? This is precisely what your approach is doing - making IDLE an even more restricted environment than it needs to be. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14200 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14256] test_logging fails if zlib is not present
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 http://bugs.python.org/issue14256 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7163] IDLE suppresses sys.stdout.write() return value
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 http://bugs.python.org/issue7163 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14249] unicodeobject.c: aliasing warnings
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 http://bugs.python.org/issue14249 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14133] improved PEP 409 implementation
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14258] Better explain re.LOCALE and re.UNICODE for \S and \W
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 equivalent to the set [^ \t\n\r\f\v] With LOCALE, it will match any character not in this set, and not defined as space in the current locale. If UNICODE is set, this will match anything other than [ \t\n\r\f\v] and characters marked as space in the Unicode character properties database. This is wrong. With LOCALE set, it should be [^ \t\n\r\f\v] plus any non-space character in that locale. -- assignee: orsenthil components: Documentation messages: 155434 nosy: orsenthil priority: low severity: normal status: open title: Better explain re.LOCALE and re.UNICODE for \S and \W type: behavior versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14258 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14258] Better explain re.LOCALE and re.UNICODE for \S and \W
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14258 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14258] Better explain re.LOCALE and re.UNICODE for \S and \W
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: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14258 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13496] bisect module: Overflow at index computation
Benjamin Peterson benja...@python.org added the comment: LGTM -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13496 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14258] Better explain re.LOCALE and re.UNICODE for \S and \W
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 tracker rep...@bugs.python.org http://bugs.python.org/issue14258 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14133] improved PEP 409 implementation
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14257] minor error in glossary wording regarding __hash__
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 branch '3.2': closes issue14257 - 3.2 minor error in glossary wording regarding __hash__ http://hg.python.org/cpython/rev/3f15c069454d New changeset 2b7c39db2150 by Senthil Kumaran in branch 'default': closes issue14257 - cpython - minor error in glossary wording regarding __hash__ http://hg.python.org/cpython/rev/2b7c39db2150 -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14257 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13532] In IDLE, sys.stdout.write and sys.stderr can write any pickleable object
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 added. I find this approach 'OK'. -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13532 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14259] regex.finditer() doesn't accept keyword arguments
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 (most recent call last): File stdin, line 1, in module TypeError: finditer() takes no keyword arguments -- components: Regular Expressions messages: 155441 nosy: ezio.melotti, mrabarnett, py.user priority: normal severity: normal status: open title: regex.finditer() doesn't accept keyword arguments type: behavior versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14259 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14259] re.finditer() doesn't accept keyword arguments
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14260] regex.groupindex available for modification and continues to work, having incorrect data inside it
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: ezio.melotti, mrabarnett, py.user priority: normal severity: normal status: open title: regex.groupindex available for modification and continues to work, having incorrect data inside it type: behavior versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14260 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14260] re.groupindex available for modification and continues to work, having incorrect data inside it
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14260 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14256] test_logging fails if zlib is not present
Changes by Eric V. Smith e...@trueblade.com: -- assignee: - eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14256 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14256] test_logging fails if zlib is not present
Changes by Eric V. Smith e...@trueblade.com: -- stage: - patch review type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14256 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14256] test_logging fails if zlib is not present
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: +python-dev resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14256 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com