[issue26230] Cookies do not correct if cookiename includes [ or ]

2016-01-28 Thread tom liu
tom liu added the comment: similar to issue25228. -- resolution: -> duplicate status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue26230] Cookies do not correct if cookiename includes [ or ]

2016-01-28 Thread tom liu
Changes by tom liu : -- components: Extension Modules nosy: tom_lt priority: normal severity: normal status: open title: Cookies do not correct if cookiename includes [ or ] type: behavior versions: Python 3.4 ___ Python tracker <h

[issue26561] exec function fails to properly assign scope to dict like object

2016-03-14 Thread Brian Tom
Changes by Brian Tom : -- nosy: btomtom5 priority: normal severity: normal status: open title: exec function fails to properly assign scope to dict like object type: behavior versions: Python 3.5 ___ Python tracker <http://bugs.python.org/issue26

[issue26561] exec function fails to properly assign scope to dict like object

2016-03-14 Thread Brian Tom
New submission from Brian Tom: http://stackoverflow.com/questions/35993869/passing-a-dictionary-like-object-to-exec-instead-of-dict-object-changes-scope-of -- ___ Python tracker <http://bugs.python.org/issue26

[issue26866] Inconsistent environment in Windows using "Open With"

2016-04-26 Thread Tom Middleton
New submission from Tom Middleton: I have found that the execution of python scripts is inconsistent from the following methods: >From Explorer: 1) Right-Click->Open with->python.exe 2) Right-Click->Open (assuming python.exe being the "default" application) 3) Right-Cli

[issue26866] Inconsistent environment in Windows using "Open With"

2016-04-26 Thread Tom Middleton
Tom Middleton added the comment: That is interesting, in my use #3 seems to work. I am not certain if it matters whether the default application is already selected as python.exe or not. FWIW I'm on Windows 7 64 bit using 2.7.11 release install. **Full Disclosure** I did muck in the reg

[issue26866] Inconsistent environment in Windows using "Open With"

2016-04-27 Thread Tom Middleton
Tom Middleton added the comment: I agree with your assessment Steve. I don't see there being a good fix to this. I also think it would be a bad idea to have the launcher change the current working directory. Example: c:\foo\> python d:\scripts\bar.py myfile (where myfile is in c:\

[issue21114] wsgiref.simple_server doesn't handle multi-line headers correctly

2015-04-05 Thread Tom Tanner
Tom Tanner added the comment: Any chance to get this into 2.7.10? -- ___ Python tracker <http://bugs.python.org/issue21114> ___ ___ Python-bugs-list mailin

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2015-04-05 Thread Tom Tanner
Tom Tanner added the comment: Are you going to merge it into 2.7.10? -- ___ Python tracker <http://bugs.python.org/issue21718> ___ ___ Python-bugs-list mailin

[issue10685] trace does not ignore --ignore-module

2015-05-18 Thread Tom Hines
Tom Hines added the comment: Done. On Sun, May 17, 2015 at 8:42 PM, Terry J. Reedy wrote: > > Terry J. Reedy added the comment: > > Tom, please sign the PSF Contributor Agreement > https://www.python.org/psf/contrib/ > https://www.python.org/psf/co

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2015-05-23 Thread Tom Tanner
Tom Tanner added the comment: is this going to be fixed in 2.7.10? -- ___ Python tracker <http://bugs.python.org/issue21718> ___ ___ Python-bugs-list mailin

[issue21114] wsgiref.simple_server doesn't handle multi-line headers correctly

2015-05-23 Thread Tom Tanner
Tom Tanner added the comment: The patch is waiting for inclusion in 2.7.10 :/ -- ___ Python tracker <http://bugs.python.org/issue21114> ___ ___ Python-bugs-list m

[issue27926] ctypes is too slow to convert a Python list to a C array

2016-09-01 Thread Tom Cornebize
New submission from Tom Cornebize: It is much faster to construct a Python array from the list and then cast this array, rather than using the "standard" constructor. See attached file to compare the performances. This issue was previously asked on Stackoverflow: http://stackov

[issue27926] ctypes is too slow to convert a Python list to a C array

2016-09-01 Thread Tom Cornebize
Tom Cornebize added the comment: Thank you for these explanations. I understand that we get a generic function to the cost of performances. However, I think we should at least tell in the documentation that the constructor (ctypes.c_uint32 * len(t))(*t) is slow and that we can do much faster

[issue28094] Document behaviour of Process.join() in multiprocessing

2016-09-11 Thread Tom Clark
New submission from Tom Clark: #10673 indicated that the issue should be resolved by clarifying the documentation. The proposed patch is intended to do this. -- assignee: docs@python components: Documentation files: multiprocessing.patch keywords: patch messages: 275943 nosy: docs

[issue10673] multiprocess.Process join method - timeout indistinguishable from success

2016-09-11 Thread Tom Clark
Tom Clark added the comment: I've submitted a documentation patch with #28094. -- nosy: +tclark ___ Python tracker <http://bugs.python.org/issue10673> ___ ___

[issue28094] Document behaviour of Process.join() in multiprocessing

2016-09-11 Thread Tom Clark
Tom Clark added the comment: I thought that, since Issue <10673> refers to the library rather than the docs, it was better to create a seperate documentation issue. In other words, I probably overthought it. -- ___ Python tracker

[issue10673] multiprocess.Process join method - timeout indistinguishable from success

2016-09-11 Thread Tom Clark
Tom Clark added the comment: This patch is intended to document the behaviour of join(). (Originally submitted to #28094) -- Added file: http://bugs.python.org/file44586/multiprocessing.patch ___ Python tracker <http://bugs.python.org/issue10

[issue1043134] Add preferred extensions for MIME types

2016-09-20 Thread Tom Christie
Tom Christie added the comment: Confirming that I've also bumped into this for Python 3.5. A docs update would seem to be the lowest-cost option to start with. Right now `mimetypes.guess_extension()` isn't terribly useful, and it'd be better to at least know that upfront.

[issue32058] Faulty behaviour in email.utils.parseaddr if square brackets in subject

2017-11-17 Thread tom de wulf
New submission from tom de wulf : Probably a parsing bug in email.utils.parseaddr. How to recreate: >>> import email.utils >>> test = 'Subject: I am a bug [Random]\r\nFrom: someone >>> \r\n\r\n' >>> email.utils.parseaddr(test) ('', 

[issue32058] Faulty behaviour in email.utils.parseaddr if square brackets in subject

2017-11-17 Thread tom de wulf
tom de wulf added the comment: I do get this data from an IMAP fetch statement, see my code below: rv, data = imap.fetch(num, "(BODY[HEADER.FIELDS (FROM SUBJECT)])") if rv != 'OK': logging.error("Error getting message sender and subjec

[issue18100] socket.sendall() cannot send buffers of 2GB or more

2013-05-30 Thread Tom van Leeuwen
New submission from Tom van Leeuwen: When using socket.sendall() to send a buffer of 2GB or more (for example, numpy.zeros(2*GB, dtype=numpy.uint8) ), it doesn't send anything at all. In socketmodule.c, socket.sendall() sock_sendall uses an int for len, while this should be a Py_ss

<    1   2   3   4   5