[issue9769] PyUnicode_FromFormatV() doesn't handle non-ascii text correctly

2010-11-19 Thread STINNER Victor
STINNER Victor added the comment: On Friday 19 November 2010 21:58:25 you wrote: > > I choosed to use ASCII instead of UTF-8, because an UTF-8 decoder is long > > (210 lines) and complex (see PyUnicode_DecodeUTF8Stateful()), whereas > > ASCII decode is just: "unicode_char = (Py_UNICODE)byte;" +

[issue10299] Add index with links section for built-in functions

2010-11-19 Thread Ezio Melotti
Ezio Melotti added the comment: Here's a new patch with a 5 column tables. I had to use some rst trickery to make a decent header that works both in the HTML and Latex outputs. I put the title in the middle cell (the 3rd) of the header and left the others empty. The column cells are a litt

[issue10459] missing character names in unicodedata (CJK...)

2010-11-19 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Martin v. Löwis wrote: > > Martin v. Löwis added the comment: > > Marc-Andre: Many of the characters you refer actually do have names assigned, > even if the names don't appear in the Unicode character database. Instead, > they are specified in section

[issue9198] Should repr() print unicode characters outside the BMP?

2010-11-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue10399] AST Optimization: inlining of function calls

2010-11-19 Thread Dave Malcolm
Dave Malcolm added the comment: Sorry again for another epic-length comment... I'm attaching the latest work-in-progress on this. The code is still fairly messy (embarrasingly so in places), but it's better to have it out in public in this tracker than stuck on my hard drive. Symbol tables =

[issue10399] AST Optimization: inlining of function calls

2010-11-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Sorry again for another epic-length comment... > > I'm attaching the latest work-in-progress on this. If this a work in progress, you could create an SVN branch in the sandbox (you can then use svnmerge to avoid diverging too much from mainline) or an hg rep

[issue809163] Can't add files with spaces

2010-11-19 Thread John Keyes
John Keyes added the comment: This is my first contribution as part of the Bug Weekend (and possibly my first to Python). I tested this by writing a MANIFEST.in and a very small setup.py but after looking at distutils I narrowed the area down to the FileList. I wrote a unittest and have atta

[issue10391] obj2ast's error handling can lead to python crashing with a C-level assertion failure

2010-11-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: r86538 -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-li

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-11-19 Thread Matthew Barnett
Matthew Barnett added the comment: issue2636-20101120.zip is a new version of the regex module. The match object now supports additional methods which return information on all the successful matches of a repeated capture group. The API was inspired by that of .Net: matchobject.captures(

[issue10002] Installer doesn't install on Windows Server 2008 DataCenter R2

2010-11-19 Thread Brian Curtin
Brian Curtin added the comment: joblack - are you still seeing issues with this? -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue809163] Can't add files with spaces

2010-11-19 Thread R. David Murray
R. David Murray added the comment: Thanks for diagnosis and the test patch, and welcome to the bug weekend. Some comments: test.support has a symbol, TESTFN, which is guaranteed to be unique for the test run and located in an appropriate writeable location. Many tests use it to create a dir

[issue10437] ThreadPoolExecutor should accept max_workers=None

2010-11-19 Thread Brian Quinlan
Brian Quinlan added the comment: Daniel, I wasn't trying to avoid importing multiprocessing. What's your use case though? I think that defaulting the number of threads to the numbers of CPUs would trick users into believing that threads are useful for CPU-intensive work in Python ;-) --

[issue10424] better error message from argparse when positionals missing

2010-11-19 Thread R. David Murray
R. David Murray added the comment: There are currently no tests in argparse that test the content of error messages, which is fairly standard for stdlib tests since the error messages aren't considered part of the API (only the nature of the exception is). So there's really no existing test

[issue10183] test_concurrent_futures failure on Windows

2010-11-19 Thread Brian Quinlan
Brian Quinlan added the comment: Fixed in r10183 -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue8705] shutil.rmtree with empty filepath

2010-11-19 Thread Brian Curtin
Brian Curtin added the comment: This can't actually work. You can't delete a directory which has open handles to it on Windows, namely the Python process you're running in that directory. The empty file path isn't really the issue here. shutil.rmtree(os.getcwd()) attempts the same thing but g

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-11-19 Thread Eli Bendersky
Eli Bendersky added the comment: Terry, when is the deadline for producing the patch for 3.2? Perhaps we should at least submit the 2.7 patch for now so that it goes in for sure? -- ___ Python tracker

<    1   2