[issue2736] datetime needs and epoch method

2008-05-11 Thread Miki Tebeka
Miki Tebeka [EMAIL PROTECTED] added the comment: I think the name is not good, should be toepoch or something like that. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2736 __

[issue2775] Implement PEP 3108

2008-05-11 Thread Andrews Patrick Rocha Medina
Andrews Patrick Rocha Medina [EMAIL PROTECTED] added the comment: The files Python/compile.c and Python/pythonrun.c depends of the _symtable (Python/symtable.c and Include/symtable.h). What I do for remove _symtable in py3k? __ Tracker [EMAIL PROTECTED]

[issue2775] Implement PEP 3108

2008-05-11 Thread Humberto Diogenes
Humberto Diogenes [EMAIL PROTECTED] added the comment: Andrews, this discussion would be more appropriate to the mailing list, but anyway: I believe you're mixing things up. When PEP 3108 says remove symtable/_symtable, it must be talking only about symtable.py and symtablemodule.c, not

[issue1267629] pdb: implement until,fix for 1248119

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Benjamin: please reformat to PEP 8, then this is okay to check in. Don't forget docs and NEWS updates. -- assignee: - benjamin.peterson nosy: +benjamin.peterson, georg.brandl resolution: - accepted

[issue2763] A socket example code shown in doc doesn't work on FreeBSD

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Duplicate of #2742. -- resolution: - duplicate status: open - closed superseder: - example code does not work __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2763

[issue2742] example code does not work

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Applied the documentation patch in r63039. Thanks for your efforts! -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2742

[issue2816] Quote-type recognition bug

2008-05-11 Thread Chester
New submission from Chester [EMAIL PROTECTED]: Let's make an intentional syntax error... print Testing\ SyntaxError: EOL while scanning single-quoted string Please focus on the part of the error message that states while scanning single-quoted string. How can Python claim it scanned a

[issue2816] Quote-type recognition bug

2008-05-11 Thread Chester
Chester [EMAIL PROTECTED] added the comment: I have e-mailed Guido van Rossum about this. He replied: Good find. Please file a bug on bugs.python.org. If that wasn't a bug, he wouldn't have said that, would he? __ Tracker [EMAIL PROTECTED]

[issue2816] Quote-type recognition bug

2008-05-11 Thread Chester
Changes by Chester [EMAIL PROTECTED]: -- versions: +Python 2.1.1, Python 2.1.2, Python 2.2, Python 2.2.1, Python 2.2.2, Python 2.2.3, Python 2.3, Python 2.4, Python 2.5, Python 2.6 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2816

[issue2816] Quote-type recognition bug

2008-05-11 Thread Chester
Changes by Chester [EMAIL PROTECTED]: -- versions: +3rd party __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2816 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue2756] urllib2 add_header fails with existing unredirected_header

2008-05-11 Thread Martin McNickle
Changes by Martin McNickle [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10280/add_header_complete.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2756 __ ___

[issue756982] mailbox should use email not rfc822

2008-05-11 Thread Humberto Diogenes
Changes by Humberto Diogenes [EMAIL PROTECTED]: -- keywords: +patch Added file: http://bugs.python.org/file10279/mailbox-replace_rfc822.patch Tracker [EMAIL PROTECTED] http://bugs.python.org/issue756982

[issue2756] urllib2 add_header fails with existing unredirected_header

2008-05-11 Thread Martin McNickle
Changes by Martin McNickle [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10201/add_header_complete.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2756 __

[issue2816] Quote-type recognition bug

2008-05-11 Thread Chester
Changes by Chester [EMAIL PROTECTED]: -- versions: +Python 3.0 -Python 2.5 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2816 __ ___ Python-bugs-list mailing list

[issue2816] Quote-type recognition bug

2008-05-11 Thread Robert Lehmann
Robert Lehmann [EMAIL PROTECTED] added the comment: It seems single-quoted doesn't mean the actual quotation sign used but rather how many you used. Compare the multiline triple quote syntax: $ cat foo.py bar $ python foo.py File foo.py, line 3 ^ SyntaxError: EOF while scanning

[issue756982] mailbox should use email not rfc822

2008-05-11 Thread Humberto Diogenes
Changes by Humberto Diogenes [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10272/mailbox.py.patch2 Tracker [EMAIL PROTECTED] http://bugs.python.org/issue756982

[issue2736] datetime needs and epoch method

2008-05-11 Thread Neil Muller
Neil Muller [EMAIL PROTECTED] added the comment: datetime has fromtimestamp already, so using totimestamp keeps naming consistency (see toordinal and fromordinal). -- nosy: +Neil Muller __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2736

[issue1491] BaseHTTPServer incorrectly implements response code 100

2008-05-11 Thread Simon Cross
Changes by Simon Cross [EMAIL PROTECTED]: -- nosy: +hodgestar __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1491 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue2816] Quote-type recognition bug

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: This is not a bug in my opinion -- Robert has stated why. However, since you contacted Guido, let him decide. :) -- assignee: - gvanrossum nosy: +georg.brandl, gvanrossum __ Tracker [EMAIL PROTECTED]

[issue2812] Document property.getter/setter/deleter etc

2008-05-11 Thread Georg Brandl
New submission from Georg Brandl [EMAIL PROTECTED]: Changed a bit and committed as r63043. -- resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2812 __

[issue2814] Remove old classes from mailbox module

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Thanks, committed patch as r63045. -- nosy: +georg.brandl resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2814 __

[issue756982] mailbox should use email not rfc822

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: I removed the old classes in 3k. There remains one usage of rfc822, as the default factory of Maildir. It's replaced by None in the patch here; is that safe to do? -- nosy: +georg.brandl Tracker

[issue2709] tk.rst possibly wrong ?

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: It refers to the docs in the Python docs. I tried to clarify that in r63052. -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2709

[issue2147] int operations no longer overflow

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: OK, I think I fixed the remaining locations in r63055. -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2147 __

[issue2800] make htmlhelp creates python30a5.chm but msi.py expects pydoc.chm

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Is there a way to run the tree Python? __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2800 __ ___ Python-bugs-list mailing list

[issue2129] Link error of gethostbyaddr and gethostname in Python Manuals (the chm file)

2008-05-11 Thread Georg Brandl
Changes by Georg Brandl [EMAIL PROTECTED]: -- status: pending - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2129 __ ___ Python-bugs-list mailing list

[issue2741] documentation -- do serversockets work with ipv6

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Okay, this should now be clearer in r63057. -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2741 __

[issue2721] unittest.makeSuite undocumented and obsolete - but what to use instead?

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: The replacement is TestLoader().loadTestsFromTestCase(), and it's already in a prominent place in the docs: Instead of :func:`unittest.main`, there are other ways to run the tests with a finer level of control, less terse output, and no

[issue2659] textwrap handling of hyphenation

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Thanks for the patch! Reviewed and committed as r63053. -- resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2659 __

[issue2452] inaccuracy in httplib timeout documentation

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Thanks, fixed in r63058. -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2452 __

[issue2768] os.fstat and other os.f* methods should use PyObject_AsFileDescriptor

2008-05-11 Thread Neil Muller
Neil Muller [EMAIL PROTECTED] added the comment: This patch combines the two earlier patches, and also updates the docstrings and os.rst to reflect the changed behaviour. Added file: http://bugs.python.org/file10281/posixmodule_2.patch __ Tracker [EMAIL

[issue2709] tk.rst possibly wrong ?

2008-05-11 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: After talking to Guilherme on IRC, I'd like to propose this new patch. -- keywords: +patch nosy: +benjamin.peterson Added file: http://bugs.python.org/file10282/tk_doc.patch __ Tracker [EMAIL

[issue2817] Make Python create a tuple with one element in a clean way

2008-05-11 Thread Chester
New submission from Chester [EMAIL PROTECTED]: To create a tuple with one element, you need to do this: my_tuple = (1,)# Note the trailing comma after the value 1 type(my_tuple) type 'tuple' But if you do this my_tuple = (1) type(my_tuple) type 'int' you don't get a tuple. I thought

[issue2817] Make Python create a tuple with one element in a clean way

2008-05-11 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: But we need parentheses for grouping! -- nosy: +benjamin.peterson __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2817 __

[issue2818] pulldom cannot handle xml file with large external entity properly

2008-05-11 Thread Luyang Han
New submission from Luyang Han [EMAIL PROTECTED]: when use xml.dom.pulldom module to parse a large xml file, if all the information is saved in one xml file, the module can handle it in the following way without construction the whole DOM: events = xml.dom.pulldom.parse('file.xml') for

[issue1792] o(n*n) marshal.dumps performance for largish objects with patch

2008-05-11 Thread A.M. Kuchling
A.M. Kuchling [EMAIL PROTECTED] added the comment: I've applied Facundo's version of the patch in r63059. -- nosy: +akuchling resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1792

[issue2709] tk.rst possibly wrong ?

2008-05-11 Thread Guilherme Polo
Changes by Guilherme Polo [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10284/othergui.rst.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2709 __ ___

[issue1858] Make .pypirc handle multiple servers

2008-05-11 Thread A.M. Kuchling
A.M. Kuchling [EMAIL PROTECTED] added the comment: Brett backed out my commit in r63002 because I forgot to include the distutils.config module. Re-committed in r63014 and r63060. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1858

[issue1267629] pdb: implement until,fix for 1248119

2008-05-11 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Reviewed and committed in r63061 _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1267629 _ ___ Python-bugs-list

[issue1267629] pdb: implement until,fix for 1248119

2008-05-11 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1267629 _ ___ Python-bugs-list mailing

[issue2817] Make Python create a tuple with one element in a clean way

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: That's an absolute no-starter. Not the parentheses make the tuple, the commas do. The empty tuple is the exception, not the rule. -- nosy: +georg.brandl resolution: - rejected status: open - closed __

[issue2709] tk.rst possibly wrong ?

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Thanks, committed both patches in r63066. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2709 __ ___ Python-bugs-list mailing

[issue2816] Quote-type recognition bug

2008-05-11 Thread Guido van Rossum
Guido van Rossum [EMAIL PROTECTED] added the comment: As the term single-quoted string is clearly ambiguous, I propose to change the error message to just string (or perhaps string literal, but then you'd have to change the triple-quoted message to triple-quoted string literal too for

[issue2816] Quote-type recognition bug

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: OK, done so in r63068. -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2816 __

[issue1326] internal zipimport.zipimporter feature untested

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Committed the test and added new docs in r63067. Thanks! -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1326 __

[issue2710] error: (10035, 'The socket operation could not complete without blocking')

2008-05-11 Thread Georg Brandl
Changes by Georg Brandl [EMAIL PROTECTED]: -- components: +IDLE __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2710 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue2787] Patch to flush unittest output

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Thanks, committed patch as r63069. -- nosy: +georg.brandl resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2787 __

[issue2803] heapq.heappush called with too few arguments in sched.py

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Thanks, fixed in r63070, r63071 (2.5). -- nosy: +georg.brandl resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2803 __

[issue2819] Full precision summation

2008-05-11 Thread Jean Brouwers
Changes by Jean Brouwers [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10286/mathmodule.c.2.6a3.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2819 __ ___

[issue2819] Full precision summation

2008-05-11 Thread Jean Brouwers
Changes by Jean Brouwers [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10287/test_math_sum1.py __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2819 __ ___

[issue2816] Quote-type recognition bug

2008-05-11 Thread Chester
Chester [EMAIL PROTECTED] added the comment: It would be better to say End of line while scanning string (string, line 1) and End of f... while scanning multi-line string (string, line 1) These messages really need to be clear, so putting EOF for example (which I really don't know what it

[issue2800] make htmlhelp creates python30a5.chm but msi.py expects pydoc.chm

2008-05-11 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Is there a way to run the tree Python? Currently, that should be possible, as the documentation is built after Python. However, in the long term, cross-compilation needs to be considered (to AMD64 on an x86 machine); then you can't run the

[issue2817] Make Python create a tuple with one element in a clean way

2008-05-11 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Just in case the previous comments aren't clear: Would you rather see py (3+4)*5 35 or py (3+4)*5 (7, 7, 7, 7, 7) -- nosy: +loewis __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2817

[issue2775] Implement PEP 3108

2008-05-11 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: I'm working on the new package tkinter and dialogs merging where appropriate. -- nosy: +gpolo __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2775 __

[issue2809] string docstring doesn't mention that ' '.split() != ' '.split(' ')

2008-05-11 Thread David Fraser
David Fraser [EMAIL PROTECTED] added the comment: I don't think this really addresses the issue properly... The original docstring read: +Note that not specifying sep (or using None) will cause\n\ +empty strings to be removed from the output. thus ' '.strip()\n\ +returns []. while ' '.strip('

[issue2820] Remove mac modules

2008-05-11 Thread Benjamin Peterson
New submission from Benjamin Peterson [EMAIL PROTECTED]: I've removed the Mac modules. The Bazaar branch is at http://code.python.org/python/users/benjamin.peterson/mac_module_removal/. -- assignee: brett.cannon components: Extension Modules messages: 66648 nosy: benjamin.peterson,

[issue2810] _winreg.EnumValue fails when the registry data includes multibyte unicode characters

2008-05-11 Thread Daniel Stutzbach
Daniel Stutzbach [EMAIL PROTECTED] added the comment: After several failed attempts at making a test case, and stepping through C code with a debugger, I see that my initial diagnose is quite wrong. RegQueryInfoKey *does* return the sizes in units of bytes (even though the Microsoft

[issue2817] Make Python create a tuple with one element in a clean way

2008-05-11 Thread Chester
Chester [EMAIL PROTECTED] added the comment: Martin I see the point now. I appologize for not having the clear head of seeing the possible damage that my feature request would make. I take my request back. __ Tracker [EMAIL PROTECTED]

[issue2821] unittest.py sys.exit error

2008-05-11 Thread Adam Getchell
New submission from Adam Getchell [EMAIL PROTECTED]: Picking the canonical example of unit test: import random import unittest class TestSequenceFunctions(unittest.TestCase): def setUp(self): self.seq = range(10) def testshuffle(self): # make sure the shuffled

[issue2822] Quote-type recognition bug [badly fixed last time]

2008-05-11 Thread Chester
New submission from Chester [EMAIL PROTECTED]: I have a suggestion that would make the http://svn.python.org/view?rev=63068view=rev look ever more clear. It would be better to have this kind of error messages: expect = End of line while scanning string (string, line 1) and expect End of f...

[issue2822] Quote-type recognition bug [badly fixed last time]

2008-05-11 Thread Guido van Rossum
Guido van Rossum [EMAIL PROTECTED] added the comment: Stop bothering us. -- resolution: - invalid status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2822 __

[issue2819] Full precision summation

2008-05-11 Thread Raymond Hettinger
Raymond Hettinger [EMAIL PROTECTED] added the comment: This looks pretty good at first glance. Will review more throughly later this week. It does need docs and unittests. -- assignee: - rhettinger __ Tracker [EMAIL PROTECTED]

[issue756982] mailbox should use email not rfc822

2008-05-11 Thread Humberto Diogenes
Humberto Diogenes [EMAIL PROTECTED] added the comment: rfc822 is replaced by None in the patch here; is that safe to do? Yes. That's what mailbox documentation says: Parameter factory is a callable object that accepts a file-like message representation [...] and returns a custom

[issue2823] Report bug links

2008-05-11 Thread anatoly techtonik
New submission from anatoly techtonik [EMAIL PROTECTED]: It would be convenient to use links in the bottom of documentation pages for bugreporting that directly connect to bugtracker search form. I.e. Report bug on this page and Report bug in this module. -- assignee: georg.brandl

[issue2823] Report bug links

2008-05-11 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: -1. This would make a fairly pessimistic view of Python, making it sound as if reporting a bug is a primary thing that one might to do with it. -- nosy: +loewis __ Tracker [EMAIL PROTECTED]

[issue2802] str.format() :n integer output

2008-05-11 Thread Eric Smith
Eric Smith [EMAIL PROTECTED] added the comment: Implemented in 2.6 as r63078. I'll port this to py3k shortly. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2802 __ ___

[issue2775] Implement PEP 3108

2008-05-11 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: Patch regarding the move to tkinter package added. What this patch does * Moved lib-tk to tkinter and renamed modules according to PEP 3108 * Merged tkFileDialog into filedialog * Merged tkSimpleDialog into

[issue2824] zipfile to handle duplicate files in archive

2008-05-11 Thread anatoly techtonik
New submission from anatoly techtonik [EMAIL PROTECTED]: ZipFile allows to add the same file to archive twice. I bet it is not intended behavior for many users who would like to either replace file inside of archive or get runtime warning about duplicate file to be added.

[issue2378] UnboundLocalError when trying to raise exceptions inside execfile

2008-05-11 Thread Nikolas Coukouma
Nikolas Coukouma [EMAIL PROTECTED] added the comment: I can't reproduce this with r63075... -- nosy: +nikolasco __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2378 __

[issue2819] Full precision summation

2008-05-11 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: Some comments/questions: (1) It seems wasteful to wrap every addition in PyFPE_START/END_PROTECT, and to check for NaNs and infinities after every addition. I'd wrap the whole thing in a single PyFPE_START/END_PROTECT, replace _math_sum_add

[issue2825] Quote-type recognition bug [got a patch!]

2008-05-11 Thread Chester
New submission from Chester [EMAIL PROTECTED]: This is a patch I made to make this messages clear now. I hope you like it. -- files: test_eof.patch keywords: patch messages: 4 nosy: chester severity: normal status: open title: Quote-type recognition bug [got a patch!] Added file:

[issue2378] UnboundLocalError when trying to raise exceptions inside execfile

2008-05-11 Thread Pedro Werneck
Pedro Werneck [EMAIL PROTECTED] added the comment: I get it with r63075, r63085, on Linux. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2378 __ ___ Python-bugs-list mailing

[issue2819] Full precision summation

2008-05-11 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: One more question: What are the use cases for an exact summation algorithm? That is, in what situations does one care about exactness rather than simply accuracy? I know that loss of accuracy is a problem in things like numeric integration

[issue756982] mailbox should use email not rfc822

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Removed the last rfc822 reference from 3k's mailbox.py in r63091. -- resolution: - fixed status: open - closed Tracker [EMAIL PROTECTED] http://bugs.python.org/issue756982

[issue2825] Quote-type recognition bug [got a patch!]

2008-05-11 Thread Chester
Changes by Chester [EMAIL PROTECTED]: -- nosy: +gvanrossum versions: +3rd party, Python 2.1.1, Python 2.1.2, Python 2.2, Python 2.2.1, Python 2.2.2, Python 2.2.3, Python 2.3, Python 2.4, Python 2.5, Python 2.6, Python 3.0 __ Tracker [EMAIL PROTECTED]

[issue2809] string docstring doesn't mention that ' '.split() != ' '.split(' ')

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Okay, r63092 should satisfy you then. :) __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2809 __ ___ Python-bugs-list mailing

[issue2250] rlcompleter raises Exception on bad input

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Committed code and doc patches as r63094. Thanks! -- nosy: +georg.brandl resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2250

[issue2413] os.strerror does not check for out of range argument

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: IMO, the current behavior is the least problematic. It also mirrors the rest of Python's posix-wrapping calls: if something usable is returned, use it; if NULL is returned, raise an error. For most people, Unknown error XXX or Value error:

[issue2802] str.format() :n integer output

2008-05-11 Thread Eric Smith
Eric Smith [EMAIL PROTECTED] added the comment: Implemented in 3.0 as r63093. I'm closing this issue. I added the C code that does the grouping insertion as _PyString_InsertThousandsGrouping and _PyUnicode_InsertThousandsGrouping (in 3.0). This might be useful to others, although the API is

[issue756982] mailbox should use email not rfc822

2008-05-11 Thread Humberto Diogenes
Humberto Diogenes [EMAIL PROTECTED] added the comment: Georg, any special reason for not removing rfc822 references from test_mailbox? That section of the patch was not merged. Tracker [EMAIL PROTECTED] http://bugs.python.org/issue756982

[issue756982] mailbox should use email not rfc822

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Okay, removed that too in r63096. Tracker [EMAIL PROTECTED] http://bugs.python.org/issue756982 ___ Python-bugs-list mailing

[issue2535] duplicate Misc.lower

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Committed as r63097. -- nosy: +georg.brandl resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2535 __

[issue2826] safe_substitute() and substitute()

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: First of all, you don't say which type these methods belong to. I assume you mean string.Template. What good would that be? Those extra 5 characters to type shouldn't be the problem. Many template strings have only defined keys, and it is a

[issue2814] Remove old classes from mailbox module

2008-05-11 Thread Humberto Diogenes
Humberto Diogenes [EMAIL PROTECTED] added the comment: I think we should add a deprecation warning for those classes in 2.6, right? As we're not removing the whole module, what's the right place to put that? On the __init__ method of each class? __ Tracker

[issue2814] Remove old classes from mailbox module

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: I added a deprecation notice to the docs. That should be enough. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2814 __ ___

[issue2821] unittest.py sys.exit error

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Can you elaborate how you get the printed exception? When running your code as a script under 2.5 or trunk, I don't get such a message. -- nosy: +georg.brandl __ Tracker [EMAIL PROTECTED]

[issue2824] zipfile to handle duplicate files in archive

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: I think a warning would be sensible here. The behavior is certainly not what I would expect. -- nosy: +alanmcintyre, georg.brandl __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2824

[issue1649238] potential clash with C++ in ceval.h

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Lowering priority. -- nosy: +georg.brandl priority: normal - low _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1649238 _

[issue1470548] Bugfix for #1470540 (XMLGenerator cannot output UTF-16)

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Won't this present backwards-compatibility problems if non-ASCII str content is written? -- nosy: +georg.brandl _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1470548

[issue2043] test_cl.py converted to unittest

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: test_cl was already changed not to run as an import side-effect; I don't think unittest is necessary here. -- nosy: +georg.brandl resolution: - rejected status: open - closed __ Tracker [EMAIL PROTECTED]

[issue1713041] fix for 1712742: corrects pprint's handling of 'depth'

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: The test suite doesn't pass any longer when the patch is applied. -- nosy: +georg.brandl _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1713041 _

[issue2775] Implement PEP 3108

2008-05-11 Thread Andrews Patrick Rocha Medina
Changes by Andrews Patrick Rocha Medina [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10292/symtable_removed_on_py3k.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2775 __

[issue2723] Truncate __len__() at sys.maxsize

2008-05-11 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: Agreed, having it lie about the size is the WORST possible behavior because it will silently hide problems. Lets not do that. But I must've missed something, why can't __len__ return the correct value? Merely because range() is broken and

[issue2723] Truncate __len__() at sys.maxsize

2008-05-11 Thread Alexander Belopolsky
Alexander Belopolsky [EMAIL PROTECTED] added the comment: On Sun, May 11, 2008 at 6:38 PM, Gregory P. Smith [EMAIL PROTECTED] wrote: .. But I must've missed something, why can't __len__ return the correct value? The problem is the C signature of the sq_length slot: typedef Py_ssize_t

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2008-05-11 Thread Sven Siegmund
New submission from Sven Siegmund [EMAIL PROTECTED]: I have a source code which IDLE 3.0a5 cannot parse, but Python 3.0a5 can (also attached): #!/usr/bin/python # -*- coding: utf-8 -*- def načtiSlovník(zdroj='slovník.txt'): soubor = open(zdroj, mode='r', encoding='utf_8') řádky =

[issue1685] linecache .updatecache fails on utf8 encoded files

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: This should be fixed differently (directly applying the RE to bytes objects), but it needs a re that handles bytes first. -- assignee: - georg.brandl nosy: +georg.brandl priority: high - critical __

[issue2825] Quote-type recognition bug [got a patch!]

2008-05-11 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I though Georg already did this in r63068. -- nosy: +benjamin.peterson __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2825 __

[issue2825] Quote-type recognition bug [got a patch!]

2008-05-11 Thread Guido van Rossum
Changes by Guido van Rossum [EMAIL PROTECTED]: -- nosy: -gvanrossum resolution: - invalid status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2825 __

[issue1234985] using some_re.sub() often imports sre.__doc__

2008-05-11 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: pattern.sub() imports the SRE Python module (to call its subx()) with PyImport_Import -- that C functions uses a dummy list ['__doc__'] to get the correct module for dotted import paths. The import of an additional module is gone now that re is

[issue678464] Docs don't define sequence-ness very well

2008-05-11 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- type: - feature request Tracker [EMAIL PROTECTED] http://bugs.python.org/issue678464 ___ Python-bugs-list mailing

  1   2   >