[issue2831] Adding start to enumerate()

2008-05-11 Thread Scott Dial
Scott Dial <[EMAIL PROTECTED]> added the comment: As it stands, enumerate() already takes a "sequence" keyword as an alternative to the first positional argument (although this seems to be completely undocumented). So, as you say, METH_O is a no go. I agree with you in that my original complaint

[issue2831] Adding start to enumerate()

2008-05-11 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Forget the part about METH_O. That was incorrect. Another idea to order the positional args as ([start,], iterator). That corresponds to with range([start,] stop) and it matches the output order (number, element): for i, element i

[issue2831] Adding start to enumerate()

2008-05-11 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: If a start argument gets accepted, it should be positional, not a keyword-only argument. That is a complete waste when there is just one argument with a straight-forward interpretation. Besides, METH_O is a lot faster than the alterna

[issue2832] Line numbers reported by extract_stack are offset by the #-*- encoding line

2008-05-11 Thread Dmitry Dvoinikov
New submission from Dmitry Dvoinikov <[EMAIL PROTECTED]>: Stack trace information extracted with traceback.extract_stack is incorrect in that the #-*- line causes double counting. For example: #comment from traceback import extract_stack print("this is line", extract_stack()[-1][1]) prints 'thi

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

2008-05-11 Thread Rodrigo Bernardo Pimentel
Rodrigo Bernardo Pimentel <[EMAIL PROTECTED]> added the comment: It seems that somewhere along the road between revision 55144 (where the first patch was generated) and current trunk (revision 63129), PrettyPrinter._format has stopped handling depth! I've attached a patch that fixes this, along

[issue2831] Adding start to enumerate()

2008-05-11 Thread Scott Dial
Changes by Scott Dial <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file10301/enumerate.diff __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs

[issue2831] Adding start to enumerate()

2008-05-11 Thread Scott Dial
Changes by Scott Dial <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10300/enumerate.diff __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bu

[issue2831] Adding start to enumerate()

2008-05-11 Thread Scott Dial
Changes by Scott Dial <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10299/enumerate.diff __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bu

[issue2831] Adding start to enumerate()

2008-05-11 Thread Scott Dial
Changes by Scott Dial <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file10300/enumerate.diff __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs

[issue2831] Adding start to enumerate()

2008-05-11 Thread Scott Dial
New submission from Scott Dial <[EMAIL PROTECTED]>: Georg Brandel suggested enumerate() should have the ability to start on an arbitrary number (instead of always starting at 0). I suggest such a parameter should be keyword-only. Attached is a patch to add such a feature along with added test cas

[issue2830] Copy cgi.escape() to html

2008-05-11 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: cgi.escape() really belong in the new 'html' package. -- components: Library (Lib) messages: 66704 nosy: brett.cannon priority: normal severity: normal status: open title: Copy cgi.escape() to html type: feature request versions: Pyth

[issue2829] Copy cgi.parse_qs() to urllib.parse

2008-05-11 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- assignee: brett.cannon -> __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list U

[issue2829] Copy cgi.parse_qs() to urllib.parse

2008-05-11 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: cgi.parse_qs() really belongs more in urllib.parse. Move it so that people no longer have to import cgi just for that one function. -- assignee: brett.cannon components: Library (Lib) messages: 66703 nosy: brett.cannon priority: norm

[issue1322] platform.dist() has unpredictable result under Linux

2008-05-11 Thread Bruno Gomes
Bruno Gomes <[EMAIL PROTECTED]> added the comment: In this fix I removed the use of the file name in order to return the distname. Now, only the file contents is taken into account. On Centos, the file name is the same as on Redhat, but its contents is different: $ cat /etc/redhat-release CentO

[issue2775] Implement PEP 3108

2008-05-11 Thread Andrews Patrick Rocha Medina
Andrews Patrick Rocha Medina <[EMAIL PROTECTED]> added the comment: For to remove the htmllib on Python 3000 is need to removed these files: Lib/htmllib.py Lib/test_htmllib.py And apply this patch Added file: http://bugs.python.org/file10297/htmllib_removed_on_py3k.diff __

[issue1645148] MIME renderer: wrong header line break with long subject?

2008-05-11 Thread Kayne Naughton
Kayne Naughton <[EMAIL PROTECTED]> added the comment: Argg, yes, as Andi explained it's the tab (not sure how I missed that on first reading). _ Tracker <[EMAIL PROTECTED]> _ ___

[issue1645148] MIME renderer: wrong header line break with long subject?

2008-05-11 Thread Kayne Naughton
Kayne Naughton <[EMAIL PROTECTED]> added the comment: Just struck this myself, found Andi's solution to work. Constructing the header using email.header stops it from breaking the line awkwardly (vs. just storing a string). Suggest the documentation example page be updated to use header() in pl

[issue2775] Implement PEP 3108

2008-05-11 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10290/tkinter_package_and_fixes.diff __ Tracker <[EMAIL PROTECTED]> __ _

[issue2775] Implement PEP 3108

2008-05-11 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: New patch regarding the move to tkinter package, now with docs updated. This one should be the "final" patch, and while the patch is relatively large it mostly trivial to review. Added file: http://bugs.python.org/file10296/tkinter_package_an

[issue2775] Implement PEP 3108

2008-05-11 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- dependencies: +Remove mac modules __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list ma

[issue2775] Implement PEP 3108

2008-05-11 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10257/queue_rename.patch __ Tracker <[EMAIL PROTECTED]> __ ___ Pyt

[issue2775] Implement PEP 3108

2008-05-11 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Just so people know, feel free to create new issues for stuff if you want. Other issues can be made dependencies of this issue very easily. __ Tracker <[EMAIL PROTECTED]> _

[issue2775] Implement PEP 3108

2008-05-11 Thread Andrews Patrick Rocha Medina
Andrews Patrick Rocha Medina <[EMAIL PROTECTED]> added the comment: I'm working on creating html package with HTMLParser and htmlentitydefs __ Tracker <[EMAIL PROTECTED]> __ ___

[issue2828] Clean up undoc.rst

2008-05-11 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- dependencies: +Implement PEP 3108 priority: normal -> high __ Tracker <[EMAIL PROTECTED]> __ ___

[issue2828] Clean up undoc.rst

2008-05-11 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Doc/library/undoc.rst needs to be cleaned up once PEP 3108 has been implemented. -- assignee: brett.cannon components: Documentation keywords: easy messages: 66694 nosy: brett.cannon priority: normal severity: normal status: open tit

[issue2196] Fix hasattr's exception problems

2008-05-11 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Done in r63119. -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[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/file10294/deprecated_symtable_on_py26.patch __ Tracker <[EMAIL PROTECTED]> __ __

[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]> ___ Python-bugs-list mail

[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

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

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

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

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

[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

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

[issue2786] Names in traceback should have class names, if they're methods

2008-05-11 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- components: +Interpreter Core priority: -> low type: behavior -> feature request versions: +Python 2.6, Python 3.0 __ 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]> _

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

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

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

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

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

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

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

[issue2823] "Report bug" links

2008-05-11 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I agree with Martin, a "report bug in the module" link isn't necessary. A general "report bug" page is accessible from the docs' front page. There will however be be a "suggest change" link where you can suggest doc changes yourself -- I'll hav

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

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

[issue2826] safe_substitute() and substitute()

2008-05-11 Thread Chester
New submission from Chester <[EMAIL PROTECTED]>: Please consider of removing safe_substitute() method and make the current substitute() method act like safe_substitute() method but being named substitute(). -- messages: 66675 nosy: chester, gvanrossum severity: normal status: open title:

[issue2378] UnboundLocalError when trying to raise exceptions inside execfile

2008-05-11 Thread Nikolas Coukouma
Nikolas Coukouma <[EMAIL PROTECTED]> added the comment: Apologies, I didn't run the test case correctly; I do get the error as reported __ Tracker <[EMAIL PROTECTED]> __ ___

[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]> ___ Python-bugs-list mailin

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

[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

[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: s

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

[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]> __ ___ Python-bugs-list maili

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

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

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

[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]> __ ___ Python-bugs-list maili

[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: h

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

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

[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. http://code.google.com

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

[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]> __ ___ Py

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

[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

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

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

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

2008-05-11 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I suggest to use regedit /e to dump the failing key into a file. That should allow to reproduce it on a different system. __ Tracker <[EMAIL PROTECTED]> _

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

[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=63068&view=rev look ever more clear. It would be better to have this kind of error messages: expect = "End of line while scanning string (, line 1)" and expect "End of f... w

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

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

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

[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, bre

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

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

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

[issue2755] IDLE ignores module change before restart

2008-05-11 Thread Mark Veldhuis
Changes by Mark Veldhuis <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10191/idleupdatebug.odt __ Tracker <[EMAIL PROTECTED]> __ ___ Pyt

[issue2755] IDLE ignores module change before restart

2008-05-11 Thread Mark Veldhuis
Mark Veldhuis <[EMAIL PROTECTED]> added the comment: Hi, I repeated the same steps as before, with new filenames, and with the same result, the printed value was 1, and not 2 as expected. After closing all windows the value was 2. answers to Kurt's questions: When you "open" a python file, exa

[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

[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 (, line 1)" and "End of f... while scanning multi-line string (, line 1)" These messages really need to be clear, so putting EOF for example (which I really don't know what it stands f

[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]> __ ___ Pytho

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

[issue2819] Full precision summation

2008-05-11 Thread Jean Brouwers
New submission from Jean Brouwers <[EMAIL PROTECTED]>: Attached are 2 patches and a test script adding a function sum to the math and cmath modules of Python 2.6a3. The sum is calculated using a full precision summation method. The test script compares the result of the functions with the ori

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

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

[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]> __ ___ Python-bugs-list mailing list Unsubscrib

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

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

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

[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]> __ ___ Python-bugs-list mail

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

[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]> _ ___ Python-bugs-list mail

[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]> _ ___ Python-bugs-list

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

[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]> __ ___ Pyth

[issue2709] tk.rst possibly wrong ?

2008-05-11 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Hi again, Sorry for not trying harder on this issue, I should have included my own patch(es) on what should be changed. These could be improved tho, of course. Added file: http://bugs.python.org/file10283/tk.rst.diff ___

  1   2   >