[issue13951] Document that Seg Fault in .so called by ctypes causes the interpreter to Seg Fault

2012-12-31 Thread Georg Brandl
Georg Brandl added the comment: LGTM. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13951 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14516] test_tools assumes BUILDDIR=SRCDIR

2012-12-31 Thread Ronald Oussoren
Ronald Oussoren added the comment: 2.7 works as well. Roumen: what doesn't work and how can we reproduce that? -- resolution: - fixed stage: needs patch - committed/rejected status: open - pending ___ Python tracker rep...@bugs.python.org

[issue16824] typo in test

2012-12-31 Thread Stefan Behnel
New submission from Stefan Behnel: Line 522 in test file Lib/test/test_pep380.py says: trace.append(Should not have yielded:, y) However, 'trace' is a list and list.append() only takes one parameter, so this should read: trace.append(Should not have yielded:

[issue15075] XincludeTest failure in test_xml_etree

2012-12-31 Thread Stefan Behnel
Stefan Behnel added the comment: If runtime checks are needed to prevent mixing arbitrary objects into the tree, then I don't think they should be considered too costly. I agree with Florent that this is worth reopening. It doesn't look like a Tests bug to me rather a Lib/XML bug. --

[issue1674555] sys.path in tests contains system directories

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: Added file: http://bugs.python.org/file28504/python-2.7-issue1674555.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1674555

[issue1674555] sys.path in tests contains system directories

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: Added file: http://bugs.python.org/file28505/python-3.2-issue1674555.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1674555

[issue1674555] sys.path in tests contains system directories

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: Added file: http://bugs.python.org/file28506/python-3.3-issue1674555.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1674555

[issue1674555] sys.path in tests contains system directories

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: Added file: http://bugs.python.org/file28507/python-3.4-issue1674555.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1674555

[issue1674555] sys.path in tests contains system directories

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: Removed file: http://bugs.python.org/file20583/python-3.2-issue1674555.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1674555

[issue1674555] sys.path in tests contains system directories

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: Removed file: http://bugs.python.org/file20584/python-2.7-issue1674555.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1674555

[issue16659] Pure Python implementation of random

2012-12-31 Thread Stefan Behnel
Stefan Behnel added the comment: FWIW, PyPy has an (R)Python implementation already: https://bitbucket.org/pypy/pypy/src/default/pypy/rlib/rrandom.py -- nosy: +scoder ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16659

[issue16824] typo in test

2012-12-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16824 ___

[issue10527] multiprocessing.Pipe problem: handle out of range in select()

2012-12-31 Thread Charles-François Natali
Charles-François Natali added the comment: The patch looks good, however there's something really bothering me: in issue #14635, the same type of patch was applied to telnetlib, here, it's multiprocessing and AFAICT, any single use of select() in the standard library is subject to this

[issue16824] typo in test

2012-12-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9472928af085 by Serhiy Storchaka in branch '3.3': Issue #16824: Fix a failure guard in the never reached in the normal test execution code in test_pep380. http://hg.python.org/cpython/rev/9472928af085 New changeset 5ef7d9d6 by Serhiy Storchaka

[issue16824] typo in test

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed. Thank you, Stefan. I will be glad to see new bugs which you will found with Cython. -- resolution: - fixed stage: - committed/rejected status: open - closed type: compile error - behavior ___ Python

[issue16802] fileno argument to socket.socket() undocumented

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The fileno parameter was added in the changeset 8e062e572ea4. It was mentioned in comments at the top of Modules/socketmodule.c, but not in the documentation or docstrings (nor for _socket.socket, nor for socket.socket). -- assignee: - docs@python

[issue1222585] C++ compilation support for distutils

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: Removed file: http://bugs.python.org/file16630/python-LDCXXSHARED.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1222585

[issue1222585] C++ compilation support for distutils

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: I attach updated patches for distutils in case somebody wants to use them. (I privately update them once per week.) -- ___ Python tracker rep...@bugs.python.org

[issue1222585] C++ compilation support for distutils

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file28508/python-2.7-distutils-C++.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1222585

[issue1222585] C++ compilation support for distutils

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: Added file: http://bugs.python.org/file28509/python-3.2-distutils-C++.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1222585

[issue1222585] C++ compilation support for distutils

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: Added file: http://bugs.python.org/file28510/python-3.3-distutils-C++.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1222585

[issue1222585] C++ compilation support for distutils

2012-12-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: Added file: http://bugs.python.org/file28511/python-3.4-distutils-C++.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1222585

[issue16320] Establish order in bytes/string dependencies

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The cleanup of BYTESTR_DEPS and UNICODE_DEPS seems reasonable, but can you explain the rationale behind removing the additional dependencies on formatter_unicode.c? This question already was asked by Antoine on IRC. Because now Python/formatter_unicode.c

[issue16821] bundlebuilder broken in 2.7

2012-12-31 Thread Barry Alan Scott
Barry Alan Scott added the comment: Why not use IDLE? Workbench is a lot of code and dependencies. I expect that it works because idle.app was created using the --no-zipimport option that is new in 2.7. However with zip import the code is badly broken. Build IDLE.app with zip import and you

[issue16801] Preserve original representation for integers / floats in docstrings

2012-12-31 Thread Georg Brandl
Georg Brandl added the comment: 20+ years of Python success suggest this isn't a problem that needs solving. That reasoning could be applied to almost all open tracker issues. Likewise, Linux itself doesn't preserve the original form of a chmod call. Where would/could it do so? C has no

[issue16821] bundlebuilder broken in 2.7

2012-12-31 Thread Ronald Oussoren
Ronald Oussoren added the comment: It probably works because IDLE.app only uses the stdlib (that is, anything imported from the main script is in the stdlib) The bundlebuilder call for IDLE.app: $(RUNSHARED) @ARCH_RUN_32BIT@ $(BUILDPYTHON) $(BUNDLEBULDER) \ --builddir=. \

[issue16802] fileno argument to socket.socket() undocumented

2012-12-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: The fileno argument looks like an implementation detail to me. -- nosy: +gvanrossum ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16802 ___

[issue16061] performance regression in string replace for 3.3

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: str_replace_1char.patch: why not implementing replace_1char_inplace() in stringlib, with one version per character type (UCS1, UCS2, UCS4)? Because there are no benefits to do it. All three versions (UCS1, UCS2, and UCS4) have no any common code. The best

[issue16802] fileno argument to socket.socket() undocumented

2012-12-31 Thread Richard Oudkerk
Richard Oudkerk added the comment: The fileno argument looks like an implementation detail to me. It has at least one potential use. On Windows socket.detach() returns a socket handle but there is no documented way to close it -- os.close() will not work. The only way to close it that I

[issue16822] execv (et al.) should invoke atexit handlers before executing new code

2012-12-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: That's a good question. Conceptually it makes sense, but I wonder if programs currently rely on os.execv not cleaning up anything: not only it doesn't call atexit handlers, but it also doesn't try to shutdown the interpreter. Which can be handy if you are

[issue16822] execv (et al.) should invoke atexit handlers before executing new code

2012-12-31 Thread Georg Brandl
Georg Brandl added the comment: FTR, with C's atexit(3), the handlers are not called either on exec(). -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16822 ___

[issue16822] execv (et al.) should invoke atexit handlers before executing new code

2012-12-31 Thread Charles-François Natali
Charles-François Natali added the comment: The first reason for not calling atexit handlers upon exec() is that it wouldn't be async-safe anymore, and could result in deadlocks. Also, since atexit handlers are inherited upon fork(), running atexit handlers upon exec() could result in such

[issue16820] configparser.ConfigParser.clean and .update bugs

2012-12-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 459a23083b66 by Łukasz Langa in branch '3.3': Fixes `__setitem__` on parser['DEFAULT'] reported in issue #16820. http://hg.python.org/cpython/rev/459a23083b66 New changeset f6fb5a5748f0 by Łukasz Langa in branch 'default': Merged

[issue16820] configparser.ConfigParser.clean and .update bugs

2012-12-31 Thread Łukasz Langa
Łukasz Langa added the comment: For the record, the bug that caused the following to be equivalent: parser['DEFAULT'] = {'option': 'value'} parser['DEFAULT'].update({'option': 'value'}) has been fixed for 3.3.1+ only. This way it's going to be easier for users to reason about the fix (it

[issue16825] all OK!!!

2012-12-31 Thread Bernie Keimel
Changes by Bernie Keimel unowne...@gmail.com: -- nosy: Bernie.Keimel priority: normal severity: normal status: open title: all OK!!! ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16825 ___

[issue16825] all OK!!!

2012-12-31 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: -- resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16825 ___

[issue16591] RUNSHARED wrong for OSX no framework

2012-12-31 Thread Ronald Oussoren
Ronald Oussoren added the comment: The patch can cause problems when either DYLD_LIBRARY_PATH or the current working directory contains whitepace, a better fix is: RUNSHARED=DYLD_LIBRARY_PATH=`pwd`:${DYLD_LIBRARY_PATH} (That is, replace the single quotes by double quotes) -- nosy:

[issue16803] Make test_importlib run tests under both _frozen_importlib and importlib._bootstrap

2012-12-31 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- title: Make time_importlib run tests under both _frozen_importlib and importlib._bootstrap - Make test_importlib run tests under both _frozen_importlib and importlib._bootstrap ___ Python tracker

[issue16651] Find out what stdlib modules lack a pure Python implementation

2012-12-31 Thread Brett Cannon
Brett Cannon added the comment: One thing I should say about this list of modules is please don't go nuts porting every single module blindly. There is always a possibility that another VM has already ported the code and has simply not contributed it back and so there is no need to write it

[issue16802] fileno argument to socket.socket() undocumented

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It has at least one potential use. On Windows socket.detach() returns a socket handle but there is no documented way to close it -- os.close() will not work. The only way to close it that I can see (without resorting to ctypes) is with something like

[issue16659] Pure Python implementation of random

2012-12-31 Thread Brett Cannon
Brett Cannon added the comment: In response to Raymond: First, Serhiy is a core developer now, so if he wants to commit this code and maintain it I have no objections as it doesn't detract from anything and the maintenance burden is his if he wants it. Whether any of us view it as the best

[issue10527] multiprocessing.Pipe problem: handle out of range in select()

2012-12-31 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I know. I proposed something like that here: http://mail.python.org/pipermail/python-ideas/2012-May/015223.html. In theory all the necessary pieces are already there. What's missing is an agreement on what the API should look like, and that's the hard part

[issue10527] multiprocessing.Pipe problem: handle out of range in select()

2012-12-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: I know. I proposed something like that here: http://mail.python.org/pipermail/python-ideas/2012-May/015223.html. In theory all the necessary pieces are already there. What's missing is an agreement on what the API should look like, and that's the hard part

[issue16826] Don't check for PYTHONCASEOK if interpreter started with -E

2012-12-31 Thread Brett Cannon
New submission from Brett Cannon: Importlib, when checking for PYTHONCASEOK, does not respect -E as it did in Python 3.2 and earlier (http://hg.python.org/cpython/file/0786dfc3b2b4/Python/import.c#l1933). -- components: Interpreter Core keywords: 3.2regression messages: 178679 nosy:

[issue16827] Remove the relatively advanced content from section 2 in tutorial

2012-12-31 Thread Ramchandra Apte
New submission from Ramchandra Apte: Most of the content in section 2 in the tutorial, http://docs.python.org/3/tutorial/interpreter.html , is relatively advanced and doesn't belong in, at least, the beginning of the tutorial. Only 2.1. Invoking the Interpreter, and 2.2.3. Source Code

[issue16827] Remove the relatively advanced content from section 2 in tutorial

2012-12-31 Thread Ezio Melotti
Ezio Melotti added the comment: +1 -- keywords: +easy nosy: +chris.jerdonek, ezio.melotti stage: - needs patch type: - enhancement versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue16802] fileno argument to socket.socket() undocumented

2012-12-31 Thread Richard Oudkerk
Richard Oudkerk added the comment: There is an alternative (documented) interface: socket.fromfd(handle, socket.AF_INET, socket.SOCK_STREAM).close() socket.fromfd() duplicates the handle, so that does not close the original handle. -- ___

[issue16591] RUNSHARED wrong for OSX no framework

2012-12-31 Thread Hynek Schlawack
Hynek Schlawack added the comment: bikeshed$(pwd)/bikeshed -- stage: - patch review versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16591 ___

[issue16659] Pure Python implementation of random

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't want to make a decision on the inclusion of this code. However, I will undertake to maintain it. I'm going to fix one algorithmic bug in current implementation and add C implementations for some methods which significantly slowed in Python

[issue16591] RUNSHARED wrong for OSX no framework

2012-12-31 Thread Ronald Oussoren
Ronald Oussoren added the comment: Hynek Schlawack added the comment: bikeshed$(pwd)/bikeshed I'd usually agree, but this is a configure script and those shouldn't contain shell features invented after 1970 :-) More seriously, a large subset of command interpolations in configure.ac use

[issue16591] RUNSHARED wrong for OSX no framework

2012-12-31 Thread Hynek Schlawack
Hynek Schlawack added the comment: I’m fine with that. My focus was fixing the ticket metadata. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16591 ___

[issue16591] RUNSHARED wrong for OSX no framework

2012-12-31 Thread Fabian Groffen
Fabian Groffen added the comment: re: single quotes - double quotes I made RUNSHARED consistent (although, as you point out, less broken) with the other RUNSHARED assignments right above. If suggest to tackle the issue of whitespace support for all RUNSHARED assignments, not just Darwin

[issue16651] Find out what stdlib modules lack a pure Python implementation

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is one additional benefit. I have already implemented audioop module in Python, and due to this it has found many bugs in the current C implementation (issue16686). -- ___ Python tracker

[issue16783] sqlite3 accepts strings it cannot (by default) return

2012-12-31 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16783 ___ ___ Python-bugs-list mailing list

[issue6010] unable to retrieve latin-1 encoded data from sqlite3

2012-12-31 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6010 ___ ___ Python-bugs-list mailing list

[issue16591] RUNSHARED wrong for OSX no framework

2012-12-31 Thread Ronald Oussoren
Ronald Oussoren added the comment: On 31 Dec, 2012, at 15:59, Fabian Groffen rep...@bugs.python.org wrote: Fabian Groffen added the comment: re: single quotes - double quotes I made RUNSHARED consistent (although, as you point out, less broken) with the other RUNSHARED assignments

[issue16826] Don't check for PYTHONCASEOK if interpreter started with -E

2012-12-31 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16826 ___ ___ Python-bugs-list

[issue16802] fileno argument to socket.socket() undocumented

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Indeed. In any case, if this idiom is widely used, we can't hide this parameter and should document it (and perhaps document this idiom). If BDFL not want this parameter was made public, he would not have added it as an keyword argument. However, may be to

[issue7735] socket.create_connection() creates IPv6 DNS requests even when built with --disable-ipv6

2012-12-31 Thread Ralf Schmitt
Ralf Schmitt added the comment: Daniel is pretty much spot on, thanks for that! Regarding the use case: I disabled IPv6 system wide when building packages via gentoo's USE flag. I didn't do anything in order to configure IPv6 or remove it. My local network interface having a local link address

[issue7735] socket.create_connection() creates IPv6 DNS requests even when built with --disable-ipv6

2012-12-31 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: -pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7735 ___ ___ Python-bugs-list mailing

[issue10527] multiprocessing.Pipe problem: handle out of range in select()

2012-12-31 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Well, for now I'd say let's just check in this patch as-is. I would be keen on considering this a bug and hence address the patch for Python 2.7, 3.2, 3.3 and 3.4. -- ___ Python tracker rep...@bugs.python.org

[issue1674555] sys.path in tests contains system directories

2012-12-31 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1674555 ___ ___ Python-bugs-list

[issue16787] asyncore.dispatcher_with_send - increase the send buffer size

2012-12-31 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Does asyncore expose its implementation details? I was talking about asynchat. What is supposed to change is asynchat.async_chat.producer_fifo attribute which is currently a collections.deque object. -- ___

[issue16787] asyncore.dispatcher_with_send - increase the send buffer size

2012-12-31 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: BTW, the patch looks ok to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16787 ___ ___

[issue9645] PEP 383: os.pathconf() does not accept surrogateescape arguments

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This was fixed in 3.3 (the complex solution is not backportable), therefore this is 3.2 only issue. -- nosy: +haypo, serhiy.storchaka stage: - patch review versions: -Python 3.1 ___ Python tracker

[issue9644] PEP 383: os.statvfs() does not accept surrogateescape arguments

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This was fixed in 3.3 (the complex solution is not backportable), therefore this is 3.2 only issue. -- nosy: +haypo, serhiy.storchaka stage: - patch review versions: -Python 3.1 ___ Python tracker

[issue9644] PEP 383: os.statvfs() does not accept surrogateescape arguments

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: At first sight the patch looks good, but test needed. -- stage: patch review - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9644 ___

[issue9645] PEP 383: os.pathconf() does not accept surrogateescape arguments

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please provide a full patch, doesn't split it on parts which should be applied one over other. Test needed. -- stage: patch review - test needed ___ Python tracker rep...@bugs.python.org

[issue16320] Establish order in bytes/string dependencies

2012-12-31 Thread Meador Inge
Meador Inge added the comment: On Mon, Dec 31, 2012 at 4:50 AM, Serhiy Storchaka rep...@bugs.python.org wrote: The cleanup of BYTESTR_DEPS and UNICODE_DEPS seems reasonable, but can you explain the rationale behind removing the additional dependencies on formatter_unicode.c? This question

[issue16653] reference kept in f_locals prevents the tracing/profiling of a destructor

2012-12-31 Thread Xavier de Gaye
Xavier de Gaye added the comment: This patch breaks extension modules (for example Ned Batchelder's coverage.py) that use PyEval_SetTrace to set the trace function. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16653

[issue16802] fileno argument to socket.socket() undocumented

2012-12-31 Thread Guido van Rossum
Guido van Rossum added the comment: I recommend documenting it. On Monday, December 31, 2012, Serhiy Storchaka wrote: Serhiy Storchaka added the comment: Indeed. In any case, if this idiom is widely used, we can't hide this parameter and should document it (and perhaps document this

[issue16653] reference kept in f_locals prevents the tracing/profiling of a destructor

2012-12-31 Thread Ned Batchelder
Changes by Ned Batchelder n...@nedbatchelder.com: -- nosy: +nedbat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16653 ___ ___ Python-bugs-list

[issue10657] os.lstat/os.stat/os.fstat don't set st_dev (st_rdev) on Windows

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This was implemented in issue11939 for Python 3.4 only. -- nosy: +brian.curtin, serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10657 ___

[issue10527] multiprocessing.Pipe problem: handle out of range in select()

2012-12-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5530251d9cac by Giampaolo Rodola' in branch '3.2': Fix issue 10527: make multiprocessing use poll() instead of select() if available. http://hg.python.org/cpython/rev/5530251d9cac New changeset d89891f3f769 by Giampaolo Rodola' in branch '3.3':

[issue10527] multiprocessing.Pipe problem: handle out of range in select()

2012-12-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset c5c27b84d7af by Giampaolo Rodola' in branch '2.7': Fix issue 10527: make multiprocessing use poll() instead of select() if available. http://hg.python.org/cpython/rev/c5c27b84d7af -- ___ Python tracker

[issue10527] multiprocessing.Pipe problem: handle out of range in select()

2012-12-31 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- assignee: - giampaolo.rodola resolution: - fixed stage: patch review - commit review status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10527

[issue16828] bz2 error on compression of empty string

2012-12-31 Thread Martin
New submission from Martin: The fix from issue 14398 for 4GB inputs regressed the behaviour when compressing an empty string. Going by issue 853061 the expectation is this should work. The problem was noticed when using the updated Python 2.7 package in Ubuntu Raring caused test failures in

[issue16828] bz2 error on compression of empty string

2012-12-31 Thread Martin
Martin added the comment: On trunk, both the compressor and the standalone function (which uses the compressor) are affected. The easiest fix is rearranging the logic in function shared between BZ2Compressor.compress and BZ2Compressor.flush so the exit on no remaining input for the former

[issue16828] bz2 error on compression of empty string

2012-12-31 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16828 ___ ___ Python-bugs-list mailing list

[issue16828] bz2 error on compression of empty string

2012-12-31 Thread Martin
Martin added the comment: On 2.7 only the compress() function is affected, and the fix is much simpler. Just using BZ_FINISH when the input is less then 4GB is sufficient. -- Added file: http://bugs.python.org/file28513/bz2_compress_empty_string_27.patch

[issue16591] RUNSHARED wrong for OSX no framework

2012-12-31 Thread Fabian Groffen
Fabian Groffen added the comment: Which shell doesn't have $(command) support? It is not a bash-ism, but is part of the POSIX shell definition (but wasn't present in older sh implementations). Solaris' /bin/sh. -- ___ Python tracker

[issue16808] inspect.stack() should return list of named tuples

2012-12-31 Thread Meador Inge
Meador Inge added the comment: This patch looks good to me with the exception that versionchanged should be 3.4. -- assignee: - meador.inge nosy: +meador.inge stage: needs patch - commit review ___ Python tracker rep...@bugs.python.org

[issue16828] bz2 error on compression of empty string

2012-12-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: - patch review versions: -Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16828 ___

[issue16820] configparser.ConfigParser.clean and .update bugs

2012-12-31 Thread Wolfgang Scherer
Wolfgang Scherer added the comment: Thanks, works for me. I only noted the discrepancy and did not give it much thought. I will just implement a merge method on top of read_dict. That gives me all options that could be desired :). However, after implementing the entire compatibility layer, I

[issue10657] os.lstat/os.stat/os.fstat don't set st_dev (st_rdev) on Windows

2012-12-31 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - Implement stat.st_dev and os.path.samefile on windows ___ Python tracker rep...@bugs.python.org

[issue10657] os.lstat/os.stat/os.fstat don't set st_dev (st_rdev) on Windows

2012-12-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3738d270c54a by Brian Curtin in branch 'default': st_dev/st_rdev should be unsigned long as dwVolumeSerialNumber, which it is set to, is a DWORD. This was fixed in #11939 and the overflow was mentioned in #10657 and seen by me on some machines.

[issue11939] Implement stat.st_dev and os.path.samefile on windows

2012-12-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3738d270c54a by Brian Curtin in branch 'default': st_dev/st_rdev should be unsigned long as dwVolumeSerialNumber, which it is set to, is a DWORD. This was fixed in #11939 and the overflow was mentioned in #10657 and seen by me on some machines.

[issue16808] inspect.stack() should return list of named tuples

2012-12-31 Thread Daniel Shahaf
Daniel Shahaf added the comment: Fixed that in v3. -- Added file: http://bugs.python.org/file28515/inspect-v3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16808 ___

[issue1674555] sys.path in tests contains system directories

2012-12-31 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1674555 ___ ___ Python-bugs-list

[issue16827] Remove the relatively advanced content from section 2 in tutorial

2012-12-31 Thread Senthil Kumaran
Senthil Kumaran added the comment: +1 from me as well. I am also adding Eric who might have views on the customization part which added by him. -- nosy: +eric.araujo, orsenthil ___ Python tracker rep...@bugs.python.org

[issue16806] col_offset is -1 and lineno is wrong for multiline string expressions

2012-12-31 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16806 ___ ___

[issue16829] IDLE on Mac OSX can't print filenames with spaces

2012-12-31 Thread Rod Nayfield
New submission from Rod Nayfield: Likely has the same issue on any platform which uses the same functionality (lpr filename to print). -- components: IDLE messages: 178715 nosy: Rod.Nayfield priority: normal severity: normal status: open title: IDLE on Mac OSX can't print filenames

[issue16829] IDLE on POSIX can't print filenames with spaces

2012-12-31 Thread Roger Serwy
Roger Serwy added the comment: I can confirm this bug for POSIX platforms. Changing the lpr command in config-main.def to quote the filename seems to fix the problem. print-command-posix=lpr %%s It might also be a problem on Windows, but I haven't tried it. -- keywords: +easy

[issue16434] SocketServer call shutdown in the wrong way

2012-12-31 Thread Senthil Kumaran
Senthil Kumaran added the comment: Looks an invalid bug to me as well. request is a socket.socket object and has shutdown method taking a single argument. The error pasted in the report leads me to believe if the shutdown_request call is not thread-safe and it is ending up called shutdown

[issue14958] IDLE 3 and PEP414 - highlighting unicode literals

2012-12-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0dbdb85fd141 by Ned Deily in branch '2.7': Issue #14958: backport to 2.7.x from 3.3 (patch by Roger Serwy) http://hg.python.org/cpython/rev/0dbdb85fd141 -- ___ Python tracker rep...@bugs.python.org

[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2012-12-31 Thread Daniel Shahaf
Changes by Daniel Shahaf pyt...@danielsh.fastmail.net: -- nosy: +danielsh ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9334 ___ ___

[issue16830] Add skip_host and skip_accept_encoding to httplib/http.client

2012-12-31 Thread Bryan Bishop
New submission from Bryan Bishop: Sometimes I am using httplib/http.client and the server is not exactly conforming to HTTP specs. I need to be able to specify the exact headers that are sent to the server. By default, httplib/http.client injects headers like Host and Accept-Encoding. Issue

[issue16809] Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)

2012-12-31 Thread Roger Serwy
Roger Serwy added the comment: In Objects/unicodeobject.c in PyUnicode_FromObject, the call to PyUnicode_CheckExact fails when using 8.6.0 but works with 8.5.13. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16809

[issue16819] IDLE b method completion incorrect

2012-12-31 Thread Roger Serwy
Changes by Roger Serwy roger.se...@gmail.com: -- nosy: +serwy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16819 ___ ___ Python-bugs-list mailing

[issue16830] Add skip_host and skip_accept_encoding to httplib/http.client

2012-12-31 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- versions: -Python 2.7, Python 3.1, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16830 ___

  1   2   >