[issue7519] ConfigParser can't read files with BOM markers

2009-12-25 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- title: CompileParser can't read files with BOM markers -> ConfigParser can't read files with BOM markers ___ Python tracker ___

[issue6710] hotshot stats load causes TypeError when multiple files are loaded

2009-12-25 Thread Ezio Melotti
Ezio Melotti added the comment: The change that causes this problem has been introduced in r60149 to fix #1269. -- nosy: +ezio.melotti, georg.brandl, therve priority: -> normal stage: -> test needed ___ Python tracker

[issue7006] The replacement suggested for callable(x) in py3k is not equivalent

2009-12-25 Thread Joe Amenta
Joe Amenta added the comment: To elaborate on my last comment: - touch_import looks for the required import binding in any scope, and it will add a global import if not found, otherwise it leaves it alone - the import added does not have a newline prefix, so if the newlines were left in, (wit

[issue7484] smtplib: verify breaks with Postfix servers

2009-12-25 Thread Pablo Mouzo
Changes by Pablo Mouzo : Added file: http://bugs.python.org/file15675/issue7484-py3k.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue7484] smtplib: verify breaks with Postfix servers

2009-12-25 Thread Pablo Mouzo
Pablo Mouzo added the comment: This patch solves the problem with the VRFY command, but I'm still wondering if this happens with other commands too. -- keywords: +patch nosy: +pablomouzo Added file: http://bugs.python.org/file15674/issue7484-trunk.diff

[issue7006] The replacement suggested for callable(x) in py3k is not equivalent

2009-12-25 Thread Joe Amenta
Joe Amenta added the comment: I believe that this patch works like you described... Attached a patch with more test cases to show this. (the [1:] parts are to make the test cases readable; they will still pass if all the leading newlines are removed from the triple-quoted strings and all [1:

[issue7006] The replacement suggested for callable(x) in py3k is not equivalent

2009-12-25 Thread Nick Coghlan
Nick Coghlan added the comment: Ah yes, I misread the example. Agreed that that is a change in behaviour then - it is possible to clear the caches if absolutely necessary, but doing so isn't particularly portable. -- ___ Python tracker

[issue7576] Avoid warnings in PyModuleDef_HEAD_INIT

2009-12-25 Thread Ronald Oussoren
New submission from Ronald Oussoren : When running GCC with warnings the compiler can warn about incomplete structure initializers. This gives spurious warnings when initializing a PyModuleDef structure using PyModuleDef_HEAD_INIT The attached patchs changes PyModuleDef_HEAD_INIT to explicitly

[issue7006] The replacement suggested for callable(x) in py3k is not equivalent

2009-12-25 Thread Trundle
Trundle added the comment: What Joe Amenta stumbled across is that ABCMeta caches its subclass checks. If you call ``isinstance(spam, Callable)`` and after that delete `type(spam).__call__`, every other call of ``isinstance(spam, Callable)`` will still return True. -- __

[issue7481] Failing to start a thread leaves "zombie" thread in "initial" state

2009-12-25 Thread Nir Aides
Changes by Nir Aides : -- nosy: +nirai ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/ma