[issue12746] normalization is affected by unicode width

2011-09-28 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Not anymore, though. :) -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12746 ___

[issue12746] normalization is affected by unicode width

2011-09-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- versions: -Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12746 ___

[issue12746] normalization is affected by unicode width

2011-09-28 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Almost, that is. The unicodedata module still needs to use the new PEP 393 API. -- resolution: fixed - status: closed - open ___ Python tracker rep...@bugs.python.org

[issue13012] Allow keyword argument in str.splitlines()

2011-09-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 83f43b58c988 by Ezio Melotti in branch 'default': #13012: use splitlines(keepends=True/False) instead of splitlines(0/1). http://hg.python.org/cpython/rev/83f43b58c988 --

[issue13012] Allow keyword argument in str.splitlines()

2011-09-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I applied my patch, including the changes in Lib/collections/__init__.py, the issue can now be closed. -- assignee: - mark.dickinson resolution: - fixed stage: patch review - committed/rejected

[issue13012] Allow keyword argument in str.splitlines()

2011-09-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13012 ___ ___

[issue13053] Add Capsule migration documentation to cporting

2011-09-28 Thread Larry Hastings
New submission from Larry Hastings la...@hastings.org: After the great Capsule flame wars of 2011, it became clear that we need documentation on migrating from CObject to Capsules, as CObject is gone as of 3.2. Nick made me promise to write the documentation, and Raymond steered me in the

[issue13054] sys.maxunicode value after PEP-393

2011-09-28 Thread Ezio Melotti
New submission from Ezio Melotti ezio.melo...@gmail.com: Now that PEP 393 is in and the distinction between narrow and wide doesn't exist anymore, the value of sys.maxunicode should always be 0x10. sys.maxunicode currently uses PyUnicode_GetMax (Objects/unicodeobject.c:196) and still

[issue11473] upload command no longer accepts repository by section name

2011-09-28 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: I now seem to be unable to reproduce the issue. I do keep my .pypirc in a revision control system, so I have reasonable confidence that my .pypirc contained the content that I'm attaching now (passwords scrubbed of course). One possible

[issue13054] sys.maxunicode value after PEP-393

2011-09-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Attached initial patch that sets the value of sys.maxunicode to 0x10, adds a test, and document the change in both the sys.rst doc and in the 3.3 whatsnew. The patch doesn't include any deprecation. If we decide to deprecate something

[issue11473] upload command no longer accepts repository by section name

2011-09-28 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: Sure enough. I just confirmed that with Python 3.2.0, if .pypirc is symlinked, distutils behaves as if the .pypirc isn't present at all, but if that same .pypirc is copied, it behaves as expected. If one deletes the .pypirc altogether, it

[issue13039] IDLE editor: shell-like behaviour on line starting with

2011-09-28 Thread etuardu
etuardu edo...@gmail.com added the comment: Note that this does not affect just pasted code, you can reproduce it typing on a new line three greater-than signs plus a space, and then trying to use backspace. One might want to legitimately do that in a module docstring, e.g.: This module

[issue12933] Update or remove claims that distutils requires external programs

2011-09-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: BTW, one way to confirm this is to use an OS without the tar, gzip, etc. programs, remove the checks in the code that return or skip if tar is not present and run the test suite. -- ___ Python

[issue13054] sys.maxunicode value after PEP-393

2011-09-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Sounds all fine to me. As the PEP specifies, all deprecation will only be on paper for now, not in the code. Adding PyUnicode_GetMax to the list sounds fine to me as well. -- ___ Python tracker

[issue13055] Distutils tries to handle null versions but fails

2011-09-28 Thread Ben Gamari
New submission from Ben Gamari bgam...@gmail.com: The distutils.LooseVersion constructor currently only calls parse if vstring has a value. Unfortunately, this means that a user passing in vstring= or vstring=None gets a version object with self.vstring and self.version unset. This wreaks

[issue13055] Distutils tries to handle null versions but fails

2011-09-28 Thread Ben Gamari
Changes by Ben Gamari bgam...@gmail.com: Added file: http://bugs.python.org/file23253/distutils-workaround.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13055 ___

[issue13055] Distutils tries to handle null versions but fails

2011-09-28 Thread Ben Gamari
Changes by Ben Gamari bgam...@gmail.com: -- assignee: - tarek components: +Distutils nosy: +eric.araujo, tarek type: - crash versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13055

[issue13039] IDLE editor: shell-like behaviour on line starting with

2011-09-28 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Right. That is how I reconfirmed that the bug still exists in 3.2.2, and why I said it should be fixed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13039

[issue13039] IDLE editor: shell-like behaviour on line starting with

2011-09-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Do you want to work on a patch? -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13039 ___

[issue13054] sys.maxunicode value after PEP-393

2011-09-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 606652491366 by Ezio Melotti in branch 'default': #13054: sys.maxunicode is now always 0x10. http://hg.python.org/cpython/rev/606652491366 -- nosy: +python-dev ___

[issue13054] sys.maxunicode value after PEP-393

2011-09-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Attached a second patch that fixes checks like: if sys.maxunicode == 65535: ... There are a couple of places (e.g. test_bigmem) where I'm not sure what the best fix is, so I added a couple of XXX in the patch. If you have any

[issue13054] sys.maxunicode value after PEP-393

2011-09-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I added PyUnicode_GetMax to the list of deprecated functions in PEP 393 in http://hg.python.org/peps/rev/9a154edf18e6. (I'm also adding Antoine to the nosy because he might know something about test_bigmem.) -- nosy: +pitrou

[issue13055] Distutils tries to handle null versions but fails

2011-09-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - test needed type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13055 ___

[issue12933] Update or remove claims that distutils requires external programs

2011-09-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12933 ___ ___

[issue13053] Add Capsule migration documentation to cporting

2011-09-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I think it's fine to include it in 2.7. -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13053 ___

[issue13052] IDLE: replace ending with '\' causes crash

2011-09-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The problem is in Lib/idlelib/ReplaceDialog.py:141: m = prog.match(chars, col) if not prog: return False new = m.expand(self.replvar.get()) where prog = re.compile('foo') # i.e. text in the find box chars = ' foo\n' # i.e. the text in

[issue13056] test_multibytecodec.py:TestStreamWriter is skipped after PEP393

2011-09-28 Thread Ezio Melotti
New submission from Ezio Melotti ezio.melo...@gmail.com: The test at Lib/test/test_multibytecodec.py:178 checks for len('\U00012345') == 2, and with PEP393 this is always False. I tried to run the tests with a few changes and they seem to work, but the code doesn't raise any exception on

[issue13056] test_multibytecodec.py:TestStreamWriter is skipped after PEP393

2011-09-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- components: +Unicode ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13056 ___ ___

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-28 Thread Wong Wah Meng
New submission from Wong Wah Meng r32...@freescale.com: Resending as my old alternative email ID wasn't registered under my account. === Hello there, I included --with-threads option into the configure script calling,

[issue12242] distutils2 environment marker for current compiler

2011-09-28 Thread Eli Collins
Changes by Eli Collins e...@assurancetechnologies.com: Added file: http://bugs.python.org/file23255/ba08e4a70631.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12242 ___

[issue12242] distutils2 environment marker for current compiler

2011-09-28 Thread Eli Collins
Eli Collins e...@assurancetechnologies.com added the comment: Attached is a diff (ba08e4a70631.diff) containing a third revision of my patch. This hopefully addresses all the issues brought up in the code review of the second revision, and changes little else. --