[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

[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: Here is a better patch. -- nosy: +vj Added file: http://bugs.python.org/file19332/9291a.patch ___ Python tracker ___ ___

[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

[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

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

[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

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

[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

[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

[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
Éric Araujo added the comment: Applied on py3k in r85784. I had no bug with 3.1, so I left things alone. -- ___ Python tracker ___ _

[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

[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

[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

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

[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

[issue10147] Python Documentation bugs

2010-10-21 Thread Éric Araujo
É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: “Thread safety is a computer programming concept applicable in the context

[issue4359] at runtime, distutils uses buildtime files

2010-10-21 Thread Éric Araujo
Éric Araujo added the comment: ... and #9807 spawned #9878. -- superseder: deriving configuration information for different builds with the same prefix -> Avoid parsing pyconfig.h and Makefile by autogenerating extension module ___ Python tracker

[issue9807] deriving configuration information for different builds with the same prefix

2010-10-21 Thread Éric Araujo
Éric Araujo added the comment: FTR, the ld bug with --enable-shared is tracked in #10126. -- ___ Python tracker ___ ___ Python-bugs-li

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-10-21 Thread David Watson
David Watson added the comment: > On other platforms, I guess we'll just have to do some trial > and error to see what works and what not. E.g. on Linux it is > possible to set the hostname to a non-ASCII value, but then > the resolver returns an error, so it's not very practical: > > # hostnam

[issue10060] python.exe crashes or hangs on help() modules when bad modules found

2010-10-21 Thread Éric Araujo
Éric Araujo added the comment: There are half a dozen duplicate bugs of this one, with various suggestions on each. They should be summed up and linked. I should be able to do it this week-end if no-one does it first. -- nosy: +eric.araujo ___ Py

[issue10126] test_distutils failure with --enable-shared

2010-10-21 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Fixed in 2.7 by r85784 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue10126] test_distutils failure with --enable-shared

2010-10-21 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: It's possible the proposed patch for 2.7 should be used in python 3 also. Or as __ap__ suggestions in irc, os.path.dirname(sys.executable) -- Added file: http://bugs.python.org/file19328/10126-py27.txt ___ Python

[issue10076] Regex objects became uncopyable in 2.5

2010-10-21 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue10149] Data truncation in expat parser

2010-10-21 Thread Éric Araujo
Éric Araujo added the comment: Would you like to turn your suggestions (+ hinting at buffer_text someplace) into a patch for Doc/library/pyexpat.rst? -- nosy: +eric.araujo ___ Python tracker _

[issue10143] Update "os.pathconf" values

2010-10-21 Thread Éric Araujo
Éric Araujo added the comment: Can you produce a patch? -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue5639] Support TLS SNI extension in ssl module

2010-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch for py3k, including http.client and urllib support. -- Added file: http://bugs.python.org/file19327/sni.patch ___ Python tracker ___

[issue10126] test_distutils failure with --enable-shared

2010-10-21 Thread Éric Araujo
Éric Araujo added the comment: The backport fixed test_build_ext (the method) but not test_get_outputs. Barry and I are on it. -- resolution: fixed -> stage: committed/rejected -> ___ Python tracker __

[issue10167] ESET Trojan Alert [python-3.1.2.amd64 ON Win7-64]

2010-10-21 Thread Alexander Collins
Alexander Collins added the comment: I'll attempt to contact my anti-virus provider and see what they have to say about that. -- ___ Python tracker ___

[issue7061] Improve 24.5. turtle doc

2010-10-21 Thread Éric Araujo
Éric Araujo added the comment: Agreed that Program Frameworks is the most adequate section. For the backport, I don’t see that turtle should have different rules than other modules, but I’m not firmly attached to this, so do as you wish. -- ___ Pyt

[issue7061] Improve 24.5. turtle doc

2010-10-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Thu, Oct 21, 2010 at 3:00 PM, Éric Araujo wrote: .. > +1. [remove reference to Tk from title] > If we do that, I think we should move turtle documentation out of the "Graphical User Interfaces with Tk" chapter. It would be more appropriate to place it

[issue4117] missing update() in _Screen.setup() of Lib/turtle.py

2010-10-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: See also "turtle.py update for 3.1" post on python-dev specifically mentioning this bug as fixed. http://mail.python.org/pipermail/python-dev/2009-May/089383.html -- status: pending -> closed ___ Python track

[issue10170] Relationship between turtle speed setting and actual speed is not documented

2010-10-21 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : As Terry J. Reedy mentioned in his comment on issue 7061, turtle documentation is lacking information on how speed "codes" 0-10 translate into actual turtle speed. Attached script measures the speed of the two primitive operations that form the basis

[issue10157] Memory leak (r70152)

2010-10-21 Thread Stefan Krah
Stefan Krah added the comment: Hirokazu, the patch looks good to me. Unfortunately Valgrind still reports the leak. -- ___ Python tracker ___ ___

[issue10153] Memory leak in pythonrun.c

2010-10-21 Thread Stefan Krah
Stefan Krah added the comment: There is actually a second refleak of the same kind. New patch attached. -- Added file: http://bugs.python.org/file19326/pythonrun2.patch ___ Python tracker _

[issue10153] Memory leak in pythonrun.c

2010-10-21 Thread Stefan Krah
Changes by Stefan Krah : Removed file: http://bugs.python.org/file19294/pythonrun.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue10167] ESET Trojan Alert [python-3.1.2.amd64 ON Win7-64]

2010-10-21 Thread Brian Curtin
Brian Curtin added the comment: I'm not really sure if there's anything we can or should do here. Martin, has this happened before, and if so is there anything to be done by us? -- nosy: +loewis ___ Python tracker

[issue7061] Improve 24.5. turtle doc

2010-10-21 Thread Éric Araujo
Éric Araujo added the comment: +1. BTW, aren’t the fixes relevant for 2.7 too? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue7061] Improve 24.5. turtle doc

2010-10-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I also wonder if the title should be changed from "Turtle graphics for Tk" to simply "Turtle graphics". As explained in issue3884, msg73465 turtle's use of Tk is an implementation detail and the title may be confusing to the target audience. Presumabl

[issue10126] test_distutils failure with --enable-shared

2010-10-21 Thread Éric Araujo
Éric Araujo added the comment: Done in r85779 and r85780, please test. -- components: +Distutils nosy: +Canfield, matejcik, sandro.tosi, valeo resolution: -> fixed stage: needs patch -> committed/rejected versions: +Python 3.2 ___ Python tracker

[issue7061] Improve 24.5. turtle doc

2010-10-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Thu, Oct 21, 2010 at 2:12 PM, Alexander Belopolsky wrote: > The hyphen fix, however seems easier to commit than to > remember.   I'll do it now. > Committed in r85778. -- ___ Python tracker

[issue7061] Improve 24.5. turtle doc

2010-10-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Thu, Oct 21, 2010 at 2:03 PM, Éric Araujo wrote: .. > Having more hyphens than title characters is not an error for reST, but it’s > not done in the rest of the document. >  I suggest “fixing” that when you do further changes in the file (it’s not >

[issue10126] test_distutils failure with --enable-shared

2010-10-21 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Hi Éric, what's the status on the backport? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue5017] import suds help( suds ) fails

2010-10-21 Thread Andreas Stührk
Changes by Andreas Stührk : -- nosy: +Trundle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue7061] Improve 24.5. turtle doc

2010-10-21 Thread Éric Araujo
Éric Araujo added the comment: >From your commit: -Excursus about the use of compound shapes +Compound shapes - Having more hyphens than title characters is not an error for reST, but it’s not done in the rest of the document. I suggest “fixing” that w

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

2010-10-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Attached patch fixes other uses of map() in tkinter. -- Added file: http://bugs.python.org/file19325/issue6878.diff ___ Python tracker ___

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

2010-10-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Searching through tkinter for map() calls reveals many other places where map object is returned instead of a list. For example: def keys(self): """Return a list of all resource names of this widget.""" return map(lambda x: x[0][1:],

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

2010-10-21 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +belopolsky versions: +Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue10168] tkinter.Canvas.coords should return a list, not a map

2010-10-21 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> duplicate stage: unit test needed -> committed/rejected status: open -> closed superseder: -> changed return type from tkinter.Canvas.coords ___ Python tracker _

[issue8999] Add Mercurial support to patchcheck

2010-10-21 Thread Éric Araujo
Éric Araujo added the comment: Great, thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

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

2010-10-21 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : >>> s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) >>> s.bind(('', 0)) >>> s.sendto(u'hellé', s.getsockname()) Traceback (most recent call last): File "", line 1, in TypeError: sendto() takes exactly 3 arguments (2 given) >>> s.sendto(3, s.getsoc

[issue10153] Memory leak in pythonrun.c

2010-10-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue3356] some tests fail with 'make EXTRA_CFLAGS="-DPy_DEBUG"' (test_distutils, test_set)

2010-10-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2010-10-21 Thread R. David Murray
R. David Murray added the comment: See also issue 5120. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue5120] Disabling test_ttk_guionly on mac

2010-10-21 Thread R. David Murray
R. David Murray added the comment: Presumably this is the same issue 8716. That issue contains additional details and a patch from Ronald, so I'm not closing it as a duplicate. I don't know if the patch on this issue would actually address the issue. I tried to apply it to py3k but it did

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2010-10-21 Thread R. David Murray
R. David Murray added the comment: Only OSX 10.4.0 I can run test_tk: rdmur...@buddy:~/python/py3k>./python.exe -m test.regrtest -uall test_tk [1/1] test_tk Thu Oct 21 12:41:16 buddy.home.bitdance.com python.exe[93560] : kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catc

[issue10168] tkinter.Canvas.coords should return a list, not a map

2010-10-21 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Apparently a 2.x to 3.x migration artifact. Canvas.coords() is documented as returning a list: def coords(self, *args): """Return a list of coordinates for the item given in ARGS.""" but in 3.x it returns a map object. Attached patch fix

[issue10167] ESET Trojan Alert [python-3.1.2.amd64 ON Win7-64]

2010-10-21 Thread Alexander Collins
Alexander Collins added the comment: Checksum matches. I am not sure why did it detect that. The AV report: ( I shoulda posted that earlier -_-') //- Report starts ... 10/21/2010 11:54:12 AM Real-time file system protection file C:\Windows\Installer\{D40AF016-506C-43FB-A738-BD54

[issue10167] ESET Trojan Alert [python-3.1.2.amd64 ON Win7-64]

2010-10-21 Thread Brian Curtin
Brian Curtin added the comment: I just ran that installer on Windows 7 x64 with Sophos AV and got no such warning. FWIW, the checksum of the downloaded installer matched the one listed on http://www.python.org/download/releases/3.1.2/ -- components: +Windows nosy: +brian.curtin

[issue10167] ESET Trojan Alert [python-3.1.2.amd64 ON Win7-64]

2010-10-21 Thread Brian Curtin
Changes by Brian Curtin : -- title: ESET Torgan Alert [python-3.1.2.amd64 ON Win7-64] -> ESET Trojan Alert [python-3.1.2.amd64 ON Win7-64] ___ Python tracker ___ ___

[issue10167] ESET Torgan Alert [python-3.1.2.amd64 ON Win7-64]

2010-10-21 Thread Alexander Collins
New submission from Alexander Collins : While trying to install 3.1.2 on my windows 7. I was faced with a Trojan alert from my ESET "NOD32" anti-virus. The link to the file: http://www.python.org/ftp/python/3.1.2/python-3.1.2.amd64.msi A snapshot is attached. Windows 7 x64 ESET Smart Securi

[issue2193] Cookie Colon Name Bug

2010-10-21 Thread And Clover
And Clover added the comment: The various attempts by RFCs to codify HTTP cookies are useless and bear no resemblance to what browsers actually do. In the real world, every byte in the range 0x20-0x7E is allowed, except for the semicolon, the equals (in names), and in Opera, in some places, t

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

2010-10-21 Thread Adam Bielański
New submission from Adam Bielański : There's a bug in module lib\pstats.py, line 150. Let me paste a little piece of surrounding code: class Stats: () def add(self, *arg_list): if not arg_list: return self if len(arg_list) > 1: self.add(*arg_list[1

[issue10165] char overwrite mode is by default on in Python console under Vista

2010-10-21 Thread Tim Golden
Agree that it's not really up to us; and that it's trivial to change once for all future python processes. As to the left-click blocking, I think that's "Quick Edit" mode you're thinking of, not "Insert" TJG ___ Python-bugs-list mailing list Unsubsc

[issue10165] char overwrite mode is by default on in Python console under Vista

2010-10-21 Thread anatoly techtonik
anatoly techtonik added the comment: You must have been mistaken this for QuickEdit mode. -- ___ Python tracker ___ ___ Python-bugs-l

[issue10154] locale.normalize strips "-" from UTF-8, which fails on Mac

2010-10-21 Thread Georg Brandl
Georg Brandl added the comment: If other Posix-y systems accept both spellings and only Macs insist on the dash, we should probably indeed change the alias entry to use it. -- nosy: +georg.brandl ___ Python tracker

[issue10165] char overwrite mode is by default on in Python console under Vista

2010-10-21 Thread Brian Curtin
Brian Curtin added the comment: "will block until you left click" should be... "will block until you right click (or hit enter)" -- ___ Python tracker ___ __

[issue10165] char overwrite mode is by default on in Python console under Vista

2010-10-21 Thread Brian Curtin
Brian Curtin added the comment: I'm not sure if it's possible, but even if so, I don't think we should do it. For cmd.exe itself and all processes that run in it, the default is to have it off, and you can enable it on a case-by-case basis. Insert mode really should only be enabled by those w

[issue10162] mimetypes read_windows_registry should tolerate permissions errors

2010-10-21 Thread Brian Curtin
Brian Curtin added the comment: Fixed in py3k (r85774, minor correction in r85775), and release27-maint (r85776). Thanks for the patches! -- assignee: -> brian.curtin resolution: -> fixed stage: -> committed/rejected status: open -> closed type: feature request -> behavior ___

[issue10157] Memory leak (r70152)

2010-10-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Hello. Does this patch fix the problem? -- keywords: +patch nosy: +ocean-city Added file: http://bugs.python.org/file19321/py3k_issue10157.patch ___ Python tracker

[issue10165] char overwrite mode is by default on in Python console under Vista

2010-10-21 Thread anatoly techtonik
anatoly techtonik added the comment: >> I wonder if the setting comes disabled by default? > > Correct. Can we turn it on by default in Windows installer? -- ___ Python tracker ___

[issue10165] char overwrite mode is by default on in Python console under Vista

2010-10-21 Thread Brian Curtin
Brian Curtin added the comment: > I wonder if the setting comes disabled by default? Correct. -- ___ Python tracker ___ ___ Python-b

[issue10165] char overwrite mode is by default on in Python console under Vista

2010-10-21 Thread anatoly techtonik
anatoly techtonik added the comment: I don't have pyreadline installed. But I had Insert Mode disabled for Python, indeed. I wonder if the setting comes disabled by default? -- ___ Python tracker ___

[issue10154] locale.normalize strips "-" from UTF-8, which fails on Mac

2010-10-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Stephen Hansen wrote: > > Stephen Hansen added the comment: > > Mark, the locals() right before "if encoding:" (line 399) are: > locale.normalize("en_US.UTF-8") > {'code': 'en_US.ISO8859-1', 'langname': 'en_US', 'encoding': 'UTF8', > 'norm_encoding

[issue10163] 7/200 and 7%200 show weird results

2010-10-21 Thread Georg Brandl
Georg Brandl added the comment: The bug title interestingly says "7%200", which does result in 7. I therefore think the OP just confused the order of operands for "%". -- resolution: -> invalid status: open -> closed ___ Python tracker

[issue10163] 7/200 and 7%200 show weird results

2010-10-21 Thread Mark Dickinson
Mark Dickinson added the comment: Seconding Eric's comment. This is what I get on my machine; can you cut and paste the equivalent output on yours (including whatever else is required to reproduce the results you describe) Python 2.6.1 (r261:67515, Feb 11 2010, 15:47:53) [GCC 4.2.1 (Apple

[issue10154] locale.normalize strips "-" from UTF-8, which fails on Mac

2010-10-21 Thread Stephen Hansen
Stephen Hansen added the comment: Mark, the locals() right before "if encoding:" (line 399) are: >>> locale.normalize("en_US.UTF-8") {'code': 'en_US.ISO8859-1', 'langname': 'en_US', 'encoding': 'UTF8', 'norm_encoding': 'utf_8', 'defenc': 'ISO8859-1', 'localename': 'en_US.UTF-8', 'lookup_name'

[issue10165] char overwrite mode is by default on in Python console under Vista

2010-10-21 Thread Tim Golden
Tim Golden added the comment: If you don't often use the console, then I expect your console settings have Insert mode off. (Alt-Space > Properties > Options > Insert Mode [x]) -- nosy: +tim.golden ___ Python tracker

[issue5218] Check for tp_iter in ceval:ext_do_call before overriding exception message

2010-10-21 Thread Georg Brandl
Georg Brandl added the comment: Is this ready to commit? -- assignee: -> pitrou nosy: +georg.brandl ___ Python tracker ___ ___ Python

[issue4829] confusing error for file("foo", "w++")

2010-10-21 Thread Georg Brandl
Georg Brandl added the comment: Amended error message in r85773. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue10089] Add support for arbitrary -X options

2010-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r85772. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue3486] bytes.join does not accept a sequence of bytearrays

2010-10-21 Thread Georg Brandl
Georg Brandl added the comment: py3k bytes won't be backported now. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___ Python tracker ___

[issue6088] Python3.0.1.1 is not available when system locale is zh_TW.eucTW

2010-10-21 Thread Georg Brandl
Georg Brandl added the comment: This is very probably resolved in 3.1 or 3.2, where lots of environment vs Unicode bugs were fixed. -- nosy: +georg.brandl status: open -> closed ___ Python tracker

[issue10165] char overwrite mode is by default on in Python console under Vista

2010-10-21 Thread Brian Curtin
Brian Curtin added the comment: This has nothing to do with Python. IIRC from another issue, you have pyreadline installed. Your cmd.exe settings may be conflicting with something that pyreadline is trying to do. -- nosy: +brian.curtin resolution: -> invalid stage: -> committed/rej

[issue1203650] Allow larger programs to be frozen under Win32

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

[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)

2010-10-21 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> d...@python components: +Documentation -Demos and Tools nosy: +d...@python ___ Python tracker ___ __

[issue10165] char overwrite mode is by default on in Python console under Vista

2010-10-21 Thread anatoly techtonik
New submission from anatoly techtonik : I never used Python console much, but now I see it has a very annoying behavior under Windows Vista. By default entered char overwrites the char under cursor. If you press Insert key once - it allows to insert key, but after you press enter - overwrite m

[issue9102] pybench: Cannot compare 2.x and 3.x benchmarks

2010-10-21 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue3077] h2py char literal doesn't work

2010-10-21 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r85770. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue1772721] [python-mode] Properly highlight lambda with no arguments

2010-10-21 Thread Georg Brandl
Georg Brandl added the comment: python-mode.el is not maintained in Python anymore. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed ___ Python tracker __

[issue6364] freeze tool broken in Python 3.x

2010-10-21 Thread Georg Brandl
Georg Brandl added the comment: An equivalent patch had already been committed in r83606. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker _

[issue9919] gdbinit lineno result is one line in excess

2010-10-21 Thread Georg Brandl
Georg Brandl added the comment: Patch looks good, committed in r85768. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue3964] quiet the freeze makefile

2010-10-21 Thread Georg Brandl
Georg Brandl added the comment: Closing as "works for me". -- resolution: -> works for me status: open -> closed ___ Python tracker ___ _

[issue9095] patchcheck should handle extraneous whitespace in .rst files

2010-10-21 Thread Georg Brandl
Georg Brandl added the comment: Now done in r85767. -- dependencies: -`make patchcheck` should check the whitespace of .c/.h files nosy: +georg.brandl status: open -> closed ___ Python tracker

[issue8999] Add Mercurial support to patchcheck

2010-10-21 Thread Georg Brandl
Georg Brandl added the comment: Applied in r85767. -- nosy: +georg.brandl resolution: -> accepted status: open -> closed ___ Python tracker ___ _

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

2010-10-21 Thread R. David Murray
New submission from R. David Murray : Just as with regular strings, when comparing failed output involving bytes strings it is really helpful to have a diff showing which bytes have changed. The attached patch adds an assertMultiLineEqual method to unittest and uses it for comparing bytes in

[issue5017] import suds help( suds ) fails

2010-10-21 Thread Georg Brandl
Changes by Georg Brandl : -- components: +Library (Lib) -Demos and Tools ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue10161] unittest: use ascii() instead of repr() to display values on error

2010-10-21 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue10163] 7/200 and 7%200 show weird results

2010-10-21 Thread Eric Smith
Eric Smith added the comment: Which version of python? Could you run this from the command line and paste the complete session, including the version info that python prints on startup? -- nosy: +eric.smith, mark.dickinson ___ Python tracker

  1   2   >