[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

[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: Oh, I see the issue has already been solved. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[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 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

[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: 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

[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 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

[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

[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/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 : 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
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.

[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-

[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 R. David Murray
R. David Murray added the comment: Ah, looks like Serhiy found the correct issue. -- ___ Python tracker ___ ___ Python-bugs-list maili

[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

[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

[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

[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

[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 _

[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 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

[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

[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/

[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 _

[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 ___

[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 ___

[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 _

[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 ___ __

[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 -

[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.

[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

[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. -

[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

[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

[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

[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

[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

[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.

[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

[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. -- __

[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

[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

[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 ___

[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

<    1   2