[issue12621] Errors in docstrings of find and rfind methods of bytes and bytestring

2011-07-24 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Attached outputs of the following commands in the corresponding head revisions (from yesterday, as hg.python.org seems to be down today): 3.3: for x in {bytes,bytearray}.{find,rfind} str.{find,rfind}; do echo === $x ===; ./python -c help($x)

[issue12621] Errors in docstrings of find and rfind methods of bytes and bytestring

2011-07-24 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: Added file: http://bugs.python.org/file22741/3.2.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12621 ___

[issue12621] Errors in docstrings of find and rfind methods of bytes and bytestring

2011-07-24 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: Added file: http://bugs.python.org/file22742/2.7.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12621 ___

Re: [issue12621] Errors in docstrings of find and rfind methods of bytes and bytestring

2011-07-24 Thread Senthil Kumaran
Okay, got it. Thanks. I was a subtle one within the description. I missed it in the first place. ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

[issue12625] sporadic test_unittest failure

2011-07-24 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: No, it's a feature of the new GIL. When I look at 2.7's code, I see something different - _Py_Ticker is reset in Py_AddPendingCall(): int Py_AddPendingCall(int (*func)(void *), void *arg) { [...] /* signal main loop */

[issue12560] libpython.so not built on OpenBSD

2011-07-24 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: The patch looks good to me. As for the other failures, it would probably be interesting to open a separate issue, no? -- ___ Python tracker rep...@bugs.python.org

[issue12626] run test cases based on a glob filter

2011-07-24 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: I love the functionality. Running individual tests (or groups of tests) with unittest is a *pain*. I had hoped to solve this through unittest extensions, but this is taking me longer to get to than I had hoped. So I would like to add

[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2011-07-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Some scripts are installed by setup.py I’ll find time to read the latest version of the PEP in the coming days. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org

[issue12394] packaging: generate scripts from callable (dotted paths)

2011-07-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: You haven’t set the git option for the diff commands in your config file. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12394 ___

[issue12394] packaging: generate scripts from callable (dotted paths)

2011-07-24 Thread higery
higery shoulderhig...@gmail.com added the comment: remote repository? It's just a configuration file under the .hg directory... -- Added file: http://bugs.python.org/file22744/unnamed ___ Python tracker rep...@bugs.python.org

[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2011-07-24 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12627 ___ ___ Python-bugs-list

[issue11784] multiprocessing.Process.join: timeout argument doesn't specify time unit.

2011-07-24 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11784 ___ ___ Python-bugs-list

[issue12294] multiprocessing.Pool: Need a way to find out if work are finished.

2011-07-24 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12294 ___ ___ Python-bugs-list

[issue12063] tokenize module appears to treat unterminated single and double-quoted strings inconsistently

2011-07-24 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12063 ___ ___ Python-bugs-list mailing

[issue12174] Multiprocessing logging levels unclear

2011-07-24 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- keywords: +needs review stage: - patch review versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12174 ___

[issue11934] build with --prefix=/dev/null and zlib enabled in Modules/Setup failed

2011-07-24 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: ysj.ray: As you're on Debian, the real cause of this might be issue 11715. The Modules/Setup.dist line for zlib is commented out, so it's only an example of how to enable zlib if it's not found automatically. Can you try again now that issue

[issue11708] argparse: suggestion for formatting optional positional args

2011-07-24 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: I think this is a good idea, and seems to me more like a bug than a feature request. -- stage: - needs patch type: feature request - versions: +Python 3.2, Python 3.3 ___ Python tracker

[issue11694] xdrlib raises ConversionError in inconsistent way

2011-07-24 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- stage: - test needed versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11694 ___

[issue11869] Include information about the bug tracker Rietveld code review tool

2011-07-24 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11869 ___ ___ Python-bugs-list

[issue12629] HTMLParser silently stops parsing with malformed attributes

2011-07-24 Thread Kevin Stock
New submission from Kevin Stock teo...@gmail.com: Given the input 'xy z=o //x', HTMLParser only detects the opening x tag, and then stops parsing. Ideally this should behave like the case 'xy z= //x' which raises an error and then can continue parsing the close x tag. -- components:

[issue10731] UnicodeDecodeError in OS X tkinter when binding to MouseWheel

2011-07-24 Thread Marc Culler
Marc Culler cul...@math.uic.edu added the comment: I am running OSX 10.5.8 on this macbook. The Tcl/Tk package on the system is ActiveState Tcl/Tk 8.4.19. I just installed Python 3.2 (r32:88452, Feb 20 2011, 10:19:59) from http://www.python.org/getit/releases/3.2/ and I am still seeing this

[issue12448] smtplib's __main__ doesn't flush when prompting

2011-07-24 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12448 ___ ___ Python-bugs-list

[issue12560] libpython.so not built on OpenBSD

2011-07-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 33be4896003a by Charles-François Natali in branch '2.7': Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling. http://hg.python.org/cpython/rev/33be4896003a -- nosy: +python-dev

[issue12560] libpython.so not built on OpenBSD

2011-07-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1fdad36ac838 by Charles-François Natali in branch '3.2': Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling. http://hg.python.org/cpython/rev/1fdad36ac838 --

[issue12560] libpython.so not built on OpenBSD

2011-07-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset a095cbed24c3 by Charles-François Natali in branch 'default': Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling. http://hg.python.org/cpython/rev/a095cbed24c3 --

[issue12560] libpython.so not built on OpenBSD

2011-07-24 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Patch committed. Stefan, thanks for the report and the patch! -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker

[issue12498] asyncore.dispatcher_with_send, disconnection problem + miss-conception

2011-07-24 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Hello, Actually the class asyncore.dispatcher_with_send do not handle properly disconnection. When the endpoint shutdown his sending part of the socket, but keep the socket open in reading, the current implementation of

[issue12498] asyncore.dispatcher_with_send, disconnection problem + miss-conception

2011-07-24 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: -- components: +Library (Lib) -IO stage: - needs patch type: - behavior versions: +Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12498

[issue10141] SocketCan support

2011-07-24 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Thanks for updating your patch. I've done a review, available here: http://bugs.python.org/review/10141/show -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10141

[issue12394] packaging: generate scripts from callable (dotted paths)

2011-07-24 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file22744/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12394 ___

[issue12394] packaging: generate scripts from callable (dotted paths)

2011-07-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: higery’s message was this: I have already set the option as you said earlier, but how to 'push' it to remote repository? It's just a configuration file under the .hg directory... I was mistaken; setting the diff git option is important if you

[issue12540] Restart Shell command leaves pythonw.exe processes running

2011-07-24 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I mentioned pipes because half of the subprocess chapter, it seems, talks about them. ASo I got the mis-impression that they are special for subprocess-started processes. But if the subprocess gets the args it needs to connect to a socket, it

[issue12626] run test cases based on a glob filter

2011-07-24 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +ericsnow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12626 ___ ___ Python-bugs-list

[issue12630] pydoc does not remove '#'-s from doc comments

2011-07-24 Thread tkiss80
New submission from tkiss80 tkis...@gmail.com: If an entity does not have a docstring, pydoc.getdoc() reads the comment associated with that entity and uses that as the source of documentation. However, inspect.getcomments() returns the raw comment with the comment signs ('#') in it, thus the

[issue12630] pydoc does not remove '#'-s from doc comments

2011-07-24 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: The best solution is to modify the offending code to use real docstrings. Failing that, a simple explicit '\n'.join(line.lstrip('#' for line in comment.split('\n')) (i.e. not as part of pydoc) will handle most cases. Anything more

[issue12448] smtplib's __main__ doesn't flush when prompting

2011-07-24 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: Looks good. Thx. -- assignee: - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12448 ___

[issue12618] py_compile cannot create files in current directory

2011-07-24 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: It's rare to receive fixes from Windows users that don't have a dev environment set up (i.e. they just edited their stdlib code in place, or copied it and created a modified version). Thanks for persisting in the face of invalid assumptions

[issue12576] urlib.request fails to open some sites

2011-07-24 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: I propose the attached patch as fix to this issue. All it does is, moves the code of getting http response to the finally block of the http request. It closes the sockets if the getting the response fails for some reason, otherwise it

[issue12631] Mutable Sequence Type in .remove() is consistent only with lists, but not with bytearrays

2011-07-24 Thread py.user
New submission from py.user port...@yandex.ru: 4.6.4 Mutable Sequence Types | s.remove(x) | same as del s[s.index(x)] | b = bytearray() b.extend(range(1, 6)) b bytearray(b'\x01\x02\x03\x04\x05') b.remove(2) del b[b.index(2)] Traceback (most recent call last): File stdin, line 1, in

[issue12631] Mutable Sequence Type in .remove() is consistent only with lists, but not with bytearrays

2011-07-24 Thread py.user
Changes by py.user port...@yandex.ru: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12631 ___ ___ Python-bugs-list mailing

[issue12632] Windows GPF with Code Page 65001

2011-07-24 Thread Bruce Ferris
New submission from Bruce Ferris bferri...@bferris.co.uk: The following scenario GPFs on Windows Vista using cmd.exe... D:\python Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit (Intel)] on win32 Type help, copyright, credits or license for more information. ^Z

[issue12632] Windows GPF with Code Page 65001

2011-07-24 Thread Bruce Ferris
Changes by Bruce Ferris bferri...@bferris.co.uk: -- type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12632 ___ ___ Python-bugs-list

[issue12632] Windows GPF with Code Page 65001

2011-07-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12632 ___ ___

[issue12633] sys.modules gets special treatment

2011-07-24 Thread Eric Snow
New submission from Eric Snow ericsnowcurren...@gmail.com: The sys.modules dict is a special object. It is the only variable of the CPython interpreter object that is exposed in the sys module[1]. Everything else in sys lives in the module. However, the modules dict lives in the

[issue12102] mmap requires file to be synced

2011-07-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 198627bbe242 by Ross Lagerwall in branch '3.2': Issue #12102: Document that buffered files must be flushed before being used http://hg.python.org/cpython/rev/198627bbe242 New changeset 4898b14dcd69 by Ross Lagerwall

[issue12102] mmap requires file to be synced

2011-07-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset e75715f27ce7 by Ross Lagerwall in branch '2.7': Issue #12102: Document that buffered files must be flushed before being used http://hg.python.org/cpython/rev/e75715f27ce7 --

[issue12102] mmap requires file to be synced

2011-07-24 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Thanks! -- assignee: - rosslagerwall resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org