[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread John Machin
John Machin sjmac...@users.sourceforge.net added the comment: @ezio.melotti: Your second sentence is true, but it is not the whole truth. Bytes in the range C0-FF (whose high bit *is* set) ALSO shouldn't be considered part of the sequence because they (like 00-7F) are invalid as continuation

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Yes, right now I'm considering valid all the bytes that start with '10...'. C2 starts with '11...' so it's a failing byte. -- ___ Python tracker rep...@bugs.python.org

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread John Machin
John Machin sjmac...@users.sourceforge.net added the comment: #ezio.melotti: I'm considering valid all the bytes that start with '10...' Sorry, WRONG. Read what I wrote: Further, some bytes in the range 80-BF are NOT always valid as the first continuation byte, it depends on what starter byte

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: That's why I'm writing tests that cover all the cases, including overlong sequences. If the test will fail I'll change the patch :) -- ___ Python tracker rep...@bugs.python.org

[issue8032] Add gdb7 hooks to make it easier to debug Python

2010-04-01 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Thanks for the patch. I have committed it as r79548, with two modifications: - I added a future import for with_statement, as many installations will still use Python 2.5 - I commented out many of the tests, as they were failing for me. I'll

[issue8032] Add gdb7 hooks to make it easier to debug Python

2010-04-01 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8032 ___

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: John Machin wrote: John Machin sjmac...@users.sourceforge.net added the comment: @lemburg: failing byte seems rather obvious: first byte that you meet that is not valid in the current state. I don't understand your explanation,

[issue8278] os.utime doesn't allow a atime (Last Access) which is 27 years in the future.

2010-04-01 Thread Ramin Sabet
New submission from Ramin Sabet ramin.sa...@gmail.com: Error Message is: OverflowError: long int too large to convert to int --- Python Version: Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] on win32 --- Sample Code attached. -- components: IO files:

[issue8279] python-gdb PyListTests fail

2010-04-01 Thread Martin v . Löwis
New submission from Martin v. Löwis mar...@v.loewis.de: regrtest reports == FAIL: test_basic_command (test.test_gdb.PyListTests) Verify that the py-list command works

[issue8279] python-gdb PyListTests fail

2010-04-01 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: The other failures look similar, so I'm not reporting them separately for now. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8279 ___

[issue8193] test_zlib fails with zlib 1.2.4

2010-04-01 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: The I'm not sure in my comment really was a question, rather than a definite direction to conditionally retain the old test. I've actually looked at the relevant C code in the zlib module now, and I agree with Antoine that the original

[issue8193] test_zlib fails with zlib 1.2.4

2010-04-01 Thread Valerio
Changes by Valerio turturici.vale...@gmail.com: Removed file: http://bugs.python.org/file16711/8193.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8193 ___

[issue8193] test_zlib fails with zlib 1.2.4

2010-04-01 Thread Valerio
Valerio turturici.vale...@gmail.com added the comment: Ok, so here the patch. -- Added file: http://bugs.python.org/file16718/8193.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8193

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-04-01 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Other py3k warnings: lib\distutils\util.py:209: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) return apply(os.path.join, paths) lib\distutils\command\build_ext.py:679: DeprecationWarning: apply() not

[issue8228] pprint, single/multiple items per line parameter

2010-04-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Please generate patches with context diff, or better unified diff, with the diff -u command. I've done it, before the source code changes and the patch becomes impossible to apply. Note that the new version does not respect the width:

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Here is an incomplete patch. It seems to solve the problem but I still have to add more tests and check it better. I also wonder if the sequences with the first byte in range F5-FD (start of 4/5/6-byte sequences, restricted by RFC 3629)

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Ezio Melotti wrote: Ezio Melotti ezio.melo...@gmail.com added the comment: Here is an incomplete patch. It seems to solve the problem but I still have to add more tests and check it better. Thanks. Please also check whether it's

[issue8277] ElementTree won't parse comments

2010-04-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: ElementTree does parse comments, it just omit them in the tree. A quick search lead me to this page: http://effbot.org/zone/element-pi.htm which can be further simplified: from xml.etree import ElementTree class

[issue8228] pprint, single/multiple items per line parameter

2010-04-01 Thread Dmitry Chichkov
Dmitry Chichkov dchich...@gmail.com added the comment: Yes. This patch is nowhere near the production level. Unfortunately it works for me. And in the moment I don't have time to improve it further. Current version doesn't check the item's width upfront, there is definitely room for

[issue8278] os.utime doesn't allow a atime (Last Access) which is 27 years in the future.

2010-04-01 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8278 ___ ___ Python-bugs-list mailing

[issue7132] Regexp: capturing groups in repetitions

2010-04-01 Thread David Chambers
David Chambers david.chambers...@gmail.com added the comment: I would find this functionality very useful. While I agree that it's often simpler to extract the relevant information in several steps, there are situations in which I'd prefer to do it all in one go. The application I'm writing

[issue1044] tarfile insecure pathname extraction

2010-04-01 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: -- nosy: +doko ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1044 ___ ___ Python-bugs-list mailing list

[issue4577] distutils: -3 warnings (apply)

2010-04-01 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Superseded by #7092 -- nosy: +flox resolution: - out of date status: open - closed superseder: - Test suite emits many DeprecationWarnings when -3 is enabled type: compile error - behavior versions: +Python 2.7

[issue1613130] str.split creates new string even if pattern not found

2010-04-01 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Fixed with #7622, and USE_FAST flag removed. -- nosy: +flox resolution: - out of date stage: needs patch - committed/rejected status: open - closed ___ Python tracker

[issue1613130] str.split creates new string even if pattern not found

2010-04-01 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- superseder: - [patch] improve unicode methods: split() rsplit() and replace() ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1613130

[issue5290] subprocess.Popen.communicate does not encode unicode strings

2010-04-01 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: AFAICT 2.6 and 2.7 behave correctly. -- nosy: +flox resolution: - out of date stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue5447] future unicode literals and r'\u'

2010-04-01 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Duplicate of #2570. -- nosy: +flox resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5447

[issue5447] future unicode literals and r'\u'

2010-04-01 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- superseder: - backport 3.0-style \u/\U processing in raw strings when unicode_literals is imported from __future__ ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5447

[issue2570] backport 3.0-style \u/\U processing in raw strings when unicode_literals is imported from __future__

2010-04-01 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- keywords: -26backport nosy: +benjamin.peterson, flox, pooryorick, zhirsch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2570 ___

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread John Machin
John Machin sjmac...@users.sourceforge.net added the comment: Unicode has been frozen at 0x10. That's it. There is no such thing as a valid 5-byte or 6-byte UTF-8 string. -- ___ Python tracker rep...@bugs.python.org

[issue1498930] Generate from Unicode database instead of manualy coding.

2010-04-01 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Fixed with #1571184. -- nosy: +flox resolution: - duplicate stage: patch review - committed/rejected status: open - closed superseder: - Generate numeric/space/linebreak from Unicode database.

[issue6488] ElementTree documentation refers to path with no explanation, and inconsistently

2010-04-01 Thread Fredrik Lundh
Fredrik Lundh fred...@effbot.org added the comment: As per PEP 257, “Returns” should become “Return” (it’s a command, not a description). Upstream ET uses JavaDoc conventions, where the conventions are designed by technical writers, not hackers. In JavaDoc, descriptions are 3rd person

[issue6488] ElementTree documentation refers to path with no explanation, and inconsistently

2010-04-01 Thread Fredrik Lundh
Fredrik Lundh fred...@effbot.org added the comment: The missing/extra words in the findtext description is just a case of sloppy copy-editing, most likely after a quick reformatting. Not sure why you're spending all this energy arguing about commas, though. --

[issue7583] [patch] doctest should normalize tabs when comparing output

2010-04-01 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: Added file: http://bugs.python.org/file16721/issue7583.doctest.tabs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7583 ___

[issue7583] [patch] doctest should normalize tabs when comparing output

2010-04-01 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: Removed file: http://bugs.python.org/file16712/issue7583.doctest.tabs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7583 ___

[issue8254] write a configure command

2010-04-01 Thread Josip Djolonga
Changes by Josip Djolonga jdzolo...@gmail.com: -- nosy: +josip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8254 ___ ___ Python-bugs-list mailing

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: John Machin wrote: John Machin sjmac...@users.sourceforge.net added the comment: Unicode has been frozen at 0x10. That's it. There is no such thing as a valid 5-byte or 6-byte UTF-8 string. The UTF-8 codec was written at a time

[issue8277] ElementTree won't parse comments

2010-04-01 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8277 ___ ___ Python-bugs-list mailing list

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread John Machin
John Machin sjmac...@users.sourceforge.net added the comment: @lemburg: RFC 2279 was obsoleted by RFC 3629 over 6 years ago. The standard now says 21 bits is it. F5-FF are declared to be invalid. I don't understand what you mean by supporting those possibilities. The code is correctly issuing

[issue6703] cross platform failure and silly test in doctest

2010-04-01 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Sure doctests should be crossplatform by default when possible. The patch should fix the behavior for windows. It also cleans the doc and code a bit. Can you provide some testcases? -- keywords: +patch nosy: +techtonik Added

[issue6703] cross platform failure and silly test in doctest

2010-04-01 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: http://codereview.appspot.com/815042/show -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6703 ___

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: John Machin wrote: John Machin sjmac...@users.sourceforge.net added the comment: @lemburg: RFC 2279 was obsoleted by RFC 3629 over 6 years ago. I know. The standard now says 21 bits is it. It says that the current Unicode

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread John Machin
John Machin sjmac...@users.sourceforge.net added the comment: Patch review: Preamble: pardon my ignorance of how the codebase works, but trunk unicodeobject.c is r79494 (and allows encoding of surrogate codepoints), py3k unicodeobject.c is r79506 (and bans the surrogate caper) and I can't

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Even if they are not valid they still eat all the 4/5/6 bytes, so they should be fixed too. I haven't see anything about these bytes in chapter 3 so far, but there are at least two possibilities: 1) consider all the bytes in range F5-FD as

[issue7583] doctest should normalize tabs when comparing output

2010-04-01 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Removed [patch] from title as patch is set on the keywords. Removed 2.5 from versions because it is in security fix only mode (we use versions for where things will be fixed, not where they are broken). Changed component to Library as

[issue7583] doctest should normalize tabs when comparing output

2010-04-01 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: http://docs.python.org/library/doctest.html#how-are-docstring-examples-recognized Changed in version 2.4: Expanding tabs to spaces is new; previous versions tried to preserve hard tabs, with confusing results Unfortunately, no confusing

[issue7585] difflib should separate filename from timestamp with tab

2010-04-01 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- dependencies: +doctest should normalize tabs when comparing output title: [patch] difflib should separate filename from timestamp with tab - difflib should separate filename from timestamp with tab

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Ezio Melotti wrote: Ezio Melotti ezio.melo...@gmail.com added the comment: Even if they are not valid they still eat all the 4/5/6 bytes, so they should be fixed too. I haven't see anything about these bytes in chapter 3 so far, but

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread John Machin
John Machin sjmac...@users.sourceforge.net added the comment: Chapter 3, page 94: As a consequence of the well-formedness conditions specified in Table 3-7, the following byte values are disallowed in UTF-8: C0–C1, F5–FF Of course they should be handled by the simple expedient of setting

[issue8276] useless PyEval_CallObject function

2010-04-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Right, we can certainly suppress the function definition now and just keep the macro. (especially given it's 1997, not 2007, there was a typo in my message) -- assignee: - pitrou priority: - normal stage: - needs patch type: -

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-04-01 Thread John Machin
John Machin sjmac...@users.sourceforge.net added the comment: @lemburg: perhaps applying the same logic as for the other sequences is a better strategy What other sequences??? F5-FF are invalid bytes; they don't start valid sequences. What same logic?? At the start of a character, they should

[issue8255] step-by-step tutorial

2010-04-01 Thread Josip Djolonga
Changes by Josip Djolonga jdzolo...@gmail.com: -- nosy: +josip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8255 ___ ___ Python-bugs-list mailing

[issue8279] python-gdb PyListTests fail

2010-04-01 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: Thanks for reviewing the gdb work. I was mistakenly testing using: make ; ./python Lib/test/test_gdb.py which led to path assumptions in the code. I'm now testing with: make ; ./python Lib/test/regrtest.py -v test_gdb I'm attaching a

[issue8279] python-gdb PyListTests fail

2010-04-01 Thread Dave Malcolm
Changes by Dave Malcolm dmalc...@redhat.com: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8279 ___ ___ Python-bugs-list

[issue8280] urllib2 passes fragment identifier to server

2010-04-01 Thread INADA Naoki
New submission from INADA Naoki songofaca...@gmail.com: urllib2.urlopen(http://wave-robot-python-client.googlecode.com/svn/trunk/pydocs/index.html#module-wavelet;) Traceback (most recent call last): File stdin, line 1, in module File C:\usr\Python2.6\lib\urllib2.py, line 126, in urlopen

[issue8280] urllib2 passes fragment identifier to server

2010-04-01 Thread INADA Naoki
Changes by INADA Naoki songofaca...@gmail.com: -- components: +Library (Lib) type: - behavior versions: +Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue8280] urllib2 passes fragment identifier to server

2010-04-01 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- nosy: +orsenthil versions: -Python 2.5, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8280 ___

[issue8280] urllib2 passes fragment identifier to server

2010-04-01 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8280 ___ ___ Python-bugs-list mailing

[issue8281] test_gdb_sample fails

2010-04-01 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: This doesn't happen in verbose mode, because stdout isn't checked: $ ./python -m test.regrtest test_gdb_sample test_gdb_sample test test_gdb_sample produced unexpected output:

[issue8276] useless PyEval_CallObject function

2010-04-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Fixed in r79555 (trunk), r79556 (py3k). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8276 ___

[issue8276] useless PyEval_CallObject function

2010-04-01 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8276 ___

[issue3073] Cookie.Morsel breaks in parsing cookie values with whitespace

2010-04-01 Thread cburroughs
Changes by cburroughs chris.burrou...@gmail.com: -- nosy: +cburroughs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3073 ___ ___ Python-bugs-list

[issue1659] Tests needing network flag?

2010-04-01 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Updated patch. test_socket - whole suite will be skipped test_socket_ssl - no more avail test_ssl - only test that require network will be marked as skipped test_urllib2 - untouched, requires fine-grained approach,

[issue1659] Tests needing network flag?

2010-04-01 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I propose to split this issue. One is to test which tests that marked with `test_support.requires('network')` _really_ need network connection. Second is annotation of appropriate methods instead of whole test suite to count exact

[issue8281] test_gdb_sample fails

2010-04-01 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: Sorry about that. test_gdb_sample.py is merely a sample script for use by test_gdb.py (see issue 8032); it's not intended to do anything useful by itself (though it does need a print invocation, since test_gdb.py uses a breakpoint in

[issue8281] test_gdb_sample fails

2010-04-01 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- keywords: +buildbot priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8281 ___

[issue8278] os.utime doesn't allow a atime (Last Access) which is 27 years in the future.

2010-04-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: On Windows, time_t is 64bit, but various functions convert it to a 32bit long. Attached patch uses time_t instead of long in various places, this fixes the proposed test. Martin, do you think it's a viable approach? If so, I'll go and

[issue8277] ElementTree won't parse comments

2010-04-01 Thread Patrick W.
Patrick W. p...@borntolaugh.de added the comment: Thanks for your reply, Amaury. That page really might mean that it was not intended for ElementTree to parse such things by default. Although it might be nice if there was some easy way to simply enable it, instead of having to hack it into

[issue8281] test_gdb_sample fails

2010-04-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I would probably be simplest to rename it so it doesn't have a test_ prefix. Indeed. Otherwise it gets caught and executed by regrtest as part of the standard test suite. How about sample_for_test_gdb.py, or somesuch? Shorter would be better

[issue8277] ElementTree won't parse comments

2010-04-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: yes, my code uses the newer version of ElementTree which will be included with 2.7 and 3.2 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8277

[issue2810] _winreg.EnumValue fails when the registry data includes multibyte unicode characters

2010-04-01 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I propose to close this as invalid, because the bug with _winreg.EnumValue can not be confirmed. However, it seems to be impossible to return unicode data from _winreg.EnumKey, and this deserves a new bug. -- nosy: +techtonik

[issue2810] _winreg.EnumValue fails when the registry data includes multibyte unicode characters

2010-04-01 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2810 ___ ___ Python-bugs-list mailing

[issue2810] _winreg.EnumValue fails when the registry data includes multibyte unicode characters

2010-04-01 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: Added file: http://bugs.python.org/file16726/issue2810_registry.png ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2810 ___

[issue8281] test_gdb_sample fails

2010-04-01 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: gdb_sample.py as a name works for me. I don't have commit rights to SVN so I can't perform the rename myself. (Note that due to issue 8279 the file isn't actually used at the moment by test_gdb.py so it should be safe to rename. I have a

[issue8281] test_gdb_sample fails

2010-04-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: (Note that due to issue 8279 the file isn't actually used at the moment by test_gdb.py so it should be safe to rename. I have a patch attached to that latter bug; I'll fix up the patch after that file is renamed). Thank you, this is done in

[issue3778] python uninstaller leave registry entries

2010-04-01 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Confirmed 2.6.5 installer leaves HKLM\SOFTWARE\Python\PythonCore\2.6\Modules on install/uninstall without \2.6\ key. I propose to mark it as 'low' priority. -- nosy: +techtonik versions: +Python 2.6, Python 2.7

[issue8282] Windows uninstaller requests admin access for unindentified program

2010-04-01 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: Uninstall on Vista requires administrative privileges to Unindentified program from Unindentified publisher. Tested 2.6.5 and 2.7a4 -- components: Installation messages: 102117 nosy: techtonik severity: normal status: open

[issue8279] python-gdb PyListTests fail

2010-04-01 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: I'm attaching a revised version of the patch; this is as before, but takes account of the rename of the sample file from test_gdb_sample.py to gdb_sample.py in r79557. -- Added file:

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-04-01 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Fixed with r79558, except test_multiprocessing. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7092 ___

[issue8283] series of lamdas in loop sets the paramater on all calls to that of the last call

2010-04-01 Thread alan hoover
New submission from alan hoover alan.hoo...@gmail.com: Background: building a screen using Tkinter based on information from a database to let user take action on the database rows. I don't know how many rows there will be, so I'm storing the widgets in arrays for each column. Code: for row

[issue3778] python uninstaller leave registry entries

2010-04-01 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I imagine this affects 3.1 and 3.2 as well, but I haven't added them to versions since that hasn't been confirmed. -- keywords: +easy nosy: +brian.curtin, loewis, r.david.murray priority: - low stage: - needs patch type: -

[issue8283] series of lamdas in loop sets the paramater on all calls to that of the last call

2010-04-01 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: This is a defined behavior of closures. -- nosy: +benjamin.peterson resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8283

[issue8282] Windows uninstaller requests admin access for unindentified program

2010-04-01 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: This is a known issue which is fixed in Windows Installer 5.0. See http://blogs.msdn.com/heaths/archive/2009/02/02/changes-to-package-caching-in-windows-installer-5-0.aspx One sentence summary snippet: But during uninstall, packages would display

[issue2810] _winreg.EnumValue fails when the registry data includes multibyte unicode characters

2010-04-01 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: Attached is a file that reliably produces the More data is available error from _winreg.EnumValue in Python 2.6. The script triggers the error via a race condition, by modifying the value after PyEnumValue() calls

[issue2810] _winreg.EnumValue fails when the registry data includes multibyte unicode characters

2010-04-01 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: Here's another script that causes a More data is available error. This one creates a key with a name that's exactly 256 characters long. (The Windows Registry Editor can't display the key either) I'm testing this on XP.

[issue3778] python uninstaller leave registry entries

2010-04-01 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Confirmed on 3.x. -- versions: +Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3778 ___

[issue8284] urlparse incorrect parse

2010-04-01 Thread OMFGROFLMAO
New submission from OMFGROFLMAO benjaminwo...@gmail.com: urlparse.urlparse(example.com/directory/file.ext) ParseResult(scheme='', netloc='', path='example.com/directory/file.ext', params='', query='', fragment='') Where it should be: ParseResult(scheme='', netloc='example.com',

[issue8284] urlparse incorrect parse

2010-04-01 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Hello Do you have references to back your claim, like RFCs quotations and links? The bahavior seems correct to me off the top of my head; a URI needs a “://” delimiter after the scheme to mark there is a netloc part. Regards -- nosy:

[issue7585] difflib should separate filename from timestamp with tab

2010-04-01 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: Added file: http://bugs.python.org/file16730/issue7585.difflib-tab-separator.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7585 ___

[issue8269] Missing return values for PyUnicode C/API functions

2010-04-01 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I'd like to add that a patch would need to modify Doc/data/refcounts.dat, not the .rst files. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8269

[issue8284] urlparse incorrect parse

2010-04-01 Thread OMFGROFLMAO
OMFGROFLMAO benjaminwo...@gmail.com added the comment: example.com is a netloc not a path. I agree that it needs a scheme followed by ://, otherwise it will be invalid, from the technical point of view, but still, it's a domain. -- ___ Python

[issue8284] urlparse incorrect parse

2010-04-01 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8284 ___ ___ Python-bugs-list mailing list

[issue8284] urlparse incorrect parse

2010-04-01 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: My apologies for accidentally removing msg102127. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8284 ___

[issue8284] urlparse incorrect parse

2010-04-01 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- nosy: -benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8284 ___ ___

[issue7585] difflib should separate filename from timestamp with tab

2010-04-01 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: Added file: http://bugs.python.org/file16731/issue7585.difflib-tab-separator-no-trail.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7585 ___

[issue8284] urlparse incorrect parse

2010-04-01 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Yes and no. To you, in some contexts, the characters “example.org” identify a domain from the domain name system. However, from the URI spec viewpoint, netloc has the precise meaning of “machine to connect to to accomplish the rest of the URI

[issue8284] urlparse incorrect parse

2010-04-01 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This will be a release blocker for Python 4.1, but for now I'm closing it. -- nosy: +georg.brandl resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org

[issue8285] IDLE not smart indenting correctly in nested statements

2010-04-01 Thread Tofystedeth
Changes by Tofystedeth nanc...@gmail.com: -- components: IDLE nosy: Tofystedeth severity: normal status: open title: IDLE not smart indenting correctly in nested statements versions: Python 2.6 ___ Python tracker rep...@bugs.python.org

[issue8285] IDLE not smart indenting correctly in nested statements

2010-04-01 Thread Tofystedeth
New submission from Tofystedeth nanc...@gmail.com: huh, somehow I submitted this before I was done, sorry bout that. IDLE (the shell, not the text editor) doubles the indentation when in nested statements. For instance while True: while True: while True: becomes while True:

[issue8265] test_float fails on ARM Linux EABI with soft floating point

2010-04-01 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: From the values in the report, float.fromhex is giving the correct value here, but MIN-3*TINY is somehow coming out incorrectly. Correct values (with Python 2.6, so old float repr; OS X 10.6.2): Python 2.6.5+ (release26-maint:79559:79560,

  1   2   >