[issue13290] get vars for object with __slots__

2012-10-05 Thread Michele Orrù
Michele Orrù added the comment: As a reference, linking the discussion on python-dev. http://mail.python.org/pipermail/python-dev/2012-October/122011.html -- ___ Python tracker

[issue16146] MIMEApplication cannot access

2012-10-05 Thread R. David Murray
R. David Murray added the comment: Ah, I'd forgotten python2 email used the lazy importer. We dropped that in python3. I don't think that I want to fix this, since you have to do the import in python3 anyway. -- components: +email nosy: +barry ___

[issue16146] MIMEApplication cannot access

2012-10-05 Thread Yinian Sun
Yinian Sun added the comment: These MIME except MIMEApplication can be directly accessed. >>> import email >>> email.mime.Text >>> email.mime.Application Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'Application' According to Lib\em

[issue14668] Document the path option in the Windows installer

2012-10-05 Thread Ezio Melotti
Ezio Melotti added the comment: Brian, can this be closed? -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing

[issue8109] Server-side support for TLS Server Name Indication extension

2012-10-05 Thread danblack
danblack added the comment: happy with this? I'm not sure what i've done to make s._set_context(newctx) work but s.context = newctx fail. I though the code here http://bugs.python.org/review/8109/diff2/5815:5989/Lib/ssl.py effectively maps them. -- __

[issue15837] Added test to test_random.py testing Random.shuffle

2012-10-05 Thread Ezio Melotti
Ezio Melotti added the comment: I left a review on rietveld. FWIW these are the results of the tests using timeit: # with int=int $ ./python -m timeit -s 'from random import random, shuffle; lst = list(range(10))' 'shuffle(lst, random)' 10 loops, best of 3: 507 msec per loop # without in

[issue16098] Bisect optimization in heapq.nsmallest is never used

2012-10-05 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.

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

2012-10-05 Thread Ezio Melotti
Changes by Ezio Melotti : -- versions: +Python 3.3, Python 3.4 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue13633] Handling of hex character references in HTMLParser.handle_charref

2012-10-05 Thread Ezio Melotti
Changes by Ezio Melotti : -- versions: +Python 3.4 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mai

[issue8912] `make patchcheck` should check the whitespace of .c/.h files

2012-10-05 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue812369] module shutdown procedure based on GC

2012-10-05 Thread Neil Schemenauer
Neil Schemenauer added the comment: It's been quite a long time since I played with this patch so my memory might be a bit fuzzy. As I recall, it sounds good in theory but in practice it doesn't really work. One of the core problems is that many extension modules keep references to Python ob

[issue15631] Python 3.3/3.4 installation issue on OpenSUSE lib/lib64 folders

2012-10-05 Thread Skip Montanaro
Skip Montanaro added the comment: I applied the OpenSUSE patch to the current cpython tip (3.4a0), rebuilt, then reinstalled. I verified that sys.path contains directories which contain "lib64". I can import the time module now, which failed before applying the patch. The patch didn't apply

[issue16136] Removal of VMS support

2012-10-05 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: : host smtp.hp.com[15.193.32.72] said: 550 5.1.1 : Recipient address rejected: User unknown in virtual alias table (in reply to RCPT TO command) Looks like he is not in HP anymore. Searching in linkedin I think I have found him. Lets try that route. -

[issue16136] Removal of VMS support

2012-10-05 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I am sending an email to Mathew Sandeep. Lets see... -- ___ Python tracker ___ ___ Python-bugs-list

[issue16145] Abort in _csv module

2012-10-05 Thread Roger Binns
Roger Binns added the comment: (APSW author here). I haven't ported to the new Python 3.3 Unicode handling yet but it is on my todo list. The PEPs and doc said the C API would remain backwards compatible. The APSW code supports Python 2.3 onwards. SQLite APIs support both UTF-8 and UTF-16.

[issue16133] asyncore.dispatcher.recv doesn't handle EAGAIN / EWOULDBLOCK

2012-10-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6a1d8e78b23d by Christian Heimes in branch 'default': Issue #16133: add Windows project file for _sha3 module. I choose to build _sha3 as a sparat module as it's rather large (190k for AMD64). http://hg.python.org/cpython/rev/6a1d8e78b23d -

[issue13896] Make shelf instances work with 'with' as context managers

2012-10-05 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: Crap, it was so long ago, that I honestly don't remember why I added this if. It made sense back then. -- ___ Python tracker ___ __

[issue16113] Add SHA-3 (Keccak) support

2012-10-05 Thread Christian Heimes
Christian Heimes added the comment: The code has landed in default. Let's see how the build bots like my patch and the reference implementation. -- stage: patch review -> commit review ___ Python tracker _

[issue16113] Add SHA-3 (Keccak) support

2012-10-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 11c9a894680e by Christian Heimes in branch 'default': Issue #16113: integrade SHA-3 (Keccak) patch from http://hg.python.org/sandbox/cheimes http://hg.python.org/cpython/rev/11c9a894680e -- nosy: +python-dev ___

[issue3754] cross-compilation support for python build

2012-10-05 Thread Roumen Petrov
Roumen Petrov added the comment: Hi Václav, uploaded file py3k-20121004-CROSS.tgz contain current status of patch extracted as is from my repository, i.e. on small chunks. I have no idea what is in 3.3.0 . -- Added file: http://bugs.python.org/file27444/py3k-20121004-CROSS.tgz ___

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-05 Thread Roumen Petrov
Roumen Petrov added the comment: Did 0016-CROSS-reload-may-fail-with-operation-on-closed-file-.patch fix issue ? -- keywords: +patch nosy: +rpetrov Added file: http://bugs.python.org/file27443/0016-CROSS-reload-may-fail-with-operation-on-closed-file-.patch _

[issue12067] Doc: remove errors about mixed-type comparisons.

2012-10-05 Thread Mike Hoy
Changes by Mike Hoy : -- hgrepos: -153 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue16145] Abort in _csv module

2012-10-05 Thread STINNER Victor
STINNER Victor added the comment: "In general APSW does not look ready for the Python 3.3 Unicode implementation." I bet that most Python modules implemented in C use the "legacy" (old) Unicode API (Py_UNICODE*). Python 3.3 must call PyUnicode_READY() everywhere (where the new API is used to g

[issue16145] Abort in _csv module

2012-10-05 Thread STINNER Victor
STINNER Victor added the comment: "I think we need to add a couple of PyUnicode_READY() to some functions in Modules/_csv.c." Oh yes, the _csv module was in my TODO list. I forgot to fix it :-/ -- nosy: +haypo ___ Python tracker

[issue16113] Add SHA-3 (Keccak) support

2012-10-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: don't worry about optimization settings in python itself for now. the canonical optimized version will be in a future openssl version. now that it has been declared the standard it will get a *lot* more attention in the next few years. as it is, we _may_

[issue16145] Abort in _csv module

2012-10-05 Thread Stefan Krah
Stefan Krah added the comment: David is right, the existing (APSW) code should continue to work. I think we need to add a couple of PyUnicode_READY() to some functions in Modules/_csv.c. -- ___ Python tracker _

[issue16134] Add support for RTMP schemes to urlparse

2012-10-05 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- assignee: -> gregory.p.smith nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mail

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2012-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No, it's you found (msg172016) the correct issue. ;) -- ___ Python tracker ___ ___ Python-bugs-lis

[issue16147] Rewrite PyUnicode_FromFormatV() to use the _PyUnicodeWriter API

2012-10-05 Thread STINNER Victor
STINNER Victor added the comment: "Split PyUnicode_FromFormatV() into smaller functions: add unicode_fromformat_arg(). It requires to copy vargs using Py_VA_COPY: without Py_VA_COPY, the function does crash. I don't understand why." Ok, here is the answer. http://stackoverflow.com/questions/80

[issue12067] Doc: remove errors about mixed-type comparisons.

2012-10-05 Thread Mike Hoy
Mike Hoy added the comment: Changed patch to include suggestions by Chris Jerdonek. http://bugs.python.org/issue12067#msg170953 -- hgrepos: +153 Added file: http://bugs.python.org/file27442/issue12067-expressions_v2.diff ___ Python tracker

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2012-10-05 Thread R. David Murray
R. David Murray added the comment: Ah, looks like Serhiy found the correct issue. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2012-10-05 Thread R. David Murray
R. David Murray added the comment: This sounds like Issue 10814, but that was supposedly fixed. -- ___ Python tracker ___ ___ Python-b

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2012-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, it looks as issue8013. Fix was not applied to 2.7. -- ___ Python tracker ___ ___ Python-bugs-

[issue16113] Add SHA-3 (Keccak) support

2012-10-05 Thread Christian Heimes
Christian Heimes added the comment: New patch. I've removed the dependency on uint64 types. On platforms without a uint64 type the module is using the 32bit implementation with interleave tables. By the way the SSE / SIMD instructions aren't useful. They are two to four times slower.

[issue16113] Add SHA-3 (Keccak) support

2012-10-05 Thread Christian Heimes
Changes by Christian Heimes : Added file: http://bugs.python.org/file27441/521e85a613bf.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue16113] Add SHA-3 (Keccak) support

2012-10-05 Thread Christian Heimes
Changes by Christian Heimes : Removed file: http://bugs.python.org/file27438/622009fb6192.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue16113] Add SHA-3 (Keccak) support

2012-10-05 Thread Christian Heimes
Changes by Christian Heimes : Removed file: http://bugs.python.org/file27431/49a949116245.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue16113] Add SHA-3 (Keccak) support

2012-10-05 Thread Christian Heimes
Changes by Christian Heimes : Removed file: http://bugs.python.org/file27426/44920b1d9db1.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue16145] Abort in _csv module

2012-10-05 Thread Stefan Krah
Stefan Krah added the comment: R. David Murray wrote: > My understanding was that code that calls the public APIs should continue to > work. Is this a new requirement in 3.3, or is it that it has always been a > requirement but code could get away without the ready before? It's a new requirem

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2012-10-05 Thread Viktor Chynarov
Viktor Chynarov added the comment: Serhiy, when I use a large number, Python also crashes. >>> initial_struct_time = [tm for tm in time.localtime()] >>> initial_struct_time[3] = 101 >>> faulty_time = time.asctime(initial_struct_time) The above code leads to crash. My Python version information

[issue16145] Abort in _csv module

2012-10-05 Thread R. David Murray
R. David Murray added the comment: I'm going to reopen this at least until we have more information. -- resolution: invalid -> stage: committed/rejected -> needs patch status: closed -> open type: -> behavior ___ Python tracker

[issue16145] Abort in _csv module

2012-10-05 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Apparently http://docs.python.org/py3k/whatsnew/3.3.html#pep-393-flexible-string-representation says: "On the C API side, PEP 393 is fully backward compatible." -- ___ Python tracker

[issue16145] Abort in _csv module

2012-10-05 Thread R. David Murray
R. David Murray added the comment: My understanding was that code that calls the public APIs should continue to work. Is this a new requirement in 3.3, or is it that it has always been a requirement but code could get away without the ready before? Either way we need to add an note to the P

[issue16147] Rewrite PyUnicode_FromFormatV() to use the _PyUnicodeWriter API

2012-10-05 Thread STINNER Victor
New submission from STINNER Victor: Attached patch rewrites PyUnicode_FromFormatV(): * simplify the code: replace 4 steps with one unique step. PyUnicode_Format() has the same design. It avoids to store intermediate results which require to allocate an array of pointers in the heap. * use the

[issue16145] Abort in _csv module

2012-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, I see the issue has already been solved. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue16114] incorrect path in subprocess.Popen() FileNotFoundError message

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: I'm ok with your patch if it will be applied to 3.2 etc and after that new issue will fix Windows problem. BTW, the patch fails for 3.2 and 3.3 but works for 3.4 -- ___ Python tracker

[issue16145] Abort in _csv module

2012-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: How do you get values to write? Most likely, the problem has nothing to do with csv module, but written values are broken. Possible error in sqlite module, or in any conversion function, or in you APSW C-code. Can you dump this values before sending to write

[issue16119] Python 2.7 _socket DLL import error on Windows Vista

2012-10-05 Thread Spiros K.
Changes by Spiros K. : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue16145] Abort in _csv module

2012-10-05 Thread Stefan Krah
Stefan Krah added the comment: In general APSW does not look ready for the Python 3.3 Unicode implementation. Example: src/statementcache.c:217 Py_UNICODE *out; PyObject *res=PyUnicode_FromUnicode(NULL, size); Python 3.3 docs: "If the buffer is NULL, PyUnicode_READY() must be called o

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks, Andrew. I'm hoping to finish preparing the patch sometime this weekend. -- ___ Python tracker ___ _

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: ok, it will be better. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue16146] MIMEApplication cannot access

2012-10-05 Thread R. David Murray
R. David Murray added the comment: This is by design. If you want to load the application module, you have to do so explicitly: import email.mime.application This is similar to the way many other packages are organized. An __init__ file importing a submodule is the (relatively) exceptiona

[issue16145] Abort in _csv module

2012-10-05 Thread Roger Binns
Roger Binns added the comment: I'm the APSW author. You do not need SQLite installed - APSW's setup can fetch the current SQLite and use it privately not affecting the rest of the system. An easier way of testing is: python3 setup.py fetch --sqlite --version 3.7.14 build_ext --inplace --for

[issue16114] incorrect path in subprocess.Popen() FileNotFoundError message

2012-10-05 Thread Chris Jerdonek
Chris Jerdonek added the comment: Sorry, I was confusing this issue with issue 15533. Yes, I support adding the file path to the error message in the Windows implementation, though my preference would be for that to be addressed as part of a separate issue. -- ___

[issue16114] incorrect path in subprocess.Popen() FileNotFoundError message

2012-10-05 Thread Chris Jerdonek
Chris Jerdonek added the comment: I will be opening a separate issue to have the same behavior in a future version after this issue is closed. For existing releases, we don't want to break working code that could be relying on the difference. -- __

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Chris Jerdonek
Chris Jerdonek added the comment: Actually, I was still working on this. I had assigned it to myself. +p = subprocess.Popen(["nonexistent","-c",'import sys; sys.exit(42)'], +executable=sys.executable, cwd=python_dir) The test for the executable argument shou

[issue16146] MIMEApplication cannot access

2012-10-05 Thread yinian1992
New submission from yinian1992: I have a python 2.7.3 installation both on Debian 6 and Windows 7. And under both environment email.mime.application cannot access. >>> email.mime.application Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribu

[issue16114] incorrect path in subprocess.Popen() FileNotFoundError message

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Maybe better to fix Windows behavior for unifying FileNotFoundError? -- ___ Python tracker ___ ___ P

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Committed. Thank you, Kushal Das. BTW, please fill http://www.python.org/psf/contrib/ as contributor of Python project. We would to get that agreement from everybody who has pushed any patch. Thanks again. -- ___ Pyt

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0df5aeab229f by Andrew Svetlov in branch '3.3': Issue #16115: Add test for check that executable arg to Popen() takes precedence over args[0] arg\n\n Patch by Kushal Das http://hg.python.org/cp

[issue13896] Make shelf instances work with 'with' as context managers

2012-10-05 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- assignee: -> asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue13896] Make shelf instances work with 'with' as context managers

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Filip, please describe why you prevent closing if writeback attribute is not present. I see comment for __del__ related to #1339007, but at __exit__ call __enter__ has called already and __init__ has finished definitely with success. Also I would to see referen

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-05 Thread STINNER Victor
STINNER Victor added the comment: Issue #16139 has been marked as a duplicate of this issue. -- nosy: +haypo ___ Python tracker ___ __

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-05 Thread Charles-François Natali
Charles-François Natali added the comment: We should probably catch all OSErrors, and log a warning in verbose mode, as suggested by Antoine. Catching individual errnos is tedious and error-prone. -- nosy: +neologix ___ Python tracker

[issue16123] IDLE - deprecate running without a subprocess

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Change priority to deferred blocker for reminding to remove no-subprocess mode in 3.5. Thanks, Roger. -- priority: normal -> deferred blocker ___ Python tracker _

[issue16139] Python 3.3 fails when starting from read-only FS

2012-10-05 Thread Charles-François Natali
Charles-François Natali added the comment: > This is more or less a duplicate of #15833 Indeed, closing as duplicate. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> most failures to write byte-compiled file no longer suppressed type: cr

[issue16123] IDLE - deprecate running without a subprocess

2012-10-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0430986a8c03 by Andrew Svetlov in branch 'default': Issue #16123: IDLE - deprecate running without a subprocess. http://hg.python.org/cpython/rev/0430986a8c03 -- nosy: +python-dev ___ Python tracker

[issue14574] SocketServer doesn't handle client disconnects properly

2012-10-05 Thread Charles-François Natali
Charles-François Natali added the comment: > Are you referring to the comment where I mention ECONNABORTED? That is a > regular unix error (windows version is WSAECONNABORTED). > This error occurs when the local stack decides to kill the connection, as > opposed to ECONNRESET which occurs on a

[issue16123] IDLE - deprecate running without a subprocess

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Looks good for me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue16145] Abort in _csv module

2012-10-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, can you try to enable core dumps and get a complete stack trace? -- ___ Python tracker ___ ___

[issue16113] Add SHA-3 (Keccak) support

2012-10-05 Thread Christian Heimes
Changes by Christian Heimes : Added file: http://bugs.python.org/file27438/622009fb6192.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue16058] ConfigParser no longer deepcopy compatible in 2.7

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: ConfigParser is not intended to be deep copy-able, at least documentation says nothing about it. -- nosy: +asvetlov, lukasz.langa ___ Python tracker __

[issue16128] hashable documentation error

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Please write what exact text you want to see in documentation. -- nosy: +asvetlov ___ Python tracker ___ ___

[issue16124] fcntl_ioctl still not 100% sane with unsigned longs

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Is it affected for 3.3 and 3.4 also? -- nosy: +asvetlov versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___

[issue16145] Abort in _csv module

2012-10-05 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis: Commit f2adbb1065eb introduced abort in _csv module in debug builds in Python 3.3, when using APSW shell. (You need to have SQLite >=3.7.14 installed.) $ cd /tmp $ wget http://apsw.googlecode.com/files/apsw-3.7.14-r2.zip $ unzip apsw-3.7

[issue16123] IDLE - deprecate running without a subprocess

2012-10-05 Thread Roger Serwy
Roger Serwy added the comment: I agree that a message within the shell would be more informative to the user. The _rev1 patch also adds a message to the shell. -- Added file: http://bugs.python.org/file27437/idle_deprecate_rev1.patch ___ Python track

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2012-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Viktor, what happen when a large positive number (>=100) used as tm_hour? -- nosy: +serhiy.storchaka ___ Python tracker ___ __

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2012-10-05 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue16098] Bisect optimization in heapq.nsmallest is never used

2012-10-05 Thread Francisco Martín Brugué
Francisco Martín Brugué added the comment: I've to say that I also ran into that by following coverage numbers and as a newbie is not so easy to see what Raymond told. IMHO that information could be put as a comment. Regards francis -- nosy: +francismb __

[issue16144] misleading sentence in reference/import

2012-10-05 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +brett.cannon, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue812369] module shutdown procedure based on GC

2012-10-05 Thread Martin v . Löwis
Martin v. Löwis added the comment: At the moment, it's like that the status of the patch needs to be reestablished. Does it apply? Does it work? Does the test suite still pass? -- ___ Python tracker _

[issue16141] Possible simplification for logging.StreamHandler exception handling

2012-10-05 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +vinay.sajip stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue16144] misleading sentence in reference/import

2012-10-05 Thread Manuel Pégourié-Gonnard
New submission from Manuel Pégourié-Gonnard: I find the following sentences, from import.rst, section "Finders and loaders", misleading: "Python includes a number of default finders and importers. One knows how to locate frozen modules, and another knows how to locate built-in modules." in tha

[issue16141] Possible simplification for logging.StreamHandler exception handling

2012-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Couldn't this be simplified to the following? I think this is idiomatic now (since 2.5). There are some places where similar outdated code used. See the attached patch. There are more dubious places in Lib/multiprocessing/managers.py and Lib/asyncore.py.

[issue10156] Initialization of globals in unicodeobject.c

2012-10-05 Thread Stefan Krah
Stefan Krah added the comment: See also #16143. -- versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list maili

[issue16143] Building with configure option "--without-doc-strings" crashes first time through PyUnicode_DecodeUTF8Stateful

2012-10-05 Thread Stefan Krah
Stefan Krah added the comment: Sorry, wrong issue number: Related to #10156. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue16143] Building with configure option "--without-doc-strings" crashes first time through PyUnicode_DecodeUTF8Stateful

2012-10-05 Thread Stefan Krah
Stefan Krah added the comment: This seems related to #9242: _Py_InitializeEx_Private() calls _Py_ReadyTypes(), which uses the Unicode API, well before actually calling _PyUnicode_Init(). -- nosy: +georg.brandl, skrah priority: normal -> release blocker stage: -> needs patch ___

[issue16113] Add SHA-3 (Keccak) support

2012-10-05 Thread Christian Heimes
Christian Heimes added the comment: I've documented the optimization options of Keccak. The block also contains a summarization of my modifications of the reference code. http://hg.python.org/sandbox/cheimes/file/57948df78dbd/Modules/_sha3/sha3module.c#l22 -- _

[issue812369] module shutdown procedure based on GC

2012-10-05 Thread Stefan Friesel
Stefan Friesel added the comment: What is the status of this? Does the patch need more reviewing? -- nosy: +Stefan.Friesel ___ Python tracker ___ ___

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2012-10-05 Thread Mark Lawrence
Mark Lawrence added the comment: I can reproduce this on Windows Vista running 2.7.3. With 3.3.0 I get >>> faulty_time = time.asctime(initial_struct_time) Traceback (most recent call last): File "", line 1, in TypeError: Tuple or struct_time argument required >>> -- nosy: +BreamoreBo

[issue16143] Building with configure option "--without-doc-strings" crashes first time through PyUnicode_DecodeUTF8Stateful

2012-10-05 Thread Gregory Andersen
New submission from Gregory Andersen: Seems unicode_empty is still NULL at this point. A gdb backtrace from an x86_64 build. Reproduced on i686 and mips build as well. Program received signal SIGSEGV, Segmentation fault. 0x0044f61e in PyUnicode_DecodeUTF8Stateful (s=0x59a767 "", size=

[issue15111] Wrong ImportError message with importlib

2012-10-05 Thread Brett Cannon
Brett Cannon added the comment: Actually, I take it back, it removed a test without adding a new one. Obviously that's my bad. -- ___ Python tracker ___

[issue15111] Wrong ImportError message with importlib

2012-10-05 Thread Brett Cannon
Brett Cannon added the comment: http://hg.python.org/cpython/rev/dc18a2a66d16 did add a test, just not the right one. -- ___ Python tracker ___ _

[issue16123] IDLE - deprecate running without a subprocess

2012-10-05 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16116] Can not install C extension modules to inside a venv on Python 3.3.0 for Win32

2012-10-05 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16116] Can not install C extension modules to inside a venv on Python 3.3.0 for Win32

2012-10-05 Thread Vinay Sajip
Vinay Sajip added the comment: > I have tested the workaround and it works correctly. > Please see attached log file. Thanks for the update. > btw, it seems to me that "-IC:\Python33\include -IC:\Python33\include" > should be "-IC:\Users\msmhrt\mypython\3.3.0\include -IC:\Python33\include". Co

[issue15111] Wrong ImportError message with importlib

2012-10-05 Thread Chris Jerdonek
Chris Jerdonek added the comment: > I don't know why, but it seems that the bug reappeared in 3.3. Part of it could be that the original fix added no tests. -- ___ Python tracker __

[issue5845] rlcompleter should be enabled automatically

2012-10-05 Thread Steven D'Aprano
Changes by Steven D'Aprano : -- nosy: +stevenjd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16142] ArgumentParser inconsistent with parse_known_args

2012-10-05 Thread R. David Murray
R. David Murray added the comment: Right. I didn't read what you wrote carefully enough. Clearly parse_known_args is buggy here. -- ___ Python tracker ___

  1   2   >