[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Here is the patch for Docs/library/cmd.rst -- nosy: +SilentGhost Added file: http://bugs.python.org/file19663/cmd.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Here is the patch for Doc/library/difflib.rst -- Added file: http://bugs.python.org/file19664/difflib.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10461

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Patch for Doc/library/collections.rst -- Added file: http://bugs.python.org/file19665/collections.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10461

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: patch for Doc/library/logging.rst Also, note the the change of the mode from `'r'` to `'rb'`. `data_to_send` is further send through socket and therefore requires to be bytes. I expressed my opinion in irc, but I can repeat here

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: patch for Doc/library/logging.rst Also, note the the change of the mode from `'r'` to `'rb'`. `data_to_send` is further send through socket and therefore requires to be bytes. I expressed my opinion in irc, but I can repeat here

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
Changes by SilentGhost michael.mischurow+...@gmail.com: Removed file: http://bugs.python.org/file19672/logging.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10461

[issue5800] make wsgiref.headers.Headers accept empty constructor

2010-11-20 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Correct and update patch + update test case -- keywords: +patch nosy: +SilentGhost Added file: http://bugs.python.org/file19680/headers.py.diff ___ Python tracker rep...@bugs.python.org

[issue5800] make wsgiref.headers.Headers accept empty constructor

2010-11-20 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: here is the updated test case -- Added file: http://bugs.python.org/file19681/test_wsgiref.py.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5800

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: None of the changes are about file reading, they only about using with statement throughout. May be nofix then? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue9746] All sequence types support .index and .count

2010-11-20 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Here is the patch for the table in Doc/library/stdtypes.rst .count on range by some reason returns a boolean. Should it not be an int? -- keywords: +patch nosy: +SilentGhost Added file: http://bugs.python.org/file19715

[issue10474] range.count returns boolean

2010-11-20 Thread SilentGhost
New submission from SilentGhost michael.mischurow+...@gmail.com: a = range(5) a.count(5) False a.count(2) True I believe this is related to the issue9213 that introduced count and index method on the range object. According to the documentation accompanying that fix it should return

[issue10474] range.count returns boolean

2010-11-20 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Benjamin, the docs say that it's possible to have count more than 1, depending on comparison rules. If that's the case, I'm afraid your solution might need to be adjusted. -- ___ Python

[issue5800] make wsgiref.headers.Headers accept empty constructor

2010-11-21 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Do I have to resubmit the patch or can you use the existing one? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5800

[issue6878] changed return type from tkinter.Canvas.coords

2010-11-22 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: In my original post, I mentioned that it might be just a documentation issue. Could someone confirm that having map object returned is actually causing any problems? -- ___ Python

[issue5800] make wsgiref.headers.Headers accept empty constructor

2010-11-24 Thread SilentGhost
Changes by SilentGhost michael.mischurow+...@gmail.com: Removed file: http://bugs.python.org/file19680/headers.py.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5800

[issue5800] make wsgiref.headers.Headers accept empty constructor

2010-11-24 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Re-submitting the patch for Lib/wsgiref/headers.py w/o the isinstance change -- keywords: +patch Added file: http://bugs.python.org/file19797/headers.py.diff ___ Python tracker rep

[issue10518] Bring back callable()

2010-11-24 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: What is the reason for this? Why do we need it? -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10518

[issue5800] make wsgiref.headers.Headers accept empty constructor

2010-11-24 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Here is the correction for the docs. I would love to see this making it into 3.2 release. -- Added file: http://bugs.python.org/file19804/wsgiref.rst.diff ___ Python tracker rep

[issue9509] argparse FileType raises ugly exception for missing file

2010-11-24 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Attached patch with the try-except clause as suggested by Steven, Doug's example now produces the following output: $ ./python argparse_filetype_error.py usage: argparse_filetype_error.py [-h] [-i I] argparse_filetype_error.py

[issue9509] argparse FileType raises ugly exception for missing file

2010-11-25 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Ammended akira's patch for Lib/test/test_argparse.py to include suggested in review changes: with statement, import statement -- Added file: http://bugs.python.org/file19815/test_argparse.py.diff

[issue10518] Bring back callable()

2010-11-25 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Just for the reference: What's new in Python 3.0 page says: Removed callable(). Instead of callable(f) you can use isinstance(f, collections.Callable). The operator.isCallable() function is also gone. There doesn't seem

[issue10518] Bring back callable()

2010-11-25 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: surely, such a relevant bit of information is worth linking to! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10518

[issue10518] Bring back callable()

2010-11-25 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: I wouldn't consider it approving, what Guido says is: I admit defeat on this one http://mail.python.org/pipermail/python-ideas/2010-November/008747.html Which incidentally is in response to your e-mails with the actual discussion

[issue9509] argparse FileType raises ugly exception for missing file

2010-11-26 Thread SilentGhost
Changes by SilentGhost michael.mischurow+...@gmail.com: Removed file: http://bugs.python.org/file19815/test_argparse.py.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9509

[issue9509] argparse FileType raises ugly exception for missing file

2010-11-26 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: On windows proposed changes to Lib/test/test_argparse.py cause it to enter an infinite loop in TempDirMixin.tearDown method. As it seemed exclusively Windows issue, this new patch replaces while loop with the ignore_errors

[issue9509] argparse FileType raises ugly exception for missing file

2010-11-27 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Steven, I'm not sure why you're insisting on ArgumentTypeError, when it should be ArgumentError. The file name is not coerced into a different file type, but rather the error occurs when trying to use parameter passed. In any way

[issue10518] Bring back callable()

2010-11-27 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: I thought PEP 3003 was quite unambiguous: This PEP proposes a temporary moratorium (suspension) of **all changes** to the Python language syntax, semantics, and built-ins for a period of at least two years from the release

[issue10518] Bring back callable()

2010-11-27 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: I thought that moratorium meant Guido dis/approval is not applicable to the 3.2 Another listed change was help ease adoption of py3k. How's that helping? -- ___ Python tracker rep

[issue10518] Bring back callable()

2010-11-27 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: yes, my problem is that callable was removed and a way was shown how to do this check. The way which is consistent with the check for any other type (ABC). Now out of the blue, w/o any justification this way is going to be ignored

[issue10518] Bring back callable()

2010-11-27 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: ABCs are still the exception in Python, and duck typing is still the rule. Then why do we callable again? Don't worry, I'll deal with it. It's not like this whole discussion mattered

[issue10567] Unicode space character \u200b unrecognised a space

2010-11-28 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: It returns False on the latest py3k checkout as well. -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10567

[issue10567] Unicode space character \u200b unrecognised a space

2010-11-28 Thread SilentGhost
Changes by SilentGhost michael.mischurow+...@gmail.com: -- versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10567

[issue10567] Unicode space character \u200b unrecognised a space

2010-11-28 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: It's not just this character. isspace() is also False for \u200c and \u200d (from the same category). and \u2060, \u2800 and \ufeff -- ___ Python tracker rep...@bugs.python.org http

[issue10567] Some unicode space characters are not recognized as a space

2010-11-28 Thread SilentGhost
Changes by SilentGhost michael.mischurow+...@gmail.com: -- title: Unicode space character \u200b unrecognised a space - Some unicode space characters are not recognized as a space ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue10567] Unicode space character \u200b unrecognised a space

2010-11-28 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: I'm not quoting anything. Thank you very much. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10567

[issue10567] Unicode space character \u200b unrecognised a space

2010-11-28 Thread SilentGhost
Changes by SilentGhost michael.mischurow+...@gmail.com: -- nosy: -SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10567 ___ ___ Python

[issue10577] (Fancy) URL opener stuck when trying to open redirected url

2010-11-29 Thread SilentGhost
Changes by SilentGhost michael.mischurow+...@gmail.com: -- title: (Fancy) URL opener stucks whet try to open page - (Fancy) URL opener stuck when trying to open redirected url ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue10577] (Fancy) URL opener stuck when trying to open redirected url

2010-11-29 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: @xhresko: This is not valid py3k code. It is 302 redirect. I get the following error: IOError: [Errno socket error] [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period

[issue10577] (Fancy) URL opener stuck when trying to open redirected url

2010-11-29 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: @xhresko: why are you passing empty dict to the constructor? it works just fine with opener = urllib.request.FancyURLopener() resolution: invalid ? -- ___ Python tracker rep

[issue10577] (Fancy) URL opener stuck when trying to open redirected url

2010-11-29 Thread SilentGhost
Changes by SilentGhost michael.mischurow+...@gmail.com: -- versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10577

[issue10577] (Fancy) URL opener stuck when trying to open redirected url

2010-11-29 Thread SilentGhost
Changes by SilentGhost michael.mischurow+...@gmail.com: -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10577

[issue2690] Precompute range length and enhance range subscript support

2010-12-10 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Not sure this worth a patch, to me it looks like a removal of a single word. But here it goes anyway. -- nosy: +SilentGhost Added file: http://bugs.python.org/file20003/stdtypes.rst.diff

[issue2690] Precompute range length and enhance range subscript support

2010-12-11 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: here is the patch for the py3k docs. -- Added file: http://bugs.python.org/file20021/stdtypes.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2690

[issue10461] Use with statement throughout the docs

2010-12-19 Thread SilentGhost
Changes by SilentGhost michael.mischurow+...@gmail.com: Removed file: http://bugs.python.org/file19671/logging.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10461

[issue10461] Use with statement throughout the docs

2010-12-19 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: following re-organization of the logging docs, I'm attaching updated patch. -- nosy: +vinay.sajip Added file: http://bugs.python.org/file20112/logging-cookbook.rst.diff ___ Python tracker

[issue10793] hashlib.hash.digest() documentation incorrect re return type

2010-12-29 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: One-word patch attached. -- keywords: +patch nosy: +SilentGhost Added file: http://bugs.python.org/file20191/hashlib.rst.diff ___ Python tracker rep...@bugs.python.org http

[issue8013] time.asctime segfaults when given a time in the far future

2011-01-02 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Sasha, commit is not working. It doesn't pass test on Ubuntu and returns the string with a trailing \n. Seems like that hunk of code is misplaced. -- nosy: +SilentGhost ___ Python

[issue8013] time.asctime segfaults when given a time in the far future

2011-01-02 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: I'm not sure that whether it's related to the current issue, but asctime doesn't seem to accept years 1900. Which might be fair enough, has this been documented. -- ___ Python tracker

[issue8013] time.asctime segfaults when given a time in the far future

2011-01-02 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: yes, sorry. what I meant to say is that fixing only upper bound for the year (according to CERT recommendation cited above) and leaving the lower bound in its current state is somewhat unsatisfactory

[issue8013] time.asctime segfaults when given a time in the far future

2011-01-03 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: All tests pass and all works as documented with the latest patch on Ubuntu (glibc 2.11). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8013

[issue10873] String formatting example invalid

2011-01-09 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Works as advertised for me. Unless more information is added, it looks like an invalid issue. -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10873

[issue10874] test_urllib2 shouldn't use is operator for comparing strings

2011-01-09 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Shouldn't that be: self.assertIs(req.type == ftp, ftp) ? -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10874

[issue10874] test_urllib2 shouldn't use is operator for comparing strings

2011-01-09 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Added file: http://bugs.python.org/file20326/test_urllib2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10874

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Here is the patch implementing all but the url suggestion. Doctest still has 11 failures (changing to '0x...' didn't help). -- keywords: +patch nosy: +SilentGhost Added file: http://bugs.python.org/file20329/regex.rst.diff

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: A few bits and pieces fixed compared to the previous patch. doctest.testfile(/home/mischa/pydev/Doc/howto/regex.rst, module_relative = False, optionflags=doctest.ELLIPSIS) TestResults(failed=0, attempted=98) -- Added file: http

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file20329/regex.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10875

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: It seems that the special sequences description in Matching Characters section need to be updated to incorporate information on unicode and bytes. I don't think, however, that it's a good idea just to copy that information from the Doc

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: I don't know whether it would be easy to strip down py3k version to 2.7 version. Seeing how it's just a basic introduction, I would think that a single statement re unicode support might be sufficient. For exhaustive description of special

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file20331/regex.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10875

[issue10875] Update Regular Expression HOWTO

2011-01-10 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: While the changes all look innocuous to me with respect to building the docs, I am curious if you have tried to rebuild the HOWTO (if you have the tool chain, which I do not). I did rebuild the docs with 'make html'. Build was clean every

[issue10894] Making stdlib APIs private

2011-01-12 Thread SilentGhost
New submission from SilentGhost ghost@gmail.com: Following suggestion in the Developers Guide (http://docs.python.org/devguide/#index-5) and the rules proposed by Michael Foord (http://mail.python.org/pipermail/python-dev/2010-November/105476.html): If a module or package

[issue10895] Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext

2011-01-12 Thread SilentGhost
New submission from SilentGhost ghost@gmail.com: Module generic path is in order (added here only for completeness). Attached patch is for getopt. -- components: Library (Lib) files: getopt_api.diff keywords: patch messages: 126095 nosy: SilentGhost priority: normal severity

[issue10894] Making stdlib APIs private

2011-01-12 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Depends on issue10895 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10894 ___ ___ Python

[issue10895] Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext

2011-01-12 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Attached patch is for glob. While I haven't touched it, I find it strange that Doc/library/glob.rst draws special attention to the actual source code of the glob module. Since, in my view, it's pertaining to the public API, I would consider

[issue10895] Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext

2011-01-12 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Attached patch is for getpass. Additionally, I let myself remove superfluous import. -- Added file: http://bugs.python.org/file20367/getpass_api.diff ___ Python tracker rep...@bugs.python.org http

[issue10893] The docs mark staticmethod as a function

2011-01-12 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: So, is int, str, bool and enumerate. And many others. The preface on functions page (http://docs.python.org/dev/library/functions.html) says: The Python interpreter has a number of functions and types built into it that are always available

[issue10895] Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext

2011-01-12 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Attached patch is for gzip. Additionally, I had to fix import and removed two unused (?) functions. Let me know if that's inappropriate. I wasn't sure what to do about constants (all caps vars) so I left them as they were. -- Added

[issue10895] Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext

2011-01-12 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file20367/getpass_api.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10895

[issue10895] Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext

2011-01-12 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Added file: http://bugs.python.org/file20372/getpass_api.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10895

[issue10896] trace module compares directories as strings (--ignore-dir)

2011-01-12 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: It's due to the os.path.normpath not normalizing case. Here is the patch. Also affects 3.x -- keywords: +patch nosy: +SilentGhost versions: +Python 3.1, Python 3.2 Added file: http://bugs.python.org/file20378/trace.diff

[issue10896] trace module compares directories as strings (--ignore-dir)

2011-01-12 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10896 ___ ___ Python-bugs-list

[issue10895] Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext

2011-01-12 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Attached patch is fro gettext None of the public members of the module has any docstrings. I'm not sure that simple copying from Doc/library/gettext.rst would be satisfactory. But if it is, please let me know. -- Added file: http

[issue10897] UNIX mmap unnecessarily dup() file descriptor

2011-01-12 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10897 ___ ___ Python-bugs-list

[issue10894] Making stdlib APIs private

2011-01-12 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10894 ___ ___ Python-bugs-list

[issue10897] UNIX mmap unnecessarily dup() file descriptor

2011-01-12 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: version of the lorenz's patch agains py3k branch. -- Added file: http://bugs.python.org/file20380/mmap.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10897

[issue10874] test_urllib2 shouldn't use is operator for comparing strings

2011-01-12 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Committed for 2.7 in r87964, for 3.1 in r87965. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10874

[issue2650] re.escape should not escape underscore

2011-01-12 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2650 ___ ___ Python-bugs-list

[issue2650] re.escape should not escape underscore

2011-01-13 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Here is the patch, including adjustment to the test. -- Added file: http://bugs.python.org/file20388/issue2650.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2650

[issue10013] fix `./libpython2.6.so: undefined reference to `_PyParser_Grammar´` in parallel builds

2011-01-13 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- resolution: - accepted status: open - closed versions: +Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10013

[issue2650] re.escape should not escape underscore

2011-01-13 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file20388/issue2650.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2650

[issue2650] re.escape should not escape underscore

2011-01-13 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: The naïve version of the code proposed was about 3 times slower than existing version. However, the test, I think, is valuable enough. So, I'm reinstating it. -- Added file: http://bugs.python.org/file20389/test_re.diff

[issue10013] fix `./libpython2.6.so: undefined reference to `_PyParser_Grammar´` in parallel builds

2011-01-13 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- resolution: accepted - fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10013 ___ ___ Python

[issue2650] re.escape should not escape underscore

2011-01-13 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: James, I think the setup statement should have been: import re\ndef escape(s):\n return re.sub(r'([][.^$*+?{}\\|()])', r'\\\1', s)) note the raw string literals. The timings that I got after applying file20388 (http://bugs.python.org

[issue10900] bz2 module fails to uncompress large files

2011-01-13 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: +gustavo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10900 ___ ___ Python-bugs-list mailing

[issue10900] bz2 module fails to uncompress large files

2011-01-13 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: +niemeyer -gustavo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10900 ___ ___ Python-bugs

[issue10901] Python 3 MIME generator dies if not given boundary

2011-01-13 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: It is a duplicate of #1243654. Closing. -- nosy: +SilentGhost resolution: - duplicate status: open - closed superseder: - Faster output if message already has a boundary ___ Python tracker rep

[issue1243654] Faster output if message already has a boundary

2011-01-13 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Issue #10901 was closed as a duplicate of this issue. -- nosy: +SilentGhost versions: +Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1243654

[issue10908] Improvements to trace._Ignore

2011-01-14 Thread SilentGhost
New submission from SilentGhost ghost@gmail.com: In the course of fixing #10896 I've noticed a few things: 1. --ignore-dir='$prefix' doesn't work on windows. I don't know if it has to, there is no information in docs regarding it at all. It does work on Unix. 2. The way module check

[issue10896] trace module compares directories as strings (--ignore-dir)

2011-01-14 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: #10908 is dealing with this and other issue re ignored dirs. -- status: open - closed superseder: - Improvements to trace._Ignore ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue5800] make wsgiref.headers.Headers accept empty constructor

2011-01-15 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- status: open - languishing ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5800 ___ ___ Python-bugs

[issue10908] Improvements to trace._Ignore

2011-01-15 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: The patch aside from fixing directory names on case-insensitive file systems, also: * implements more efficient handling of directory and module comparison (put into _Ignoore.__init__ instead of _Ignore.names). * changes integer return codes

[issue10896] trace module compares directories as strings (--ignore-dir)

2011-01-15 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10896 ___ ___ Python-bugs-list

[issue10896] trace module compares directories as strings (--ignore-dir)

2011-01-15 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: -SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10896 ___ ___ Python-bugs-list

[issue10908] Improvements to trace._Ignore

2011-01-15 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- dependencies: +trace module compares directories as strings (--ignore-dir) type: - performance ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10908

[issue10896] trace module compares directories as strings (--ignore-dir)

2011-01-19 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Vladimir, superseder's patch fixes that too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10896

[issue9509] argparse FileType raises ugly exception for missing file

2011-01-19 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- status: open - languishing ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9509 ___ ___ Python-bugs

[issue9509] argparse FileType raises ugly exception for missing file

2011-01-19 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Here is the single patch. All tests pass. -- Added file: http://bugs.python.org/file20456/argparse.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9509

[issue9509] argparse FileType raises ugly exception for missing file

2011-01-19 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file19827/test_argparse.py.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9509

[issue9509] argparse FileType raises ugly exception for missing file

2011-01-19 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file19805/argparse.py.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9509

[issue9509] argparse FileType raises ugly exception for missing file

2011-01-19 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Added file: http://bugs.python.org/file20458/argparse.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9509

  1   2   3   4   5   6   7   8   9   10   >