[issue10169] socket.sendto raises incorrect exception when passed incorrect types

2010-10-21 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +pitrou versions: +Python 3.1 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue6878] changed return type from tkinter.Canvas.coords

2010-10-21 Thread Éric Araujo
Éric Araujo added the comment: Looks good. Would look better with tests, and even slightly better with consistent indentation :) -- ___ Python tracker ___ _

[issue9877] Expose sysconfig._get_makefile_filename() in public API

2010-10-21 Thread Éric Araujo
Éric Araujo added the comment: Committed in distutils2/_backport/sysconfig.py as [4ef3e9e41c10]. I’ll push this week-end. -- components: +Distutils2 status: pending -> closed versions: +3rd party ___ Python tracker

[issue10147] Python Documentation bugs

2010-10-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Éric Araujo wrote: > > Éric Araujo added the comment: > > Adjectives require hyphens but nouns do not. “thread-safety” should be > reverted to “thread safety”. I haven’t searched for a grammar reference, but > you can take Wikipedia as an example: “Th

[issue6011] python doesn't build if prefix contains non-ascii characters

2010-10-21 Thread Éric Araujo
Éric Araujo added the comment: I think it is: $ pwd /tmp/éric $ LC_ALL=C ./python Fatal Python error: Py_Initialize: Unable to get the locale encoding SystemError: NULL result without error in PyObject_Call Abandon -- ___ Python tracker

[issue10126] test_distutils failure with --enable-shared

2010-10-21 Thread Éric Araujo
Éric Araujo added the comment: Applied on py3k in r85784. I had no bug with 3.1, so I left things alone. -- ___ Python tracker ___ _

[issue10126] test_distutils failure with --enable-shared

2010-10-21 Thread Éric Araujo
Éric Araujo added the comment: That was actually r85786. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue10126] test_distutils failure with --enable-shared

2010-10-21 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Pyth

[issue10156] Memory leak (r70459)

2010-10-21 Thread Stefan Krah
Stefan Krah added the comment: Re disabling interning in PyDict_SetItemString: A comment in unicodeobject.c says that globals should not be used before calling _PyUnicode_Init. But in Py_InitializeEx (pythonrun.c) _PyUnicode_Init is called after _Py_ReadyTypes, _PyFrame_Init, _PyLong_Init, PyBy

[issue10149] Data truncation in expat parser

2010-10-21 Thread Maciek J
Maciek J added the comment: I'm not familiar with the rst format, but I hope this works. -- keywords: +patch Added file: http://bugs.python.org/file19329/pyexpat.rst.patch ___ Python tracker __

[issue9167] argv double encoding on OSX

2010-10-21 Thread R. David Murray
R. David Murray added the comment: rdmur...@buddy:~/python/py3k>uname -a Darwin buddy.home.bitdance.com 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386 rdmur...@buddy:~/python/release31-maint>LC_ALL="C" ./python.exe Python 3.1.2 (releas

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-21 Thread Rafe Kettler
New submission from Rafe Kettler : Some of the dialogs in Tkinter don't correctly show buttons in newer versions of Windows (XP, Vista, 7). Instead, they use square Win2000-and-before-type buttons. Here's some Python 2.7 code that illustrates this: import tkMessageBox tkMessageBox.showinfo()

[issue10164] Add an assertBytesMultiLineEqual to unittest and use it for bytes assertEqual

2010-10-21 Thread R. David Murray
R. David Murray added the comment: After talking with Michael on #python-dev, I've revised the patch to make it a real assertBytesEqual method rather than a pretend-the-bytes-are-strings method. This version allows the byte strings to be split on an arbitrary byte string, which makes it more

[issue10093] Warn when files are not explicitly closed

2010-10-21 Thread Brett Cannon
Brett Cannon added the comment: After thinking about what warning to go with, I take back my python-dev suggestion of ResourceWarning and switch to DebugWarning. It is in fact harder to add in DebugWarning as a superclass to ResourceWarning than the other way around, especially once people st

[issue9291] mimetypes initialization fails on Windows because of non-Latin characters in registry

2010-10-21 Thread Vladimir Iofik
Vladimir Iofik added the comment: Here is a better patch. -- nosy: +vj Added file: http://bugs.python.org/file19332/9291a.patch ___ Python tracker ___ ___

[issue10166] maximum recursion depth exceeded in lib\pstats.py

2010-10-21 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r85787. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue9291] mimetypes initialization fails on Windows because of non-Latin characters in registry

2010-10-21 Thread Vladimir Iofik
Vladimir Iofik added the comment: UnicodeDecodeException is thrown because 'ctype' is already a string, so it is first implicitly decoded by default encoder (which is 'ascii') and then reencoded back. I see no reason in all these actions, so I simply removed them. I think Antoine Pitrou (who

<    1   2