[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone

2009-03-13 Thread Mart Sõmermaa
Mart Sõmermaa added the comment: > Then why was this classified as a documentation issue? As the documentation section of http://docs.python.org/reference/datamodel.html#object.__lt__ needs to be updated as well to mark the eventual solution as the recommended easy way to provide total ordering

[issue5474] distutils produces invalid RPM packages of prerelease python packages

2009-03-13 Thread Rudd-O
Rudd-O added the comment: This patch autodetects dependencies based on the earlier patch and egg metadata, if setuptools is importable. -- Added file: http://bugs.python.org/file13314/python-2.4-distutils-bdist_rpm-autodeps.patch ___ Python tracker

[issue5236] time.strptime should reject bytes arguments on Py3

2009-03-13 Thread Tennessee Leeuwenburg
Changes by Tennessee Leeuwenburg : -- stage: test needed -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue4749] Issue with RotatingFileHandler logging handler on Windows

2009-03-13 Thread Neyro
Neyro added the comment: I have the same problem with a program I'm writing. The attached script is made using parts of it's code. The logger is set up using a configuration file. By the way, the error is: Traceback (most recent call last): File "C:\Python26\lib\logging\handlers.py", line 74

[issue5482] RFC: improve distutils bdist_rpm so it builds pure python modules as single packages that works across architectures

2009-03-13 Thread Rudd-O
New submission from Rudd-O : Hello, guys. I am looking for feedback on the topic which I am going to lay out. First, sys.path: --- # python2.4 >>> import sys >>> sys.path ['', '/home/rudd-o', '/usr/lib64/python24.zip', '/usr/lib64/python2.4', '/usr/lib64/python2.4/plat-linux2',

[issue5474] distutils produces invalid RPM packages of prerelease python packages

2009-03-13 Thread Rudd-O
Rudd-O added the comment: brown paper bug in the last lexic patch -- Added file: http://bugs.python.org/file13316/python-2.4-distutils-bdist_rpm-rpmversion-lexicalorder.patch ___ Python tracker ___

[issue5223] infinite recursion in PyErr_WriteUnraisable

2009-03-13 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: yes, let's add this change to the backport. -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue5483] [PATCH]Add FastDbfilenameShelf: shelf nerver sync cache even when writeback=True

2009-03-13 Thread Zhigang Wang
New submission from Zhigang Wang : shelf without writeback=True is too slow, while shelves with writeback=True takes too much time to close. And even worse, these codes can not run: $ cat test_shelve.py #!/usr/bin/env python import shelve store = shelve.open("/tmp/shelve.db", writeback=True)

[issue5483] [PATCH]Add FastDbfilenameShelf: shelf nerver sync cache even when writeback=True

2009-03-13 Thread Zhigang Wang
Zhigang Wang added the comment: Add some errata of the patch: add the new class to __all__. -- Added file: http://bugs.python.org/file13318/fast_shelf-v2.patch ___ Python tracker ___

[issue5484] subprocess.call() fails for .bat files on Windows, if executable path contains parenthesis

2009-03-13 Thread Erik Sandberg
New submission from Erik Sandberg : When subprocess.call is told to execute a .bat file on Windows, and the path to the batch file is given as an absolute path, and the path includes a left parenthesis ('('), then the call fails with a message similar to the following; it appears that the parenth

[issue5484] subprocess.call() fails for .bat files on Windows, if executable path contains parenthesis

2009-03-13 Thread Erik Sandberg
Erik Sandberg added the comment: I'm using Python 2.5.1, by the way. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue5484] subprocess.call() fails for .bat files on Windows, if executable path contains parenthesis

2009-03-13 Thread Erik Sandberg
Erik Sandberg added the comment: I have narrowed down the problem further: The same error happens with the following code: import win32process win32process.CreateProcess(None, 'f(o.bat', None, None, 1, 0, None, None, win32process.STARTUPINFO()) -- _

[issue5485] pyexpat has no unit tests for UseForeignDTD functionality

2009-03-13 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : Lacking unit tests for this (documented) functionality makes it harder for alternate Python runtimes to correctly provide it. Plus, if it's not tested, it might not work. I tried to write tests for the feature since I recently used it and thought it wou

[issue5484] subprocess.call() fails for .bat files on Windows, if executable path contains parenthesis

2009-03-13 Thread Erik Sandberg
Erik Sandberg added the comment: argh, it seems that the problem is in how CreateProcess works; exactly the same error can be provoked from C. -- Added file: http://bugs.python.org/file13321/parenbug.c ___ Python tracker

[issue5484] subprocess.call() fails for .bat files on Windows, if executable path contains parenthesis

2009-03-13 Thread Erik Sandberg
Erik Sandberg added the comment: I experimented further, the only way to run a .bat file whose name contains funny characters, seems to be: subprocess.call('""f(o.bat""', shell=True) -- ___ Python tracker

[issue5486] doc copyedits

2009-03-13 Thread DSM
New submission from DSM : Handful of typos. Patch against py3k trunk @ r70341. I left howto/webservers.rst alone, despite a fair number of problems, 'cause it could do with a more serious rewrite than I have time for. -- assignee: georg.brandl components: Documentation files: py3k.typo

[issue5485] pyexpat has no unit tests for UseForeignDTD functionality

2009-03-13 Thread Martin v. Löwis
Martin v. Löwis added the comment: You need to make two changes: 1. Enable parsing of parameter entities in the first place, e.g. through SetParamEntityParsing(XML_PARAM_ENTITY_PARSING_ALWAYS) 2. Pass a well-formed document, e.g. "" -- nosy: +loewis

[issue5484] subprocess.call() fails for .bat files on Windows, if executable path contains parenthesis

2009-03-13 Thread Tim Golden
Tim Golden added the comment: Erik Sandberg wrote: > Erik Sandberg added the comment: > > I experimented further, the only way to run a .bat file whose name > contains funny characters, seems to be: > > subprocess.call('""f(o.bat""', shell=True) Well there's a bit of a double-whammy going on

[issue5485] pyexpat has no unit tests for UseForeignDTD functionality

2009-03-13 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Thanks, that helped a bunch. I'm sure it would have taken me a long time to find SetParamEntityParsing(XML_PARAM_ENTITY_PARSING_ALWAYS). Perhaps it would also be good to expand the pyexpat documentation to cover that method and parameter (unless it's ther

[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone

2009-03-13 Thread Martin v. Löwis
Martin v. Löwis added the comment: > As the documentation section of > http://docs.python.org/reference/datamodel.html#object.__lt__ needs to > be updated as well to mark the eventual solution as the recommended easy > way to provide total ordering. This is the 2.6 version. What about the 3.0 v

[issue5486] doc copyedits

2009-03-13 Thread Georg Brandl
Georg Brandl added the comment: Applied in r70342, r70343. Thanks very much! -- resolution: -> accepted status: open -> closed ___ Python tracker ___ ___

[issue5485] pyexpat has no unit tests for UseForeignDTD functionality

2009-03-13 Thread Martin v. Löwis
Martin v. Löwis added the comment: Can you provide an update patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue5485] pyexpat has no unit tests for UseForeignDTD functionality

2009-03-13 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Here's the version I have now. I don't think it's complete, but it finishes the test started in the previous patch, and the test passes. -- Added file: http://bugs.python.org/file13323/use-foreign-dtd.2.patch _

[issue5485] pyexpat has no unit tests for UseForeignDTD functionality

2009-03-13 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: To clarify, I'll probably work on this patch a bit more later, adding a few more tests for related behavior. -- ___ Python tracker ___

[issue5392] stack overflow after hitting recursion limit twice

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r70344. -- resolution: -> fixed status: open -> pending ___ Python tracker ___ ___ Pyt

[issue5481] Expand Decimal.__format__() support to include "n"

2009-03-13 Thread Eric Smith
Changes by Eric Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue5484] subprocess.call() fails for .bat files on Windows, if executable path contains parenthesis

2009-03-13 Thread Erik Sandberg
Erik Sandberg added the comment: Did you test your code? I'm pretty sure I tried almost exactly the code you suggest, and got an error like "'t' is not recognized as an internal or external command...' (I cannot test this right now as I don't have access to Windows machines). In order to use she

[issue5484] subprocess.call() fails for .bat files on Windows, if executable path contains parenthesis

2009-03-13 Thread Tim Golden
Tim Golden added the comment: Erik Sandberg wrote: > Erik Sandberg added the comment: > > Did you test your code? Several times, cutting and pasting into the Python interpreter. But I missed the fact that you were running Python 2.5 Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC Type

[issue5392] stack overflow after hitting recursion limit twice

2009-03-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue1611] doctest.testmod gets noisy if called more than once per SystemExit

2009-03-13 Thread R. David Murray
R. David Murray added the comment: Nick, is the change you made to Lib/doctest.py, commenting out the print "*** DocTestRunner.merge:" message, intended to be permanent? If so, we can close this bug. -- nosy: +ncoghlan ___ Python tracker

[issue2110] Implement __format__ for Decimal

2009-03-13 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a patch to implement the 'n' format specifier for Decimals (see also issue 5481). Raymond, could you give this a sanity check? -- assignee: marketdickinson -> rhettinger Added file: http://bugs.python.org/file13324/decimal_n_format.patch __

[issue2110] Implement __format__ for Decimal

2009-03-13 Thread Mark Dickinson
Changes by Mark Dickinson : -- resolution: accepted -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue2110] Implement __format__ for Decimal

2009-03-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: Sure, I will take a look. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue5473] round(float, ndigits<0) sometimes rounds to odd

2009-03-13 Thread Mark Dickinson
Mark Dickinson added the comment: Actually the negative n case *is* quite different from the positive n, although I think it's fair to say that the issue 1869 title covers both cases fairly well. :) It's not at all hard to make sure that round(x, -n) correct for -22 <= -n <= 0 and any finite

[issue2396] Backport memoryview object to Python 2.7

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is an updated patch removing memory_str. I know Py_TPFLAGS_HAVE_NEWBUFFER should be documented, but I'm not sure where and how (I didn't add it in the first place). -- Added file: http://bugs.python.org/file13325/memview-trunk3.patch _

[issue5449] bug fix to prevent io.BytesIO from accepting arbitrary keyword arguments

2009-03-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +benjamin.peterson, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5396] os.read not handling O_DIRECT flag

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't think we will try to support O_DIRECT. First, it is a rather platform-specific flag. Second, Python's memory allocator doesn't allow specifying an arbitrary alignment value. Third, I don't even think O_DIRECT can make a positive difference in a Python pr

[issue5370] unpickling vs. __getattr__

2009-03-13 Thread Gabriel Genellina
Gabriel Genellina added the comment: Are you sure you uploaded the right patch? I've not tested it, but I don't think this actually fixes the reported bug. __setstate__ is *very* unlikely to be found in the instance's dict, so you end up not calling __setstate__ at all. If no test failed, th

[issue5047] Remove Monterey support from configure.in

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: You can probably commit this :-) -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailin

[issue5370] unpickling vs. __getattr__

2009-03-13 Thread Mike Meyer
Mike Meyer added the comment: True. But hat's why it was a QAD hack - all I did was make sure it didn't blow up on the test code, and that it passed the provided unit tests. It really needs to walk the class tree. So something like hasattr(inst.__class__, '__setstate__') is more likely to

[issue5016] FileIO.seekable() can return False

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r70352 (py3k), r70353 (3.0). Needs backport to trunk and 2.6, if someone is interested. -- priority: high -> normal resolution: -> accepted stage: needs patch -> committed/rejected versions: -Python 3.0, Python 3.1 __

[issue5237] Allow auto-numbered replacement fields in str.format() strings

2009-03-13 Thread Eric Smith
Eric Smith added the comment: I'm thinking of allowing you to mix keywords and auto-numbering, but not manual numbering and auto-numbering. This would be so we could do: >>> '{:{fmt}} {:{fmt}}'.format(3.1415, 2.71828, fmt='1.4f') 'pi=3.1415 e=2.7183' Unfortunately the ':' is required, because

[issue5237] Allow auto-numbered replacement fields in str.format() strings

2009-03-13 Thread Eric Smith
Eric Smith added the comment: Copy and paste error. That should be: >>> 'pi={:{fmt}} e={:{fmt}}'.format(3.1415, 2.71828, fmt='1.4f') 'pi=3.1415 e=2.7183' -- ___ Python tracker _

[issue4503] exception traceback sometimes slow

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: I suppose we can close this now, it should be solved with the IO-C rewrite in 3.1, and won't be backported to 3.0. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue1222] locale.format bug if thousand separator is space (french separator as example)

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r70356, r70357, r70358, r70359. I didn't try to change anything about the trailing space since it's minor anyway. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue5370] unpickling vs. __getattr__

2009-03-13 Thread Gabriel Genellina
Gabriel Genellina added the comment: I think that trying to emulate all "getattr" details in the middle of unpickling (but omiting calls to __getattr__) isn't the right thing to do. What if in some cases __getattr__ (or __getattribute__) *does* the right thing, but pickle doesn't call it? Oth

[issue2281] Enhanced cPython profiler with high-resolution timer

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Interesting patch, but there are lots of spurious #if's and #ifdef's which could be simplified. Also, some changes look slightly unrelated (e.g. the switch from malloc/free to PyObject_Malloc/PyObject_Free). -- nosy: +pitrou stage: -> patch review vers

[issue4928] Problem with tempfile.NamedTemporaryFile on Solaris 10

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Martin, do you have time to confirm this problem? Failure of (Named)TemporaryFile to remove the file on shutdown should be considered a serious issue. -- nosy: +loewis, pitrou ___ Python tracker

[issue5431] cmpfunc in Python 3.0.1 windows installer

2009-03-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: This development issues tracker is for issues that might result in changes in future Python releases. This issue was properly closed and in the absence of a new proposal for future change, should have stayed closed, even with the addition of a comment. The onl

[issue5006] Duplicate UTF-16 BOM if a file is open in append mode

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: One possible solution would be to call tell() in the TextIOWrapper constructor, and then decoder.setstate((b"", 0)) if the current pos is >0. -- ___ Python tracker

[issue2281] Enhanced cPython profiler with high-resolution timer

2009-03-13 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- assignee: -> gregory.p.smith nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list maili

[issue1143] Update to latest ElementTree in Python 2.7

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: This could be a nice addition to the next 3.1 alphas/betas. -- nosy: +benjamin.peterson, pitrou versions: +Python 3.1 ___ Python tracker ___ ___

[issue3820] Python 3.0b3 doesn't start on German Win XP SP3/SP2

2009-03-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue1674032] Make threading.Event().wait(timeout=3) return isSet

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: A test should be added to the patch, and then I think it could go in. -- ___ Python tracker ___ _

[issue2874] Remove use of the stat module in the stdlib

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: What's the story on this? -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue3699] test_bigaddrspace broken

2009-03-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- versions: +Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue2394] [Py3k] Finish the memoryview object implementation

2009-03-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file11166/mem6.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue2394] [Py3k] Finish the memoryview object implementation

2009-03-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file11159/mem5.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue2394] [Py3k] Finish the memoryview object implementation

2009-03-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file11158/mem4.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue2394] [Py3k] Finish the memoryview object implementation

2009-03-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file11157/mem3.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue2394] [Py3k] Finish the memoryview object implementation

2009-03-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file11156/mem2.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue2394] [Py3k] Finish the memoryview object implementation

2009-03-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file11155/mem1.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue2394] [Py3k] Finish the memoryview object implementation

2009-03-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue1568] PATCH: Armin's attribute lookup caching for 3.0

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: This has been merged to py3k a long time ago, hasn't it? -- nosy: +pitrou resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue5237] Allow auto-numbered replacement fields in str.format() strings

2009-03-13 Thread Eric Smith
Eric Smith added the comment: Should string.Format also support auto-numbering? It seems like it should, but I'm not convinced it's possible without modifying the signatures to the public methods, in particular get_field(). The design of string.Format doesn't support state that is created in fo

[issue5237] Allow auto-numbered replacement fields in str.format() strings

2009-03-13 Thread Guido van Rossum
Guido van Rossum added the comment: Not sure if that's worth it -- doesn't sound like the people who would need that feature would mind much using explicit numbering. Let's try KISS. -- ___ Python tracker _

[issue5237] Allow auto-numbered replacement fields in str.format() strings

2009-03-13 Thread Guido van Rossum
Guido van Rossum added the comment: (I meant that as a reply to the {:{fmt}} example, but it applies to your later post too. :-) -- ___ Python tracker ___ ___

[issue1597000] Use \r\n, not \n for HTTP headers

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Closing as suggested one year ago. -- nosy: +pitrou resolution: -> invalid status: open -> closed ___ Python tracker ___ ___

[issue2066] Adding new CNS11643, a *huge* charset, support in cjkcodecs

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Based on the feedback above, it seems this should be committed, shouldn't it? -- nosy: +pitrou stage: -> commit review type: -> feature request versions: +Python 2.7, Python 3.1 -Python 2.6, Python 3.0 ___ Python t

[issue1977] Python reinitialization test

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is still a good idea. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5237] Allow auto-numbered replacement fields in str.format() strings

2009-03-13 Thread Eric Smith
Eric Smith added the comment: I believe this patch is complete. I need to add tests and documentation, but the code itself should be finished. Here's the normal case: >>> '{} {}'.format('test', 0) 'test 0' It also handles error checking: >>> '{1} {}'.format('test', 0) Traceback (most recent ca

[issue1613130] str.split creates new string even if pattern not found

2009-03-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> needs patch type: feature request -> performance versions: +Python 2.7, Python 3.1 -Python 2.5, Python 2.6, Python 3.0 ___ Python tracker

[issue1399935] enhance unittest to define tests that *should* fail

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Benjamin, is it on your plate? (or perhaps you already have a working patch somewhere? :-)) -- nosy: +benjamin.peterson, pitrou stage: -> test needed type: -> feature request versions: +Python 2.7, Python 3.1 -Python 2.5 _

[issue5237] Allow auto-numbered replacement fields in str.format() strings

2009-03-13 Thread Eric Smith
Eric Smith added the comment: About '{:{fmt}}' and other wacky combinations, like '{.__doc__}': It's much easier and cleaner in the code to allow these cases than it would be to disallow them. And I rather like the '{:{fmt}}' example! I suggest leaving them in. They might be useful, and it mak

[issue1611] doctest.testmod gets noisy if called more than once per SystemExit

2009-03-13 Thread Nick Coghlan
Nick Coghlan added the comment: I believe I commented it out when we were trying to get the buildbots green before releasing 2.6. (The fact that regrtest.py trips over it does suggest there are legitimate reasons for calling doctest.testmod() more than once in a single test suite though) It loo

[issue5370] unpickling vs. __getattr__

2009-03-13 Thread Gabriel Genellina
Gabriel Genellina added the comment: This doc update should warn people about the need to implement __getinitargs__ / __getnewargs__ when the instance relies on some internal invariants that must be preserved, and reiterates the important fact that __init__ / __new__ are NOT normally invoked.

[issue5237] Allow auto-numbered replacement fields in str.format() strings

2009-03-13 Thread Guido van Rossum
Guido van Rossum added the comment: > About '{:{fmt}}' and other wacky combinations, like '{.__doc__}': > > It's much easier and cleaner in the code to allow these cases than it > would be to disallow them. And I rather like the '{:{fmt}}' example! > > I suggest leaving them in. They might be us

[issue5237] Allow auto-numbered replacement fields in str.format() strings

2009-03-13 Thread Nick Coghlan
Nick Coghlan added the comment: Only Formatter.format_field() is particularly hard to override at the moment (for the same reason that __format__() methods are tricky to write). That said, creating a locale aware version of string formatting based on string.Formatter is such an obvious idea that

[issue5487] Parts of Tkinter missing (but not when running from IDLE)

2009-03-13 Thread oc
New submission from oc : When running a script using Python 3.0.1 I get an error saying that tkinter.messagebox doesn't exist. However when I run the same script from within IDLE, it works fine. This has led to my thinking I'd fixed the Python 2.6/3 compatibility errors while testing in IDLE, bu