[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe the patch produces the following as the first sentence "When a module named :mod:`spam` is imported, the interpreter searches for a file named :file:`spam.py` in a list of directories given by the variable ``sys.path`` which is initialized from the

[issue11950] logger use dict for loggers instead of WeakValueDictionary

2011-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mark, this is a feature request to change the storage of loggers. A behavior issue (bug report) must report a discrepancy between doc and behavior. Vinay rejected that request as not really possible. Questions about using yum should go to a yum list or to py

[issue11898] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Did you run the httplib test with your patch? Interactively >>> from test.test_httplib import test_main as f; f() (verbose mode, over 40 tests) In 3.x, the patch would be to http/client.py, line 802 in 3.2 release if isinstance(message_body, str) # becomes if i

[issue11959] smtpd cannot be used without affecting global state

2011-04-29 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: The fact that you need to keep two separate maps makes me think that the approach you have in mind might be wrong, as in - that's something you usually don't want to do -. The fact that asyncore uses a default socket map is surely unfortunate, but it's som

[issue11959] smtpd cannot be used without affecting global state

2011-04-29 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- Removed message: http://bugs.python.org/msg134825 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11959] smtpd cannot be used without affecting global state

2011-04-29 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: The fact that you need to keep two separate maps makes me think that the approach you have in mind might be wrong, as in - that's something you usually don't want to do -. The fact that asyncore uses a global socket map is surely unfortunate, but it's some

[issue11960] Python crashes when running numpy test

2011-04-29 Thread Alex Lai
New submission from Alex Lai : Hi experts, I’m wondering if anyone would look into this issue. We recently installed Python 3.1.2 on a Solaris 10 machine. While testing numpy package, Python crashed with the following error: sbtorsvr391:~ $ cd /home/dcottr/local/tests sbtorsvr391:

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-04-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: buildbots are green again. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list m

[issue11961] Document STARTUPINFO and creationflags options for Windows

2011-04-29 Thread Brian Curtin
New submission from Brian Curtin : Attached is a patch that adds documentation for a few things that have existed in subprocess for a while without documentation. The "startupinfo" parameter takes subprocess.STARTUPINFO object which takes a few different options for its attributes, but none of

[issue11957] re.sub confusion between count and flags args

2011-04-29 Thread Ezio Melotti
Ezio Melotti added the comment: Since this has been reported already several times (see e.g. #11947), and it's a fairly common mistake, I think we should do something to avoid it. A few possibilities are: 1) add a warning in the doc; 2) make count and flag keyword-only argument (raising a

[issue11947] re.IGNORECASE does not match literal "_" (underscore)

2011-04-29 Thread Ezio Melotti
Ezio Melotti added the comment: See also #11957. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue11961] Document STARTUPINFO and creationflags options for Windows

2011-04-29 Thread Ezio Melotti
Ezio Melotti added the comment: You can indent the "attribute" directives and avoid to repeat "STARTUPINFO." before every attribute. If STD_INPUT_HANDLE and the other constants are attributes of STARTUPINFO they should be indented too, otherwise a line that says that subprocess also provides

[issue11960] Python crashes when running numpy test

2011-04-29 Thread Ezio Melotti
Ezio Melotti added the comment: Can you try with Python 3.2 (and/or get the dev version of 3.3 from http://hg.python.org/cpython and compile it)? It would be also useful to know what test exactly causes the segfault and see its code. Note that this might also be a numpy issue, so it might be u

[issue9723] Add shlex.quote

2011-04-29 Thread Ezio Melotti
Ezio Melotti added the comment: See also #11827 about subprocess.list2cmdline. -- nosy: +ezio.melotti ___ Python tracker ___ ___ Pytho

[issue11762] Ast doc: warning and version number

2011-04-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11361] suggestion for os.kill(pid,CTRL_C_EVENT) in tests

2011-04-29 Thread Brian Curtin
Changes by Brian Curtin : -- assignee: -> brian.curtin nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue11961] Document STARTUPINFO and creationflags options for Windows

2011-04-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 609ca9d71aba by Brian Curtin in branch '3.1': Fix #11961. Document STARTUPINFO and creation flag options. http://hg.python.org/cpython/rev/609ca9d71aba New changeset f0092c611004 by Brian Curtin in branch '3.2': Fix #11961. Document STARTUPINFO and

[issue11961] Document STARTUPINFO and creationflags options for Windows

2011-04-29 Thread Brian Curtin
Brian Curtin added the comment: Thanks for having a look, Ezio. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue10912] PyObject_RichCompare differs in behaviour from PyObject_RichCompareBool ; difference not noted in documentation

2011-04-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset d27f95e3b52f by Eli Bendersky in branch '2.7': Issue #10912: add clarification for PyObject_RichCompareBool comparing identical objects http://hg.python.org/cpython/rev/d27f95e3b52f -- nosy: +python-dev ___

[issue11827] mention of list2cmdline() in docs of subprocess.Popen

2011-04-29 Thread Eli Bendersky
Changes by Eli Bendersky : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue10912] PyObject_RichCompare differs in behaviour from PyObject_RichCompareBool ; difference not noted in documentation

2011-04-29 Thread Eli Bendersky
Changes by Eli Bendersky : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue11034] Build problem on Windows with MSVC++ Express 2008

2011-04-29 Thread Eli Bendersky
Eli Bendersky added the comment: Can this be committed and closed? [it's still an annoying problem for some Windows users who want to compile Python] -- ___ Python tracker ___

[issue11962] FreeBSD-AMD64 bot sporadic hanging

2011-04-29 Thread Stefan Krah
New submission from Stefan Krah : The FreeBSD-AMD64 bot exhibits sporadic hanging in unspecific places. FreeBSD is running under kvm in the background. When the hanging occurs, the virtual machine uses 100% CPU and I can't log in via ssh, so I have to kill the kvm process. The fact that the ssh

[issue11898] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-04-29 Thread Bernhard Rosenkraenzer
Bernhard Rosenkraenzer added the comment: Not sure how to get it into verbose mode (I presume you don't mean "python -v"), but normal mode (22 tests) works fine: Python 2.7.1 (r271:86832, Apr 22 2011, 13:40:40) [GCC 4.6.0] on linux2 Type "help", "copyright", "credits" or "license" for more in

<    1   2