[issue7503] multiprocessing AuthenticationError "digest sent was rejected" when pickling proxy

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

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

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

[issue7564] test_ioctl fails sometimes

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

[issue7540] urllib2 request does not update content length after new add_data

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

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

2009-12-24 Thread Nick Coghlan
Nick Coghlan added the comment: The patch however does not look correct - the import should be added as a global import at the beginning of affected files rather than inline with each callable check. -- ___ Python tracker

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

2009-12-24 Thread Nick Coghlan
Nick Coghlan added the comment: Just confirming that 2.x also correctly ignores instance attributes (as it should, since it looks at the tp_call slot): >>> odd = Spam() >>> odd.__call__ = lambda: 'very odd' >>> callable(odd) False -- ___ Python trac

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

2009-12-24 Thread Nick Coghlan
Nick Coghlan added the comment: That isn't a semantic change, it is exactly the same semantics as callable() in 2.x: >>> class Spam(object): ... def __call__(self): pass ... >>> callable(Spam()) True >>> del Spam.__call__ >>> callable(Spam()) False -- ___

[issue7574] PyUnicode_FromFormat broken and not documented for 2.x

2009-12-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Unicode nosy: +ezio.melotti priority: -> normal ___ Python tracker ___ ___ Python-bugs-list

[issue7514] doc: documentation for "sys.flags" is obsolete.

2009-12-24 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed in r77050 (trunk), r77051 (release26-maint), r77052 (py3k), r77053 (release31-maint). Thanks for the report and the patch! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 2.6 _

[issue7514] doc: documentation for "sys.flags" is obsolete.

2009-12-24 Thread Ezio Melotti
Ezio Melotti added the comment: There are a couple of options missing from the trunk doc too (no_user_site and bytes_warning). I'll fix both. -- assignee: georg.brandl -> ezio.melotti nosy: +ezio.melotti versions: +Python 2.7 ___ Python tracker

[issue7569] ctypes doc improvement: c_char_p

2009-12-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +theller priority: -> normal versions: -3rd party, Python 2.5 ___ Python tracker ___ ___ Python-bu

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-12-24 Thread Craig McQueen
Craig McQueen added the comment: Eric (keldonin), please consider attaching the file (solution you mentioned) to this issue for the benefit of the rest of us. I'm interested to see it. -- ___ Python tracker ___

[issue7572] Strabge issue : cursor.commit() with sqlite

2009-12-24 Thread Gerhard Häring
Gerhard Häring added the comment: Please change your test case so that it works with an in-memory database ":memory:". Then you'll also need to include a schema creation command "create table", which is missing here. Please also state which behaviour you see and which one you expect. Best is to

[issue3132] implement PEP 3118 struct changes

2009-12-24 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue6108] unicode(exception) and str(exception) should return the same message on Py2.6

2009-12-24 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed in r77045 (trunk) and r77046 (release26-maint). No need to port it to py3k since unicode() is gone. -- keywords: -needs review resolution: accepted -> fixed stage: commit review -> committed/rejected status: open -> closed

[issue7561] PyByteArray_AS_STRING used unsafely

2009-12-24 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

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

2009-12-24 Thread Joe Amenta
Joe Amenta added the comment: One such weird corner case: from collections import Callable class Spam(object): def __call__(self): return self can_of_spam = Spam() print callable(can_of_spam) == isinstance(can_of_spam, Callable) # True del Spam.__call__ can_of_spam.__call__ = lambda c

[issue7575] tes_math fails Mac OS X 10.4 due to OverflowError in test_mtestfile

2009-12-24 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a patch (against trunk). -- keywords: +patch Added file: http://bugs.python.org/file15670/issue7575.patch ___ Python tracker ___

[issue7575] tes_math fails Mac OS X 10.4 due to OverflowError in test_mtestfile

2009-12-24 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for that. I'd call that pretty broken then: the result of expm1(709.78) is effectively wrong by 24.4 trillion ulps (perhaps that should be 24.4 teraulps?). I guess someone just coded a hard cutoff value somewhere between 709.7 and 709.78. But since

[issue7575] tes_math fails Mac OS X 10.4 due to OverflowError in test_mtestfile

2009-12-24 Thread Salman Haq
Salman Haq added the comment: Only the argument with one decimal place precision does NOT overflow. Python 2.7a1+ (trunk:76872, Dec 21 2009, 09:54:29) [GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from math im

[issue7575] tes_math fails Mac OS X 10.4 due to OverflowError in test_mtestfile

2009-12-24 Thread Mark Dickinson
Mark Dickinson added the comment: Salman Haq, could you find out roughly where expm1 starts overflowing on your machine? E.g., do all of the following overflow for you? >>> from math import expm1 >>> expm1(709.78271289338397) 1.7976931348622732e+308 >>> expm1(709.782712893) 1.797693134172102e

[issue7575] tes_math fails Mac OS X 10.4 due to OverflowError in test_mtestfile

2009-12-24 Thread Mark Dickinson
Mark Dickinson added the comment: This seems to be specific to OS X/Intel: I'm not seeing any failure on my ancient iBook G4 (OS X 10.4.11). -- ___ Python tracker ___ _

[issue4388] test_cmd_line fails on MacOS X

2009-12-24 Thread Salman Haq
Salman Haq added the comment: Confirming that the test fails on r77044. Tested on Mac OS X 10.4.11 (Intel). running build_scripts test_cmd_line test_directories (test.test_cmd_line.CmdLineTest) ... ok test_large_PYTHONPATH (test.test_cmd_line.CmdLineTest) ... ok test_optimize (test.test_cmd_l

[issue7526] tkinter menubutton underline behaviour varies between tkinter * and tkinter.ttk *

2009-12-24 Thread Guilherme Polo
Guilherme Polo added the comment: I get the same behavior while using ttk in wish8.5, so this is not related to the ttk.py module. But, after looking this sample you posted, it looks like you want something like this instead: from tkinter import Tk, Menu root = Tk() menu = Menu() root['menu

[issue7575] tes_math fails Mac OS X 10.4 due to OverflowError in test_mtestfile

2009-12-24 Thread Mark Dickinson
Changes by Mark Dickinson : -- versions: +Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue7568] Spelling error in imaplib module docs

2009-12-24 Thread Mark Dickinson
Changes by Mark Dickinson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue7568] Spelling error in imaplib module docs

2009-12-24 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for the report! Fixed in revisions r77041 through r77044. -- nosy: +mark.dickinson ___ Python tracker ___ __

[issue7575] tes_math fails Mac OS X 10.4 due to OverflowError in test_mtestfile

2009-12-24 Thread Mark Dickinson
Mark Dickinson added the comment: Salman Haq also reported (on IRC) that the configure output shows: checking for expm1... yes so this appears to be a problem with the platform's implementation of expm1, rather than with Python's expm1 code (which is only used when the platform version isn't

[issue7575] tes_math fails Mac OS X 10.4 due to OverflowError in test_mtestfile

2009-12-24 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: -> mark.dickinson nosy: +mark.dickinson priority: -> normal type: performance -> behavior ___ Python tracker ___ ___

[issue3363] python version incorrectly reported in crash reports on Mac OS X 10.4.11 PPC

2009-12-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is no longer an issue: the Info.plist is now initialized by the build process and includes the correct version number. At the time the bug was files the plist needed to be updated manually and that didn't always happen (or rather, more often than not it

[issue7575] tes_math fails Mac OS X 10.4 due to OverflowError in test_mtestfile

2009-12-24 Thread Salman Haq
New submission from Salman Haq : See output of regrtest below. It was run on an Intel Mac OS X 10.4 A similar failure is observed on the py3k branch. ./python.exe Lib/test/regrtest.py -v test_math test_math testAcos (test.test_math.MathTests) ... ok testAcosh (test.test_math.MathTests) ... ok

[issue7572] Strabge issue : cursor.commit() with sqlite

2009-12-24 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> ghaering nosy: +ghaering ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue7571] Change 'name' of Process - assertion failure if Unicode

2009-12-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: Done in r77038. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue7541] python-config --ldflags doesn't pick up libpython2.5.a

2009-12-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixed in r77033 (trunk), r77034 (2.6), r77035 (py3k), r77036 (3.1) Development on the 2.5 tree is closed, I will therefore not backport to 2.5. As a workaround you can add -Wl,-search_paths_first to the linker flags to ensure that the libpython.a in the fra

[issue6834] use different mechanism for pythonw on osx

2009-12-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've committed the completed patch as r77031 (trunk) and r77032 (py3k) I will not backport to 2.6 and 3.1 because this is not a bugfix. -- resolution: -> accepted stage: needs patch -> committed/rejected status: open -> closed __

[issue7573] Python build issue on Ubuntu 9.10

2009-12-24 Thread instigate_team
instigate_team added the comment: Yes, We have no warnings after changing the include sequence. -- ___ Python tracker ___ ___ Python-b

[issue7573] Python build issue on Ubuntu 9.10

2009-12-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: If you do reorder the include statements, will then the warning go away? -- nosy: +loewis ___ Python tracker ___ __

[issue7418] hashlib : the names of the different hash algorithms

2009-12-24 Thread Carl Chenet
Carl Chenet added the comment: Hi, Maybe you have some ideas on this patch? I think it could be a nice feature e.g in my app I need to support every hash algorithms available so with optparse module it is possible to write something like : for __hashtype in ('md5', 'sha1', 'sha224','s

[issue7574] PyUnicode_FromFormat broken and not documented for 2.x

2009-12-24 Thread Ronald Oussoren
New submission from Ronald Oussoren : Include/unicodeobject.h includes prototypes for PyUnicode_FromFormat and PyUnicode_FromFormatV in both 2.6 and 2.7, but those functions are not included in the documention. And worse, the implementation contains bugs: the %R format code tries to include t

[issue7573] Python build issue on Ubuntu 9.10

2009-12-24 Thread instigate_team
New submission from instigate_team : Hello Python development team! We encountered problem concerning Python 3.1 usage. Platform info: Ubuntu 9.10 32/64bit, glibc v. 2.10.1, gcc v. 4.4.0, Python 3.1. Problem description: Below is given the C++ program text causing the warning: #inc

[issue7572] Strabge issue : cursor.commit() with sqlite

2009-12-24 Thread lakshmipathi
New submission from lakshmipathi : Hi all, I'm new user to python and sqlite, let me know if i'm wrong or it's sqlite issue.When I uncomment the line from below program it works -as expected. But even when it's commented It works for first time.-As per doc,without commit -all changes will be lost

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-12-24 Thread Daniel
Daniel added the comment: Thank you :) Daniel. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.