[issue12021] mmap.read requires an argument

2011-05-31 Thread Petri Lehtinen
Petri Lehtinen added the comment: I noticed that RawIOBase.read, TextIOBase.read, etc also accept None as the argument, treating it as -1. Should this be implemented, too? -- ___ Python tracker __

[issue12221] segfaults with unexpanded $Revision$ id's in release candidate tarballs

2011-05-31 Thread Matthias Klose
New submission from Matthias Klose : Modules/pyexpat.c (get_version_string) has: static PyObject * get_version_string(void) { static char *rcsid = "$Revision$"; char *rev = rcsid; int i = 0; while (!isdigit(Py_CHARMASK(*rev))) ++rev; which segfaults, or has unexpected r

[issue12221] segfaults with unexpanded $Revision$ id's in release candidate tarballs

2011-05-31 Thread Matthias Klose
Changes by Matthias Klose : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12222] All pysetup commands should respect exit codes

2011-05-31 Thread Tarek Ziadé
New submission from Tarek Ziadé : All actions in packaging.run need to respect a basic exit convention 0/1. This is important because pysetup will be used in automated scripts so the caller needs to know wether the call failed or succedeed. Example: pysetup install project => sys,exit(0 or 1

[issue12221] segfaults with unexpanded $Revision$ id's in release candidate tarballs

2011-05-31 Thread Stefan Krah
Stefan Krah added the comment: See also: Issue 11439 -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue11505] string.py increased test coverage

2011-05-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset f1a213d034af by Nick Coghlan in branch 'default': Tidy up the additional string module tests added at the Pycon sprints (closes #11505) http://hg.python.org/cpython/rev/f1a213d034af -- resolution: -> fixed stage: commit review -> committe

[issue11271] concurrent.futures.ProcessPoolExecutor.map() slower than multiprocessing.Pool.map() for fast function argument

2011-05-31 Thread Brian Quinlan
Brian Quinlan added the comment: On my crappy computer, ProcessPoolExecutor.map adds <3ms of added execution time per call using your test framework. What is your use case where that is too much? That being said, I don't have any objections to making improvements. If you want to pursue this,

[issue12223] Datamodel documentation page: 'operator' where 'operand' should be

2011-05-31 Thread Vladimir M.
New submission from Vladimir M. : The page at (http://docs.python.org/reference/datamodel.html) says: "In x * y, if one operator is a sequence that implements sequence repetition". Obviuosly, it should be changed to: "In x * y, if one operand is a sequence that implements sequence repetition".

[issue12164] str.translate docstring doesn't mention that 'table' can be None

2011-05-31 Thread Petri Lehtinen
Petri Lehtinen added the comment: I added a patch a few days ago. How does it look? -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue11505] string.py increased test coverage

2011-05-31 Thread Nick Coghlan
Nick Coghlan added the comment: Some comments on the follow-up changes I just committed: - It's an illustration of the fact that coverage data is only step 1 in improving tests. - I added additional assertions regarding the error message contents to a couple of tests, and also verified that

[issue11505] string.py increased test coverage

2011-05-31 Thread Nick Coghlan
Changes by Nick Coghlan : -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue12222] All pysetup commands should respect exit codes

2011-05-31 Thread Tarek Ziadé
Tarek Ziadé added the comment: fixed install in http://hg.python.org/cpython/rev/ebff46b232ed -- ___ Python tracker ___ ___ Python-bu

[issue12164] str.translate docstring doesn't mention that 'table' can be None

2011-05-31 Thread Petri Lehtinen
Petri Lehtinen added the comment: After discussing with Ezio Melotti, I attached another patch with a different wording. Mark: As a native English speaker, which one you prefer? -- Added file: http://bugs.python.org/file22206/str_translate_docstring_2.patch __

[issue12224] problem with siginterrupt

2011-05-31 Thread Zhiping Deng
New submission from Zhiping Deng : If socket timeout > 0, then there is no way to automatically restart some socket calls like recv(). Calling siginterrupt(False) is useless, because python calls internal_select() if socket has timeout, and select returns error(EINTR) once interrupted by a signa

[issue12082] Python/import.c still references fstat even with DONT_HAVE_FSTAT/!HAVE_FSTAT

2011-05-31 Thread Petri Lehtinen
Petri Lehtinen added the comment: I tried to compile Python 3.3 (from default branch) with DONT_HAVE_FSTAT and DONT_HAVE_STAT. It seems to depend even more heavily on stat() being available, in other files than Python/import.c. With 2.7, it was quite easy to disable the .pyc/.pyo writing in t

[issue11271] concurrent.futures.ProcessPoolExecutor.map() slower than multiprocessing.Pool.map() for fast function argument

2011-05-31 Thread Tobias Brink
Tobias Brink added the comment: I can confirm an overhead of 2 ms to 3 ms using a relatively recent Intel Core i5 CPU. I (personally) believe these 3 ms to be a pretty big overhead on modern computers and I also believe that it would be relatively simple to reduce it. I don't have much time

[issue12224] problem with siginterrupt

2011-05-31 Thread STINNER Victor
STINNER Victor added the comment: Extract of manpage signal(7): "The following interfaces are never restarted after being interrupted by a signal handler, regardless of the use of SA_RESTART; they always fail with the error EINTR when interrupted by a signal handler: * ... * File descrip

[issue7978] SocketServer doesn't handle syscall interruption

2011-05-31 Thread STINNER Victor
STINNER Victor added the comment: Using signalfd() (require Linux 2.6.22+), specified signals are written in a file and don't interrupt system calls (select). Bonus: we can wait for a signal using select! Using pthread_sigmask(), you can also block signals before calling select, but it's not

[issue7978] SocketServer doesn't handle syscall interruption

2011-05-31 Thread STINNER Victor
STINNER Victor added the comment: I think that #12224 is a duplicate of this issue. -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue12221] segfaults with unexpanded $Revision$ id's in release candidate tarballs

2011-05-31 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Ralf Schmitt
New submission from Ralf Schmitt : configure works, but make immediately fails: % make ./Parser/asdl_c.py -h ./Include ./Parser/Python.asdl Traceback (most recent call last): File "./Parser/asdl_c.py", line 1214, in main(args[0]) File "./Parser/asdl_c.py", line 1158, in main m

[issue12082] Python/import.c still references fstat even with DONT_HAVE_FSTAT/!HAVE_FSTAT

2011-05-31 Thread Josh Triplett
Josh Triplett added the comment: Rather than checking for a directory, how about just opening foo/__init__.py, and if that fails opening foo.py? -- ___ Python tracker ___ _

[issue12082] Python/import.c still references fstat even with DONT_HAVE_FSTAT/!HAVE_FSTAT

2011-05-31 Thread Petri Lehtinen
Petri Lehtinen added the comment: The NullImporter is documented to raise ImportError on directories, not directories containing __init__.py: http://docs.python.org/library/imp.html#imp.NullImporter Checking for __init__.py{,c,o} seems doable to me without having stat(). --

[issue12170] Bytes.index() and bytes.count() should accept byte ints

2011-05-31 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12223] Datamodel documentation page: 'operator' where 'operand' should be

2011-05-31 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue12226] use secured channel for uploading packages to pypi

2011-05-31 Thread anatoly techtonik
New submission from anatoly techtonik : Before the next version is released, I'd like to push this one line modification to reduce the risk of sniffing Python development password when people upload packages to PyPI by using https:// communication channel by default. Distutils doesn't validat

[issue12226] use secured channel for uploading packages to pypi

2011-05-31 Thread Brian Curtin
Brian Curtin added the comment: This should probably be discussed on catalog-SIG, not the CPython bug tracker. -- nosy: +brian.curtin ___ Python tracker ___

[issue12226] use secured channel for uploading packages to pypi

2011-05-31 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue12226] use secured channel for uploading packages to pypi

2011-05-31 Thread Brian Curtin
Brian Curtin added the comment: Oops, nevermind that, thought this was suggesting a change to PyPI itself, not distutils. -- nosy: +brian.curtin ___ Python tracker ___

[issue12226] use secured channel for uploading packages to pypi

2011-05-31 Thread anatoly techtonik
anatoly techtonik added the comment: The distutils version that exposes this vulnerability is shipped with Python, that's why it is here. -- ___ Python tracker ___

[issue12226] use secured channel for uploading packages to pypi

2011-05-31 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue12021] mmap.read requires an argument

2011-05-31 Thread Charles-François Natali
Charles-François Natali added the comment: > I noticed that RawIOBase.read, TextIOBase.read, etc also accept None as the > argument, treating it as -1. Should this be implemented, too? > That's because of the _PyIO_ConvertSsize_t converter, which silently converts None to -1. There's probably a

[issue12142] Reference cycle when importing ctypes

2011-05-31 Thread poq
poq added the comment: Tests succeed with this change. There is only one use of _array_type, which is in the same module. This use is presumably tested, because the test fails if I change the line to _array_type = type(Structure). In fact, everything must behave exactly the same after this c

[issue12196] add pipe2() to the os module

2011-05-31 Thread Charles-François Natali
Charles-François Natali added the comment: > I like your patch, it removes many duplicate code :-) > > Some comments: Patch attached. > Doc/whatsnew/3.3.rst Patch attached. -- Added file: http://bugs.python.org/file22209/pipe2_whatsnew.diff Added file: http://bugs.python.org/file222

[issue12227] multiprocessing.Pool initialization seems to call methods it should not (and on badly formed objects)

2011-05-31 Thread Graham Cummins
New submission from Graham Cummins : When attempting to pass instances of a custom class in the argument list of a multiprocessing.Pool.map call, I encounter an inexplicable AttributeError. A simplified test script that creates the bug is included. It fails for both Python 2.7.1 and 3.2 on my 4

[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Santoso Wijaya
Santoso Wijaya added the comment: FYI, the dependency is introduced in changeset http://hg.python.org/cpython/rev/0daa6ba25d9b -- components: +Build nosy: +santa4nt ___ Python tracker

[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread R. David Murray
R. David Murray added the comment: I'm closing this as invalid/duplicate, but I'm sure this isn't the last time we'll get this report. It would be nice if we could think of a way to improve the situation. -- nosy: +benjamin.peterson, r.david.murray resolution: -> duplicate stage: -

[issue6560] socket sendmsg(), recvmsg() methods

2011-05-31 Thread Charles-François Natali
Charles-François Natali added the comment: > What needs to happen to get recvmsg() supported in Python? Well, I guess that the only reason is that no committer is motivated enough to bring this into Python: it's a rather large patch, and honestly, I'm not sure that many people are going to use

[issue12228] Stat doc - fix swap of UF_OPAQUE and UF_NOUNLINK description

2011-05-31 Thread Sandro Tosi
New submission from Sandro Tosi : Following http://mail.python.org/pipermail/docs/2011-May/004429.html, here's a patch that fix the swap of those 2 flags description; it applies cleanly (except for some offset) on 2.7, 3.1, 3.2 and default. -- assignee: docs@python components: Document

[issue9969] tokenize: add support for tokenizing 'str' objects

2011-05-31 Thread Thomas Kluyver
Changes by Thomas Kluyver : -- nosy: +takluyver ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Ralf Schmitt
Ralf Schmitt added the comment: duplicate of http://bugs.python.org/issue12152 -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12226] use secured channel for uploading packages to pypi

2011-05-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever versions: +Python 3.2, Python 3.3 ___ Python tracker ___ ___ Pytho

[issue12142] Reference cycle when importing ctypes

2011-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the test and explanation. There currently is no specific cytpes maintainer. But from what you have said, I might feel comfortable enough applying this, if no one else does, when I have the necessary setup on a new machine. -- _

[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread R. David Murray
R. David Murray added the comment: I should have mentioned the bug number in the body, thanks for adding that. FYI, the bug number also appears in the 'superseder' field, and (more interesting to you in this context) if you just say, for example, issue 12152 or #12152 roundup will automatica

[issue12219] tkinter.filedialog.askopenfilename XT dialog on Windows 7

2011-05-31 Thread Herm Fischer
Herm Fischer added the comment: I've now tried this issue on python.org's own 3.2 and 3.2.1rc1 (64 bit) builds, and they also do have the same problem. -- ___ Python tracker __

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-31 Thread Charles-François Natali
Charles-François Natali added the comment: > The wakeup fd now contains the number of each signal, and so the behaviour has > to change. I applied your patch and I added a test. Interesting. I suspected this would have an impact on the test_signal failure on the FreeBSD 6.4 buidbot: """ ==

[issue12226] use secured channel for uploading packages to pypi

2011-05-31 Thread Tarek Ziadé
Tarek Ziadé added the comment: Have you tried registering/uploading stuff through https ? if it's working as is I am +1 for this change in the next 2.7.x. For 2.6 don't know if it's worth a security patch. Martin, Barry, any opinion ? -- nosy: +barry, loewis

[issue12227] multiprocessing.Pool initialization seems to call methods it should not (and on badly formed objects)

2011-05-31 Thread Graham Cummins
Graham Cummins added the comment: As far as I can tell, this is a version of the scope-dependent un-pickling issue mentioned in the documentation. I'm still rather confused, since in the original occurrence of the issue happens despite the fact that subprocesses should be able to import all r

[issue12226] use secured channel for uploading packages to pypi

2011-05-31 Thread anatoly techtonik
anatoly techtonik added the comment: Yes. I've just uploaded http://pypi.python.org/pypi/review/r749 through https://pypi.python.org/pypi -- ___ Python tracker ___

[issue12196] add pipe2() to the os module

2011-05-31 Thread STINNER Victor
STINNER Victor added the comment: support_linux_version.diff: cool, it's even better than the previous patch. You can commit it, except if you are motived for a last change: display the write also version in the SkipTest message (as it is done actually). pipe2_whatsnew.diff: I don't have any

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 29e08a98281d by Victor Stinner in branch 'default': Issue #8407: test_signal doesn't check signal delivery order http://hg.python.org/cpython/rev/29e08a98281d -- ___ Python tracker

[issue10772] Several actions for argparse arguments missing from docs

2011-05-31 Thread Sandro Tosi
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Ralf Schmitt
Ralf Schmitt added the comment: here's a patch that fixes the issue. You can use hg import to apply it to your hg repo, autoconf has to be run afterwards. The log message is: disable ASDLGEN if hg won't work, or if python is not installed. This change makes configure check for

[issue12152] Parser/asdl_c.py relies on mercurial repository revision

2011-05-31 Thread Ralf Schmitt
Ralf Schmitt added the comment: issue 12225 contains a patch. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue12229] Remove unused variable in bufferedio.c

2011-05-31 Thread John O'Connor
New submission from John O'Connor : Remove second (unused) argument to _bufferedreader_peek_unlocked() -- components: IO files: bufferedreader_peek.patch keywords: patch messages: 137391 nosy: haypo, jcon, pitrou priority: normal severity: normal status: open title: Remove unused variabl

[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Ralf Schmitt
Ralf Schmitt added the comment: I've setup a hg repo on bitbucket with that patch. -- hgrepos: +24 ___ Python tracker ___ ___ Python-

[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Ralf Schmitt
Changes by Ralf Schmitt : Added file: http://bugs.python.org/file22215/0908fbf86e43.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue12229] Remove unused variable in bufferedio.c

2011-05-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 549cb21a8757 by Victor Stinner in branch 'default': Close #12229: Remove an unused argument of _bufferedreader_peek_unlocked(), http://hg.python.org/cpython/rev/549cb21a8757 -- nosy: +python-dev resolution: -> fixed stage: -> committed/re

[issue12229] Remove unused variable in bufferedio.c

2011-05-31 Thread STINNER Victor
STINNER Victor added the comment: I applied your fix, thanks. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 435eec7b41f0 by Ralf Schmitt in branch 'default': disable ASDLGEN if hg won't work, or if python is not installed. http://hg.python.org/cpython/rev/435eec7b41f0 -- nosy: +python-dev resolution: duplicate -> fixed __

[issue12230] test_subprocess.test_pass_fds() failed on x86 Tiger 3.x

2011-05-31 Thread STINNER Victor
New submission from STINNER Victor : test_subprocess.test_pass_fds() failed on x86 Tiger 3.x: test test_subprocess failed -- Traceback (most recent call last): File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/test/test_subprocess.py", line 1296, in test_pass_fds "fd to be closed pas

[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Roumen Petrov
Roumen Petrov added the comment: Check for python executable is not complete . What about if system has only version 3+ installed ? -- nosy: +rpetrov ___ Python tracker ___ ___

[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/5/31 Roumen Petrov : > > Roumen Petrov added the comment: > > Check for python executable is not complete . What about if system has only > version 3+ installed ? Then hg can't possibly be installed either. -- ___

[issue12085] subprocess.Popen.__del__ raises AttributeError if __init__ was called with an invalid argument list

2011-05-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0f2714e49583 by Victor Stinner in branch '3.2': Close #12085: Fix an attribute error in subprocess.Popen destructor if the http://hg.python.org/cpython/rev/0f2714e49583 New changeset 71dfd8cf4bf5 by Victor Stinner in branch 'default': (Merge 3.2) C

[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Ned Deily
Ned Deily added the comment: As the OP notes, autoconf needs to be run to update `configure` and those changes needs to be pushed as well so that 'configure.in' and 'configure' are in sync again. -- nosy: +ned.deily ___ Python tracker

[issue2466] os.path.ismount doesn't work for mounts the user doesn't have permission to see

2011-05-31 Thread Dave Rawks
Dave Rawks added the comment: Confirm this problem exists in 2.7 as well. -- nosy: +drawks versions: +Python 2.7 ___ Python tracker ___ __

[issue12231] regrtest: add -k and -K options to filter tests by function/file names

2011-05-31 Thread STINNER Victor
New submission from STINNER Victor : Attached patch adds -k/--func-regex and -K/--file-regex options to filter tests by function/file names. It modifies makeSuite() and getTestCaseNames() functions of unittest.loader to add an optional filter argument: callback taking a function name as argume

[issue12085] subprocess.Popen.__del__ raises AttributeError if __init__ was called with an invalid argument list

2011-05-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 07b43607a905 by Victor Stinner in branch '2.7': Issue #12085: Fix test_subprocess for my previous commit http://hg.python.org/cpython/rev/07b43607a905 -- ___ Python tracker

[issue12231] regrtest: add -k and -K options to filter tests by function/file names

2011-05-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue12221] segfaults with unexpanded $Revision$ id's in release candidate tarballs

2011-05-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9c1116e582e3 by Benjamin Peterson in branch '2.7': simply use the Python version for pyexpat.__version__ #12221 http://hg.python.org/cpython/rev/9c1116e582e3 New changeset 9c23efa3f5c7 by Benjamin Peterson in branch '3.1': simply use the Python ver

[issue12231] regrtest: add -k and -K options to filter tests by function/file names

2011-05-31 Thread STINNER Victor
STINNER Victor added the comment: > Attached patch adds -k/--func-regex and -K/--file-regex options to filter > tests by function/file names. We need maybe a third option to filter tests by their class name. And we need also maybe the opposite option: exclude tests matching a regex. Another p

[issue12221] segfaults with unexpanded $Revision$ id's in release candidate tarballs

2011-05-31 Thread Benjamin Peterson
Benjamin Peterson added the comment: I've fixed the pyexpat.__version__ from segfaulting. The other ones are harmless and can be removed later. -- priority: release blocker -> normal ___ Python tracker __

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-31 Thread STINNER Victor
STINNER Victor added the comment: Cool, "x86 FreeBSD 6.4 3.x" is green for the first time since a long time, thanks to my commit 29e08a98281d (test_signal doesn't check signal delivery order). -- ___ Python tracker

[issue12232] embedded python import cmath

2011-05-31 Thread Thanh Ly
New submission from Thanh Ly : Calling Python script from C/C++ seems to work fine until using 'import cmath' causing the C/C++ application to hang. Other modules can be imported such as 'math'. -- messages: 137408 nosy: Thanh Ly priority: normal severity: normal status: open title: em

[issue2091] file accepts 'rU+' as a mode

2011-05-31 Thread John O'Connor
John O'Connor added the comment: It seems to me that adding the proper check is a good idea. It also may not be obvious to some that 'U' is now more or less an alias for 'r'. I have updated the patch so that it at least applies. I also removed a redundant `reading = 1` -- nosy: +jcon

[issue1152248] Enhance file.readlines by making line separator selectable

2011-05-31 Thread John O'Connor
Changes by John O'Connor : -- nosy: +jcon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12233] Lists in class objects not independent

2011-05-31 Thread Austin Howard
New submission from Austin Howard : When creating a class which contains elements that are lists, the lists for different instances of the class are not independent. Calling self.mylist.append(3) inside a class method will update the mylist variable for *all* instances of the class, not just th

[issue11197] information leakage with SimpleHTTPServer

2011-05-31 Thread John O'Connor
Changes by John O'Connor : -- nosy: +jcon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue8578] PyWeakref_GetObject

2011-05-31 Thread John O'Connor
Changes by John O'Connor : -- nosy: +jcon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue12221] segfaults with unexpanded $Revision$ id's in release candidate tarballs

2011-05-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset f3553d5083f8 by Benjamin Peterson in branch 'default': remove __version__s dependent on subversion keyword expansion (closes #12221) http://hg.python.org/cpython/rev/f3553d5083f8 -- resolution: -> fixed stage: -> committed/rejected status

[issue12233] Lists in class objects not independent

2011-05-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: Sorry, that is correct behavior for class variables. To get your intended effect (independent lists) do the list instantiation inside the __init__ method. -- nosy: +rhettinger resolution: -> invalid status: open -> closed

[issue10399] AST Optimization: inlining of function calls

2011-05-31 Thread John O'Connor
Changes by John O'Connor : -- nosy: +jcon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue8578] PyWeakref_GetObject

2011-05-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset a856be6688a6 by Benjamin Peterson in branch '3.2': be extra careful with a borrowed reference when the GIL could be released (closes #8578) http://hg.python.org/cpython/rev/a856be6688a6 -- nosy: +python-dev resolution: -> fixed stage: ->

[issue7978] SocketServer doesn't handle syscall interruption

2011-05-31 Thread Vetoshkin Nikita
Vetoshkin Nikita added the comment: I don't think we should block signals - we can sleep on select for about forever. -- ___ Python tracker ___ _

[issue11822] Improve disassembly to show embedded code objects

2011-05-31 Thread Nick Coghlan
Nick Coghlan added the comment: Note that Yaniv Aknin (author of the Python's Innards series of blog posts) has a recursive dis variant that may be useful for inspiration: https://bitbucket.org/yaniv_aknin/pynards/src/c4b61c7a1798/common/blog.py As shown there, this recursive behaviour can al

[issue12230] test_subprocess.test_pass_fds() failed on x86 Tiger 3.x

2011-05-31 Thread Ross Lagerwall
Ross Lagerwall added the comment: Could this be related to http://bugs.python.org/issue6559#msg123958? Or Issue10826? -- nosy: +rosslagerwall ___ Python tracker ___

[issue12226] use secured channel for uploading packages to pypi

2011-05-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm +0 on changing 2.6. Many people use setuptools or distribute, so the impact of this change was higher if those were modified instead of modifying 2.6 - in particular since few people are expected to pick up these security releases, anyway. -- _

[issue1621] Do not assume signed integer overflow behavior

2011-05-31 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue1669349] make install fails if no previous Python installation

2011-05-31 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue3265] Python-2.5.2/Modules/_ctypes/malloc_closure.c:70: error: `MAP_ANONYMOUS' undeclared

2011-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.5 is done with and no response to question about more recent versions. -- resolution: -> out of date status: open -> closed ___ Python tracker __

[issue9678] uuid._ifconfig_getnode can't work on NetBSD

2011-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.5 is closed and 2.6 and 3.1 are or soon will be security fix only. I do not know if any developer works with NetBSD. -- nosy: +terry.reedy versions: +Python 3.2 -Python 2.5, Python 2.6, Python 3.1 ___ Python tracke

[issue9812] cPickle segfault with nested dicts in threaded env

2011-05-31 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2011-05-31 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5, Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue9972] PyGILState_XXX missing in Python builds without threads

2011-05-31 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5, Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8678] crashers in rgbimg

2011-05-31 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue10376] ZipFile unzip is unbuffered

2011-05-31 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 -Python 2.5, Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python

[issue2901] "error: can't allocate region" from mmap() when receiving big chunk of data

2011-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Never verified for current release. 2.5 closed. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___

[issue10878] asyncore does not react properly on close()

2011-05-31 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5, Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue11374] pkgutil.extend_path do not recognize py{c,o} file

2011-05-31 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5, Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11357] Add support for PEP 381 -- Mirror Authenticity

2011-05-31 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker ___

  1   2   >