[issue1144504] Add IEEE Float support to wave.py

2012-11-21 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- superseder: - wave file module does not support 32bit float format ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1144504

[issue16525] wave file module does not support 32bit float format

2012-11-21 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Can somebody point to a floating point WAVE specification?. I think the issues raised in the original bug still stands. Also, support for writing should be provided too. http://web.archive.org/web/20080924064943/http://ccrma.stanford.edu/CCRMA/Courses/422

[issue16526] Python does not cross compile properly

2012-11-21 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: This is 3.4 material. Could you possibly work with us to properly integrate in 3.4?. -- nosy: +jcea versions: +Python 3.4 -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http

[issue16527] (very) long list of elif causes segfault

2012-11-21 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/issue16527 ___ ___ Python-bugs-list mailing list

[issue16507] Patch selectmodule.c to support WSAPoll on Windows

2012-11-21 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/issue16507 ___ ___ Python-bugs-list mailing list

[issue16510] Using appropriate checks in tests

2012-11-21 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/issue16510 ___ ___ Python-bugs-list mailing list

[issue16514] Cryptic traceback when sys.path[0] is None

2012-11-21 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/issue16514 ___ ___ Python-bugs-list mailing list

[issue16461] wave module: wrong integer format

2012-11-16 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Thanks to Christian for the report and to Terry for digging the spec. Patched. Thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16461

[issue16453] Inconsistent dead weakref equality

2012-11-16 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/issue16453 ___ ___ Python-bugs-list mailing list

[issue16490] inspect.getargspec() and inspect.getcallargs() don't work with builtins

2012-11-16 Thread Jesús Cea Avión
New submission from Jesús Cea Avión: Yesterday I was attending a conference about a MOCK like library and the speaker told us about some inspect functionalities not working correctly with builtins. For instance: Python 3.3.0 (default, Oct 2 2012, 02:07:16) [GCC 4.4.3] on linux Type help

[issue16490] inspect.getargspec() and inspect.getcallargs() don't work for builtins

2012-11-16 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- title: inspect.getargspec() and inspect.getcallargs() don't work with builtins - inspect.getargspec() and inspect.getcallargs() don't work for builtins ___ Python tracker rep...@bugs.python.org http

[issue16490] inspect.getargspec() and inspect.getcallargs() don't work for builtins

2012-11-16 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16490 ___ ___ Python-bugs-list

[issue16490] inspect.getargspec() and inspect.getcallargs() don't work for builtins

2012-11-16 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I am fully aware that the interpreter doesn't know how a method/function written in C is going to parse the parameter list/keywords. And that even if we solve this (for instance, with annotations that create wrappers calling PyArg_Parse() automatically

[issue16465] dict creation performance regression

2012-11-14 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/issue16465 ___ ___ Python-bugs-list mailing list

[issue16465] dict creation performance regression

2012-11-14 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Antoine, I would consider this a performance regression to solve for 3.3.1. Small dictionary creation is everywhere in CPython. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16465

[issue16473] Minor difference in decoding quoted-printable text

2012-11-14 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/issue16473 ___ ___ Python-bugs-list mailing list

[issue16474] More code coverage for imp module

2012-11-14 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Not sure increasing test coverage would be tolerated in 3.3.1. I would be +1 to it. -- nosy: +jcea versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16474

[issue16455] sys.getfilesystemencoding() is not the locale encoding on FreeBSD and OpenSolaris when the locale is not set

2012-11-12 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/issue16455 ___ ___ Python-bugs-list mailing list

[issue16462] smtpd should return greeting

2012-11-12 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Mike, could you possibly elaborate more?. I don't understand your bug report. BTW, Python 2.6 is open only for security bugfixes. Python 2.7, 3.2 and 3.3 are currently open for regular bugfixes. -- nosy: +jcea

[issue16461] wave module: wrong integer format

2012-11-12 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Python 3.x affected too. Python 2.6 is open only for security fixes. 4GB support confirmed: https://en.wikipedia.org/wiki/WAV#Limitations But trying to find a canonical description of the format, I see tons of inconsistencies. For instance http

[issue16218] Python launcher does not support unicode characters

2012-11-10 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: OpenIndiana 3.3 and 3.x buildbot broken too for a week. I suggest to revert this patch and use the custom buildbots to debug it before committing again. A week, and counting, it is about time. Feel free to hammer my OpenIndiana custom buildbots

[issue16424] regression: os.path.split('//hostname/foo/bar.txt')

2012-11-09 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16424 ___ ___ Python-bugs-list

[issue16427] Faster hash implementation

2012-11-09 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/issue16427 ___ ___ Python-bugs-list mailing list

[issue16447] SEGFAULT when setting type.__name__

2012-11-09 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/issue16447 ___ ___ Python-bugs-list mailing list

[issue16445] SEGFAULT when deleting Exception.message

2012-11-09 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/issue16445 ___ ___ Python-bugs-list mailing list

[issue1020188] Use Py_CLEAR where necessary to avoid crashes

2012-11-09 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/issue1020188 ___ ___ Python-bugs-list mailing

[issue16447] SEGFAULT when setting type.__name__

2012-11-09 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Yes, we should add a Py_REPLACE() macro. Sure. +1 to that. With this issue in mind, I wonder if there is any situation where Py_DECREF/Py_XDECREF must be used that can not be replace with Py_CLEAR/Py_REPLACE. Is there any code that breaks if we replace

[issue16436] Missing anchor in doc

2012-11-08 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/issue16436 ___ ___ Python-bugs-list mailing list

[issue16438] Numeric operator predecence confusing

2012-11-08 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Precedence ordered per row. Same row, same precedence. I don't see any problem. It is natural math precedence. Closed as invalid. -- nosy: +jcea resolution: - invalid ___ Python tracker rep...@bugs.python.org http

[issue16439] Code not collapsed correctly

2012-11-08 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/issue16439 ___ ___ Python-bugs-list mailing list

[issue16439] Code not collapsed correctly

2012-11-08 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Looks like a sphinx bug :-??. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16439 ___ ___ Python-bugs-list

[issue16438] Numeric operator predecence confusing

2012-11-08 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: You are right, Yongzhi Pan. Reopening. Not sure how to solve it. Delegating to docs@python. -- resolution: invalid - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue16441] range usage in gzip module leads to excessive memory usage.

2012-11-08 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Yes, range() in python 3 is equivalent to python 2 xrange(). 2.6 is in security only fix mode. So, you only need to fix 2.7. -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue16441] range usage in gzip module leads to excessive memory usage.

2012-11-08 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16441 ___ ___ Python-bugs-list

[issue16439] Code not collapsed correctly

2012-11-08 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Good catch. I was not aware of this feature :-). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16439

[issue16381] Introduce option to force the interpreter to exit upon MemoryErrors

2012-11-06 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/issue16381 ___ ___ Python-bugs-list mailing list

[issue2275] urllib/httplib header capitalization

2012-11-06 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/issue2275 ___ ___ Python-bugs-list mailing list

[issue16388] Urllib screws up capitalization in User-Agent HTTP Header

2012-11-06 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/issue16388 ___ ___ Python-bugs-list mailing list

[issue16389] re._compiled_typed's lru_cache causes significant degradation of the mako_v2 bench

2012-11-06 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/issue16389 ___ ___ Python-bugs-list mailing list

[issue16404] Uses of PyLong_FromLong that don't check for errors

2012-11-05 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/issue16404 ___ ___ Python-bugs-list mailing list

[issue16408] zipfile.testzip() opens file but does not close it.

2012-11-05 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I think this is a duplicate of issue #16183. Are you sure python 3 is affected?. -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16408

[issue16408] zipfile.testzip() opens file but does not close it.

2012-11-05 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Serhiy Storchaka, go for it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16408 ___ ___ Python-bugs-list

[issue6280] calendar.timegm() belongs in time module, next to time.gmtime()

2012-11-05 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/issue6280 ___ ___ Python-bugs-list mailing list

[issue16398] deque.rotate() could be much faster

2012-11-03 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/issue16398 ___ ___ Python-bugs-list mailing list

[issue16183] ZipExtFile object close without file handle closed

2012-11-03 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: This bug was solved in python 3.2. Pyhton 3.1 is affected. This is not a windows issue: the file reference is kept in all platforms. This seems to be solved in 2c370065c1b4 and 260ff379115c. See issue #9846. -- nosy: +jcea

[issue9846] ZipExtFile provides no mechanism for closing the underlying file object

2012-11-03 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: This code was not backported to python 2.7. See Issue #16183 -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9846

[issue11016] Add S_ISDOOR to the stat module

2012-11-03 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: After reviewing the code, I agree with Martin v. Löwis that stat.py is a joke. Neither can we trust the numerical constants (each OS is free to choose a different meaning) neither the code in filemode() can cope with modes with more than a bit active (like

[issue11016] Add S_ISDOOR to the stat module

2012-11-03 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11016 ___ ___ Python

[issue16218] Python launcher does not support non ascii characters

2012-11-02 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/issue16218 ___ ___ Python-bugs-list mailing list

[issue16218] Python launcher does not support non ascii characters

2012-11-02 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Reopening bug. Quite a few buildbots are failing with this patch. Please, commit a new version or revert. -- resolution: fixed - stage: committed/rejected - commit review status: closed - open ___ Python tracker

[issue16385] evaluating literal dict with repeated keys gives no warnings/errors

2012-11-02 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/issue16385 ___ ___ Python-bugs-list mailing list

[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-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/issue16369 ___ ___ Python-bugs-list mailing list

[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Benjamin, 3.3/3.4 PyDictDummy_Type initialization is missing too. That code was introduced in changeset: 76485:6e5855854a2e user:Benjamin Peterson benja...@python.org date:Mon Apr 23 11:24:50 2012 -0400 summary: Implement PEP 412: Key

[issue16268] dir(closure) does not find __dir__

2012-10-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/issue16268 ___ ___ Python-bugs-list mailing list

[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Any option of having a test? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16369 ___ ___ Python-bugs-list

[issue8743] set() operators don't work with collections.Set instances

2012-10-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/issue8743 ___ ___ Python-bugs-list mailing list

[issue16373] Recursion error comparing set() and MutableMapping.keys()

2012-10-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/issue16373 ___ ___ Python-bugs-list mailing list

[issue16373] Recursion error comparing set() and collections.Set instances

2012-10-31 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Serhiy Storchaka, I was wondering if you could provide a test for the testsuite too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16373

[issue8743] set() operators don't work with collections.Set instances

2012-10-31 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Heads up, Issue #16373. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8743 ___ ___ Python-bugs-list mailing

[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Even if not needed to be initialize, we might do it for regularity (no special cases are special enough :-). Or, if left alone, at least document it in the code. -- ___ Python tracker rep...@bugs.python.org http

[issue16345] dict.fromkeys() assumes 'self' is empty

2012-10-29 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/issue16345 ___ ___ Python-bugs-list mailing list

[issue16358] Enhancement for mmap_read: Consistency with standard file read

2012-10-29 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/issue16358 ___ ___ Python-bugs-list mailing list

[issue12021] mmap.read requires an argument

2012-10-29 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/issue12021 ___ ___ Python-bugs-list mailing list

[issue16290] PyComplex_AsCComplex should allow __complex__ to return float.

2012-10-28 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Mark, for the sake of keeping a reference in this bug entry, could you possibly post the URL of the archived python-dev thread? Thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue16351] Add a function to get GC statistics

2012-10-28 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/issue16351 ___ ___ Python-bugs-list mailing list

[issue16341] In examples, except: should use new syntax

2012-10-27 Thread Jesús Cea Avión
New submission from Jesús Cea Avión: In python 2.7 documentation, doing grep -i 'except.*,.*:' *rst shows quite a few old style except:. I think that except X, e: should be transformed to except X as e:, for clarity, as done in issue #16332. The only thing is that this syntax, used

[issue16332] Use new exception handling syntax in Subprocess documentation

2012-10-27 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Related issue #16341. -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16332 ___ ___ Python-bugs

[issue16341] In examples, except: should use new syntax

2012-10-27 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- components: +Library (Lib) nosy: +docs@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16341

[issue16341] In examples, except: should use new syntax

2012-10-27 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- assignee: - docs@python components: +Documentation -Library (Lib) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16341

[issue16322] time.tzname on Python 3.3.0 for Windows is decoded by wrong encoding

2012-10-27 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/issue16322 ___ ___ Python-bugs-list mailing list

[issue16327] subprocess.Popen leaks file descriptors on os.fork() failure

2012-10-26 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: The problem with using RLIMIT is that the testsuite could be executing several tests in parallel using independent threads, for instance. You don't want to influence unrelated tests. Overiding private methods is ugly, but if the code evolves the test would

[issue16329] mimetypes does not support webm type

2012-10-26 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: How do we know if the webm file is video+audio or audio only?. Mimetypes are different. :-? -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16329

[issue1336] subprocess.Popen hangs when child writes to stderr

2012-10-25 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/issue1336 ___ ___ Python-bugs-list mailing list

[issue16327] subprocess.Popen leaks file descriptors on os.fork() failure

2012-10-25 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I would catch ALL exceptions, not only OSError. An easy way to test this would be to test a subclass of Popen with _execute_child() method overrided for always raising an exception. On Unix the test could just open six fds, close them taking note

[issue16327] subprocess.Popen leaks file descriptors on os.fork() failure

2012-10-25 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: The cleanup code in python 3 validates my idea of simplifying cleanup moving _execute_child() after the platform specific code. I wonder what raise will actually raise if this cleanup code catches ignores close() exception

[issue16327] subprocess.Popen leaks file descriptors on os.fork() failure

2012-10-25 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Mark, could you consider to fillsend a contributor form agreement? http://www.python.org/psf/contrib/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16327

[issue16327] subprocess.Popen leaks file descriptors on os.fork() failure

2012-10-25 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: In fact, nested exception management in python 2 and python 3 actually diverges. BEWARE: (Python 3 does the right thing, once again :-) Python 2.7.3 (default, Apr 12 2012, 13:11:53) [GCC 4.4.3] on linux2 Type help, copyright, credits or license for more

[issue16327] subprocess.Popen leaks file descriptors on os.fork() failure

2012-10-25 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: http://stackoverflow.com/questions/8997431/is-there-any-way-to-access-nested-or-re-raised-exceptions-in-python This is known as Exception Chaining and is suported in Python 3. PEP 3134: http://www.python.org/dev/peps/pep-3134/ In Python 2, the old exception

[issue16327] subprocess.Popen leaks file descriptors on os.fork() failure

2012-10-25 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Python2 management should be something like: Python 2.7.3 (default, Apr 12 2012, 13:11:53) [GCC 4.4.3] on linux2 Type help, copyright, credits or license for more information. try : ... 1/0 ... except BaseException as e : ... try : ... raise

[issue16327] subprocess.Popen leaks file descriptors on os.fork() failure

2012-10-25 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Replace except BaseException as e : with just except:. It was a remnant of my tests. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16327

[issue16294] 8 space indent in tutorial

2012-10-22 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I take care of this. Thanks for pointing it out. -- assignee: docs@python - jcea nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16294

[issue16294] 8 space indent in tutorial

2012-10-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- versions: +Python 3.4 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16294 ___ ___ Python

[issue16290] PyComplex_AsCComplex should allow __complex__ to return float.

2012-10-22 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/issue16290 ___ ___ Python-bugs-list mailing list

[issue16291] Enable darwin-host cross compilation. Tested with build=linux, host=darwin

2012-10-22 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/issue16291 ___ ___ Python-bugs-list mailing list

[issue15484] CROSS: use _PYTHON_PROJECT_BASE in distutils sysconfig

2012-10-22 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/issue15484 ___ ___ Python-bugs-list mailing list

[issue15483] CROSS: initialise include and library paths in setup.py

2012-10-22 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/issue15483 ___ ___ Python-bugs-list mailing list

[issue16292] Cross compilation fixes (general)

2012-10-22 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/issue16292 ___ ___ Python-bugs-list mailing list

[issue16231] pickle persistent_id return value

2012-10-22 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/issue16231 ___ ___ Python-bugs-list mailing list

[issue16274] test_asyncore failing on Solaris 10 2.7 (nitrogen/s10)

2012-10-22 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Keeping the issue open until Trent can commit a new patch, according to msg173256. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16274

[issue16287] Sporadic test_utime() failures on Solaris

2012-10-19 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/issue16287 ___ ___ Python-bugs-list mailing list

[issue16166] Add PY_BYTE_ORDER macro to get endianess of platform

2012-10-19 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Instead of using macro values, I would rather define ONLY a single macro, PY_LITTLE_ENDIAN or PY_BIG_ENDIAN. Far less error prone!. It is far fool-proof #ifdef PY_LITTLE_ENDIAN than #if PY_LITTLE_ENDIAN

[issue16274] test_asyncore failing on Solaris 10 2.7 (nitrogen/s10)

2012-10-19 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: hg annotate is useful :-) Changes in 3.2 look like coming from here: jcea@ubuntu:~/hg/python/cpython$ hg log -r 64988 changeset: 64988:0f8c2eb89f46 user:Antoine Pitrou solip...@pitrou.net date:Tue Sep 28 21:23:11 2010 + summary

[issue9090] Error code 10035 calling socket.recv() on a socket with a timeout (WSAEWOULDBLOCK - A non-blocking socket operation could not be completed immediately)

2012-10-19 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Backport to 2.7 should be done: See Issue #16274. -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9090

[issue2350] 'exceptions' import fixer

2012-10-19 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2350

[issue16195] Difficult or impossible to figure out how garbage collector and weak references should interact for user-defined extension types

2012-10-19 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/issue16195 ___ ___ Python-bugs-list mailing list

[issue16258] test_local.TestEnUSCollection failures on Solaris 10

2012-10-17 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I can reproduce this on my x86 Solaris 10 update 10. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16258

[issue16258] test_local.TestEnUSCollection failures on Solaris 10

2012-10-17 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: BTW, this works in python 3.2: x86, 32 bit python, Solaris 10 update 10: Python 3.2.3 (default, Apr 12 2012, 13:29:13) [GCC 4.7.0] on sunos5 Type help, copyright, credits or license for more information. import locale locale.setlocale(locale.LC_ALL

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2012-10-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea superseder: - test_local.TestEnUSCollection failures on Solaris 10 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13441

[issue16258] test_local.TestEnUSCollection failures on Solaris 10

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

[issue16252] bytes and bytearray methods are undocumented

2012-10-16 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/issue16252 ___ ___ Python-bugs-list mailing list

<    1   2   3   4   5   6   7   8   9   10   >