[issue8286] distutils: path '[...]' cannot end with '/'

2010-04-01 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- components: +Windows ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue8286] distutils: path '[...]' cannot end with '/'

2010-04-01 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : I noticed this exception in http://pypm-free.activestate.com/2.6/win32-x86/pool/d/dj/django-navbar-0.2.0_win32-x86_2.6_1.pypm.d/log [...] reading manifest file 'django_navbar.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' Traceback (mo

[issue3778] python uninstaller leave registry entries

2010-04-01 Thread Martin v . Löwis
Martin v. Löwis added the comment: FWIW: contributions are welcome. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue8282] Windows uninstaller requests admin access for unindentified program

2010-04-01 Thread Martin v . Löwis
Martin v. Löwis added the comment: IIUC, fixing this would require to split the installer into two files: the msi and the cab. This would not be acceptable, so I'm closing this as "won't fix". -- resolution: -> wont fix status: pending -> closed __

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

2010-04-01 Thread Martin v . Löwis
Martin v. Löwis added the comment: The patch looks fine to me, please apply. -- resolution: -> accepted ___ Python tracker ___ ___ Py

[issue1683368] object.__init__ shouldn't allow args/kwds

2010-04-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: @dauerbaustelle I believe your question is a separate issue and that it should have been asked on Python list. However, yes, subclasses of immutables must override __new__. For more, do ask on the list, not here. -- __

[issue7443] test.support.unlink issue on Windows platform

2010-04-01 Thread Andrew Svetlov
Andrew Svetlov added the comment: Florent, sorry. I have no Windows workstation now, so I cannot follow this issue. -- ___ Python tracker ___ ___

[issue1683368] object.__init__ shouldn't allow args/kwds

2010-04-01 Thread dauerbaustelle
dauerbaustelle added the comment: What exactly is the correct solution with Python 2.6 to avoid this warning? My use case is something like class myunicode(unicode): def __init__(self, *args, **kwargs): unicode.__init__(self, *args, **kwargs) self.someattribute = calculate_attribute_

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

2010-04-01 Thread Matthias Klose
Changes by Matthias Klose : -- nosy: +doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

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

2010-04-01 Thread Mark Dickinson
Mark Dickinson 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, Apr 1 2010, 21:54

[issue8285] IDLE not smart indenting correctly in nested statements

2010-04-01 Thread Tofystedeth
New submission from Tofystedeth : 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: while True:

[issue8285] IDLE not smart indenting correctly in nested statements

2010-04-01 Thread Tofystedeth
Changes by Tofystedeth : -- components: IDLE nosy: Tofystedeth severity: normal status: open title: IDLE not smart indenting correctly in nested statements versions: Python 2.6 ___ Python tracker ___

[issue8284] urlparse incorrect parse

2010-04-01 Thread Georg Brandl
Georg Brandl 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 _

[issue8284] urlparse incorrect parse

2010-04-01 Thread Éric Araujo
Éric Araujo 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 role”. In other wo

[issue7585] difflib should separate filename from timestamp with tab

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

[issue8284] urlparse incorrect parse

2010-04-01 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- nosy: -benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue8284] urlparse incorrect parse

2010-04-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: My apologies for accidentally removing msg102127. -- nosy: +benjamin.peterson ___ Python tracker ___

[issue8284] urlparse incorrect parse

2010-04-01 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman

[issue8284] urlparse incorrect parse

2010-04-01 Thread OMFGROFLMAO
OMFGROFLMAO 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 tracker

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

2010-04-01 Thread Georg Brandl
Georg Brandl 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 ___ _

[issue7585] difflib should separate filename from timestamp with tab

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

[issue8284] urlparse incorrect parse

2010-04-01 Thread Éric Araujo
Éric Araujo 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: +merwok _

[issue8284] urlparse incorrect parse

2010-04-01 Thread OMFGROFLMAO
New submission from OMFGROFLMAO : >>> 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', path='/directory/file.ext', pa

[issue3778] python uninstaller leave registry entries

2010-04-01 Thread Brian Curtin
Brian Curtin added the comment: Confirmed on 3.x. -- versions: +Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mai

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

2010-04-01 Thread Daniel Stutzbach
Daniel Stutzbach 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. Newer versions of Windows might

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

2010-04-01 Thread Daniel Stutzbach
Daniel Stutzbach 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 RegQueryInfoKey() but before it calls Reg

[issue8282] Windows uninstaller requests admin access for unindentified program

2010-04-01 Thread Brian Curtin
Brian Curtin 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 “Unidentified

[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 added the comment: This is a defined behavior of closures. -- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed ___ Python tracker ___ ___

[issue3778] python uninstaller leave registry entries

2010-04-01 Thread R. David Murray
R. David Murray 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: -> behavior versions: -P

[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 : 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 in getDBrows(): se

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

2010-04-01 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with r79558, except test_multiprocessing. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue8279] python-gdb PyListTests fail

2010-04-01 Thread Dave Malcolm
Dave Malcolm 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: http://bugs.python.org/file16727/fix-test_gdb_sample-path-and-whi

[issue8282] Windows uninstaller requests admin access for unindentified program

2010-04-01 Thread anatoly techtonik
New submission from anatoly techtonik : 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 title: Windows unin

[issue3778] python uninstaller leave registry entries

2010-04-01 Thread anatoly techtonik
anatoly techtonik 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 __

[issue8281] test_gdb_sample fails

2010-04-01 Thread Antoine Pitrou
Antoine Pitrou 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 r79557. --

[issue8281] test_gdb_sample fails

2010-04-01 Thread Dave Malcolm
Dave Malcolm 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 patch attached to t

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

2010-04-01 Thread anatoly techtonik
Changes by anatoly techtonik : Added file: http://bugs.python.org/file16726/issue2810_registry.png ___ Python tracker ___ ___ Python-bugs-list

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

2010-04-01 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

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

2010-04-01 Thread anatoly techtonik
anatoly techtonik 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 versions: +Python 2

[issue8277] ElementTree won't parse comments

2010-04-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: yes, my code uses the newer version of ElementTree which will be included with 2.7 and 3.2 -- ___ Python tracker ___

[issue8281] test_gdb_sample fails

2010-04-01 Thread Antoine Pitrou
Antoine Pitrou 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 :) For ex

[issue8277] ElementTree won't parse comments

2010-04-01 Thread Patrick W.
Patrick W. 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 there and depending on

[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 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 add some tests for

[issue8281] test_gdb_sample fails

2010-04-01 Thread Florent Xicluna
Changes by Florent Xicluna : -- keywords: +buildbot priority: -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue8281] test_gdb_sample fails

2010-04-01 Thread Dave Malcolm
Dave Malcolm 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 PyObject_Print). I

[issue1659] Tests needing network flag?

2010-04-01 Thread anatoly techtonik
anatoly techtonik 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 number of tests skipped

[issue1659] Tests needing network flag?

2010-04-01 Thread anatoly techtonik
anatoly techtonik 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, probably for separate

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

2010-04-01 Thread cburroughs
Changes by cburroughs : -- nosy: +cburroughs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue8276] useless PyEval_CallObject function

2010-04-01 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue8276] useless PyEval_CallObject function

2010-04-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed in r79555 (trunk), r79556 (py3k). -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8281] test_gdb_sample fails

2010-04-01 Thread Antoine Pitrou
New submission from Antoine Pitrou : 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: ** 42 ***

[issue8280] urllib2 passes fragment identifier to server

2010-04-01 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue8280] urllib2 passes fragment identifier to server

2010-04-01 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +orsenthil versions: -Python 2.5, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue8280] urllib2 passes fragment identifier to server

2010-04-01 Thread INADA Naoki
Changes by INADA Naoki : -- 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 ___

[issue8280] urllib2 passes fragment identifier to server

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

[issue8279] python-gdb PyListTests fail

2010-04-01 Thread Dave Malcolm
Changes by Dave Malcolm : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8279] python-gdb PyListTests fail

2010-04-01 Thread Dave Malcolm
Dave Malcolm 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 patch which uses tes

[issue8255] step-by-step tutorial

2010-04-01 Thread Josip Djolonga
Changes by Josip Djolonga : -- nosy: +josip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

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

2010-04-01 Thread John Machin
John Machin 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 get the same short shar

[issue8276] useless PyEval_CallObject function

2010-04-01 Thread Antoine Pitrou
Antoine Pitrou 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: -> feature request v

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

2010-04-01 Thread John Machin
John Machin 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 their length entry to zero.

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

2010-04-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ezio Melotti wrote: > > Ezio Melotti 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 possib

[issue7585] difflib should separate filename from timestamp with tab

2010-04-01 Thread R. David Murray
Changes by R. David Murray : -- 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 ___ Python tracker

[issue7583] doctest should normalize tabs when comparing output

2010-04-01 Thread anatoly techtonik
anatoly techtonik 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 results survived

[issue7583] doctest should normalize tabs when comparing output

2010-04-01 Thread R. David Murray
R. David Murray 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 this is not a bug in

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

2010-04-01 Thread Ezio Melotti
Ezio Melotti 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 invalid without look

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

2010-04-01 Thread John Machin
John Machin 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 find the r79542 that the patch me

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

2010-04-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: John Machin wrote: > > John Machin 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 codespace only uses 21 bits. In the early days 16

[issue6703] cross platform failure and silly test in doctest

2010-04-01 Thread anatoly techtonik
anatoly techtonik added the comment: http://codereview.appspot.com/815042/show -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue6703] cross platform failure and silly test in doctest

2010-04-01 Thread anatoly techtonik
anatoly techtonik 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 file: http://bugs.pytho

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

2010-04-01 Thread John Machin
John Machin 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 an error message. The goal o

[issue8277] ElementTree won't parse comments

2010-04-01 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

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

2010-04-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: John Machin wrote: > > John Machin 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 when UTF-8 still included the possibility

[issue8254] write a configure command

2010-04-01 Thread Josip Djolonga
Changes by Josip Djolonga : -- nosy: +josip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

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

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

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

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

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

2010-04-01 Thread Fredrik Lundh
Fredrik Lundh 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. -- ___ P

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

2010-04-01 Thread Fredrik Lundh
Fredrik Lundh 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 declarative (after all

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

2010-04-01 Thread Florent Xicluna
Florent Xicluna 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. ___ Python track

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

2010-04-01 Thread John Machin
John Machin 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 ___ ___

[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 : -- keywords: -26backport nosy: +benjamin.peterson, flox, pooryorick, zhirsch ___ Python tracker ___ ___ P

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

2010-04-01 Thread Florent Xicluna
Changes by Florent Xicluna : -- superseder: -> backport 3.0-style \u/\U processing in raw strings when unicode_literals is imported from __future__ ___ Python tracker ___ __

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

2010-04-01 Thread Florent Xicluna
Florent Xicluna added the comment: Duplicate of #2570. -- nosy: +flox resolution: -> duplicate status: open -> closed ___ Python tracker ___

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

2010-04-01 Thread Florent Xicluna
Florent Xicluna 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 ___

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

2010-04-01 Thread Florent Xicluna
Changes by Florent Xicluna : -- superseder: -> [patch] improve unicode methods: split() rsplit() and replace() ___ Python tracker ___ _

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

2010-04-01 Thread Florent Xicluna
Florent Xicluna 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 _

[issue4577] distutils: -3 warnings (apply)

2010-04-01 Thread Florent Xicluna
Florent Xicluna 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 __

[issue1044] tarfile insecure pathname extraction

2010-04-01 Thread Matthias Klose
Changes by Matthias Klose : -- nosy: +doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue7132] Regexp: capturing groups in repetitions

2010-04-01 Thread David Chambers
David Chambers 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 at the moment needs to extrac

[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 : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

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

2010-04-01 Thread Dmitry Chichkov
Dmitry Chichkov 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 improvement. There is also

[issue8277] ElementTree won't parse comments

2010-04-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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 MyTreeBuilder(ElementTree.TreeBuilder):

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

2010-04-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ezio Melotti wrote: > > Ezio Melotti 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 worthwhile unrolling those loops by h

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

2010-04-01 Thread Ezio Melotti
Ezio Melotti 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) should behave in the same

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

2010-04-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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: len(pprint.p

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

2010-04-01 Thread Florent Xicluna
Florent Xicluna 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 supported in 3.x; use fun

[issue8193] test_zlib fails with zlib 1.2.4

2010-04-01 Thread Valerio
Valerio added the comment: Ok, so here the patch. -- Added file: http://bugs.python.org/file16718/8193.patch ___ Python tracker ___ __

[issue8193] test_zlib fails with zlib 1.2.4

2010-04-01 Thread Valerio
Changes by Valerio : Removed file: http://bugs.python.org/file16711/8193.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue8193] test_zlib fails with zlib 1.2.4

2010-04-01 Thread Nick Coghlan
Nick Coghlan 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 suggestion of changing

[issue8279] python-gdb PyListTests fail

2010-04-01 Thread Martin v . Löwis
Martin v. Löwis added the comment: The other failures look similar, so I'm not reporting them separately for now. -- ___ Python tracker ___ __

  1   2   >