[issue2841] Windows: "Runtime Error!" crash from pythonw.exe (3.0a5)

2008-05-12 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: AFter reboot, IDLE started, loaded the program I tried to run previously, and ran it several times. I closed the edit window and when I closed the shell window, got same message. The first box is titled Microsoft Visual C++ Runtime Library.

[issue2778] set_swap_bodies is unsafe

2008-05-12 Thread Adam Olsen
Adam Olsen <[EMAIL PROTECTED]> added the comment: Here's another approach to avoiding set_swap_bodies. The existing semantics are retained. Rather than creating a temporary frozenset and swapping the contents, I check for a set and call the internal hash function directly (bypassing PyObject_Ha

[issue1767370] Make xmlrpc use HTTP/1.1 and keepalive

2008-05-12 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: I'm not going to pretend I understand the changes. I do notice that test_docxmlrpc hangs hard on my Mac (doesn't even respond to Ctl-C). DocXMLRPCServer subclasses from SimpleXMLRPCServer, so I suspect it needs some attention. I tried the o

[issue2841] Windows: "Runtime Error!" crash from pythonw.exe (3.0a5)

2008-05-12 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: Hibernation, sleep, or screen saver is not required though process may have been swapped to disk. Exception and location are reproducible. This time I get IDLE Subprocess Startup Error on retry. Will reboot. ___

[issue2837] OpenID wannabe

2008-05-12 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I don't understand your question. What is "this site" that you are referring to, and why do you think it uses a single sign-on system? -- status: pending -> closed __ Tracker <[EMAIL PROTECTED]>

[issue2843] New methods for existing Tkinter widgets

2008-05-12 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: Attached patch adds the following new methods: Misc: grid_anchor Menu: xposition Text: count, peer_create, peer_names, replace Wm: wm_iconphoto, wm_manage, wm_forget These are supported by Tk 8.5 and newer. -- components: Tkinter

[issue1767370] Make xmlrpc use HTTP/1.1 and keepalive

2008-05-12 Thread Martín Conte Mac Donell
Martín Conte Mac Donell <[EMAIL PROTECTED]> added the comment: I made this patch works against trunk, also i'v fixed some typos. -- nosy: +Reflejo versions: +Python 2.5 Added file: http://bugs.python.org/file10313/xmlrpc-keepalive.diff _ Tracker <[EMA

[issue2820] Remove mac modules

2008-05-12 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: First, thanks for doing this, Benjamin! Second, can the plat-darwin directory go as well? Third, can you get rid of the --disable--toolbox-glue flag for configure.in (and any other relevant removals) and Makefile.pre.in cleanup? If you don'

[issue2837] OpenID wannabe

2008-05-12 Thread anatoly techtonik
anatoly techtonik <[EMAIL PROTECTED]> added the comment: What kind of registered users are available? I thought this site uses single sign on system. __ Tracker <[EMAIL PROTECTED]> __ _

[issue2819] Full precision summation

2008-05-12 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Rather keep it in mathmodule.c, not floatobject.c. We should keep extension code out of the core types. __ Tracker <[EMAIL PROTECTED]> __ __

[issue2820] Remove mac modules

2008-05-12 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Done! See r63187 and 63190. It sure was fun merging the Bazaar branch into Subversion, though. :( -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue2628] ftplib Persistent data connection

2008-05-12 Thread Jonathan
Jonathan <[EMAIL PROTECTED]> added the comment: I've attached two new files. The first swaps the array.array usage for struct.unpack. The second simply modifies the rst documentation. I'm not sure how we'd do any tests for FTP without making use of an actual server. In a quick check of servers,

[issue2842] Dictionary methods: inconsistency

2008-05-12 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Chester, this is your last warning. One more submission like this and we will ban you from submitting new bug reports. You have to learn how to use the bug tracker properly if you don't want to be ignored completely. -- nosy: +gva

[issue2842] Dictionary methods: inconsistency

2008-05-12 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Rejecting as "invalid". If you somehow still think something should change, please discuss that on the py3k list. -- nosy: +chester, loewis resolution: -> invalid status: open -> closed __ Tracker <[

[issue2628] ftplib Persistent data connection

2008-05-12 Thread Jonathan
Changes by Jonathan <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file10312/ftplib.rst.blockmode.patch __ Tracker <[EMAIL PROTECTED]> __ ___ P

[issue2628] ftplib Persistent data connection

2008-05-12 Thread Jonathan
Changes by Jonathan <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file10311/ftplib.py.blockmode.patch.2 __ Tracker <[EMAIL PROTECTED]> __ ___

[issue2842] Dictionary methods: inconsistency

2008-05-12 Thread Fredrik Lundh
Changes by Fredrik Lundh <[EMAIL PROTECTED]>: -- nosy: -effbot __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe:

[issue2842] Dictionary methods: inconsistency

2008-05-12 Thread Fredrik Lundh
Fredrik Lundh <[EMAIL PROTECTED]> added the comment: Eh? Why did you add *everyone* involved the project to the nosy list? (I'll leave explaining why breaking almost all Python programs in the name of "consistency" is an absurd idea to someone else). -- nosy: -aaronsw, admin, akuchlin

[issue2842] Dictionary methods: inconsistency

2008-05-12 Thread Chester
New submission from Chester <[EMAIL PROTECTED]>: Names of dictionary methods are not consistent with Python's coding style. Please fix the following method names: 1) fixdeepcopyto be deep_copy 2) fixfromkeysto be from_keys 3) fixpopitem to be pop_item 4) fixsetdefa

[issue2841] Windows: "Runtime Error!" crash from pythonw.exe (3.0a5)

2008-05-12 Thread Terry J. Reedy
Changes by Terry J. Reedy <[EMAIL PROTECTED]>: -- type: -> crash __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscrib

[issue2841] Windows: "Runtime Error!" crash from pythonw.exe (3.0a5)

2008-05-12 Thread Terry J. Reedy
New submission from Terry J. Reedy <[EMAIL PROTECTED]>: Specific instance: I edit a file with IDLE, hit F5, and Windows pops up a box with a white X in a red circle followed by "Runtime Error!" and an explanation that the application requested to be closed in an 'unusual' way. Clicking OK on t

[issue2839] Moving lib-tk to tkinter package

2008-05-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: -- keywords: +patch Added file: http://bugs.python.org/file10310/tkinter_imports.diff __ Tracker <[EMAIL PROTECTED]> __ _

[issue2839] Moving lib-tk to tkinter package

2008-05-12 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I've talked with Brett and we agreed on a plan slightly different from the one described in PEP 3108, which seems to be better for tkinter. The first step would be creating a tkinter package and then moving each file in lib-tk to this new dir

[issue2819] Full precision summation

2008-05-12 Thread Jean Brouwers
Jean Brouwers <[EMAIL PROTECTED]> added the comment: There may be another reason to use a single summation function. The summation functions does need (a copy of) the is_error() function from the math module. The cmath module has a similar function called math_error() which slightly differen

[issue2840] Expat parser locks XML source file if ContentHandler raises an exception

2008-05-12 Thread Craig Holmquist
New submission from Craig Holmquist <[EMAIL PROTECTED]>: This was observed in Python 2.5.2 on Windows XP. Run this code in IDLE: import xml.sax from xml.sax.handler import ContentHandler class C(ContentHandler): def startElement(self, name, attrs): assert False xml.sax.

[issue2819] Full precision summation

2008-05-12 Thread Jean Brouwers
Jean Brouwers <[EMAIL PROTECTED]> added the comment: The current results are quite "interesting" >>> math.sum([1e308, 1e308, -1e308]) Traceback (most recent call last): File "", line 1, in OverflowError: math range error >>> math.sum([1e308, -1e308, 1e308]) 1e+308 Handling this case would

[issue2054] add ftp-tls support to ftplib - RFC 4217

2008-05-12 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: Bill, are there news about the fix to httplib? I'd like to see this feature included in 2.6 if possible. __ Tracker <[EMAIL PROTECTED]> __ _

[issue1732367] Document the constants in the socket module

2008-05-12 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: Yes, having a subsection describing such things would be a cool idea. Please don't leave behind this ticket. -- nosy: +giampaolo.rodola _ Tracker <[EMAIL PROTECTED]>

[issue2819] Full precision summation

2008-05-12 Thread Jean Brouwers
Jean Brouwers <[EMAIL PROTECTED]> added the comment: It turns out, float('nan') creates a Nan and float('[+|-]inf') creates a [signed] Infinity object. That answers my earlier question. /Jean Brouwers __ Tracker <[EMAIL PROTECTED]>

[issue2819] Full precision summation

2008-05-12 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: > One related issue is testing these, how can a NaN and +/-Infinity > float object be created in Python? In 2.6 and 3.0 (but not 2.5 and older), float('nan'), float('inf') and float('-inf') should all work reliably across platforms (or at l

[issue2821] unittest.py sys.exit error

2008-05-12 Thread Adam Getchell
Adam Getchell <[EMAIL PROTECTED]> added the comment: Agreed. C:\Projects\Python>python randomunittest.py ... -- Ran 3 tests in 0.003s OK C:\Projects\Python> > -Original Message- > From: Georg Brandl [mailto:[EMAIL PRO

[issue2775] Implement PEP 3108

2008-05-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: -- dependencies: +Moving lib-tk to tkinter package __ Tracker <[EMAIL PROTECTED]> __ ___ Python-b

[issue2839] Moving lib-tk to tkinter package

2008-05-12 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: I'm moving lib-tk to a tkinter package, I've sent a patch for this which can be found at issue 2775 but I started wrong (did a patch against py3k directly). -- components: Library (Lib) messages: 66747 nosy: gpolo severity: normal s

[issue2838] Verify callback for SSL

2008-05-12 Thread Ruben Kerkhof
New submission from Ruben Kerkhof <[EMAIL PROTECTED]>: I've been playing with the new SSL module, and so far it works great. However, when using it to connect to a host with a self signed certificate, verification fails when I specify ssl.CERT_REQUIRED (as expected). I know that I'm connecting

[issue2819] Full precision summation

2008-05-12 Thread Jean Brouwers
Jean Brouwers <[EMAIL PROTECTED]> added the comment: My apologies for the messy post. I replied to the email instead of posting my response. /Jean Brouwers PS) Attached is *an* example of the math_sum() and cmath_sum() functions using the same, shared function float_sum(). Perhaps, that res

[issue1760] PEP 341 is not reflected in the documentation

2008-05-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Should be fixed now with r63175. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue1732367] Document the constants in the socket module

2008-05-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Is there progress on this? _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing li

[issue2077] Interpreter crash on shutdown

2008-05-12 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- status: pending -> closed superseder: -> shutdown (exit) can hang or segfault with daemon threads running __ Tracker <[EMAIL PROTECTED]> __

[issue1856] shutdown (exit) can hang or segfault with daemon threads running

2008-05-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Closed #2077 as a duplicate. -- nosy: +georg.brandl __ Tracker <[EMAIL PROTECTED]> __ ___ Py

[issue1749567] PLATFORM macro in PC/pyconfig.h already defined by Apache

2008-05-12 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- status: pending -> closed _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailin

[issue2243] urllib2. strange behavior for getting chuncked transfer-ecnoded data

2008-05-12 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- status: pending -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Un

[issue2758] arg 2 of PyErr_SetFromErrnoWithFilename should be const

2008-05-12 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> loewis nosy: +loewis __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailin

[issue2767] "doctest.DocTestCase.debug" clears "test.globs" too early

2008-05-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r63174. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue2766] Doubtfull code in 'doctest.DocTestSuite'

2008-05-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, the assignment to "globs" is indeed not necessary. Removed in r63173. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue2770] Subversion 1.5 Working Copies Break Setuptools

2008-05-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: This is now tracked in http://bugs.python.org/setuptools/issue4. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue2815] Python Manuals: horizontal scrolling broken

2008-05-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I added "overflow: auto" to the stylesheet for tags in r63167; this should give individual scrollbars for code samples not fitting the page width. -- resolution: -> fixed status: open -> closed __ Trac

[issue2836] str.format() documentation needs to be backported to 2.6

2008-05-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Okay, backported (mostly copied) the docs, and added the whatsnew link, in r63166. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

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

2008-05-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Okay, thank you all! Committed patch as r63164. -- resolution: -> accepted status: open -> closed _ Tracker <[EMAIL PROTECTED]>

[issue1712742] pprint handles depth argument incorrectly

2008-05-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Closing as dupe of the patch issue. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> fix for 1712742: corrects pprint's handling of 'depth' _ Tracker <[EMAIL PR

[issue2819] Full precision summation

2008-05-12 Thread Jean Brouwers
Jean Brouwers <[EMAIL PROTECTED]> added the comment: Mark, Thank you very much for your comments. Here is my initial response to the first 3. (1) Attached is an attempt to address the 1st issue (just the mathmodule). The macros PyFPE_START_PROTECT/_END_PROTECT have been moved outside the main l

[issue2821] unittest.py sys.exit error

2008-05-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: This is an IDLE problem then. -- assignee: -> kbk components: +IDLE -Library (Lib) nosy: +kbk __ Tracker <[EMAIL PROTECTED]> __ ___

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

2008-05-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Okay, I'm closing this one. If you find further clashes, feel free to open a new bug. Thanks for the update! -- resolution: -> works for me status: open -> closed _ Tracker <[EMAIL PROTECTED]>

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

2008-05-12 Thread thechao
thechao <[EMAIL PROTECTED]> added the comment: This bug has been resolved. The new C++ keyword has been changed from "where" to "requires". I will go look for requires. I can either add other potential collisions here, or start a new bug. Other potential problems are "typedecl" and "constexpr".

[issue2837] OpenID wannabe

2008-05-12 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: If you are talking about tracker users, please report that to the meta tracker (see Report Tracker Problem to the left): http://psf.upfronthosting.co.za/roundup/meta If you are talking about other kinds of registered users, please be more e

[issue2837] OpenID wannabe

2008-05-12 Thread anatoly techtonik
New submission from anatoly techtonik <[EMAIL PROTECTED]>: I haven't found any traces of requests to add OpenID URLs for authentication into account details for registered users, so I take the privilege to be the first one to say that it will be handy. -- components: None messages: 66729

[issue2824] zipfile to handle duplicate files in archive

2008-05-12 Thread anatoly techtonik
anatoly techtonik <[EMAIL PROTECTED]> added the comment: How about adding optional "replace=True" attribute to the write method? So that people who are not aware enough to adjust the code and handle new warning could still get valid archives. __ Tracker <[EMAIL PR

[issue2834] re.IGNORECASE not Unicode-ready

2008-05-12 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Try adding re.LOCALE to the flags. I'm not sure why that is needed but it seems to fix this issue. I still think this is a legitimate bug though. -- nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]>

[issue2835] Py30a5: webbrowser.open() inf recursion

2008-05-12 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Corrected as r63163. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue2835] Py30a5: webbrowser.open() inf recursion

2008-05-12 Thread Mark Summerfield
Mark Summerfield <[EMAIL PROTECTED]> added the comment: On 2008-05-12, Amaury Forgeot d'Arc wrote: > Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: > > The traceback suggest a problem when using KDE: a call to file() was > renamed to open(), this clashes with webbrowser.open(). > Can

[issue2833] __exit__ silences the active exception

2008-05-12 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: This problem was introduced by r62847. -- nosy: +amaury.forgeotdarc __ Tracker <[EMAIL PROTECTED]> __ __

[issue2835] Py30a5: webbrowser.open() inf recursion

2008-05-12 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: The traceback suggest a problem when using KDE: a call to file() was renamed to open(), this clashes with webbrowser.open(). Can you try the following patch: Index: Lib/webbrowser.py =

[issue2835] Py30a5: webbrowser.open() inf recursion

2008-05-12 Thread Mark Summerfield
Mark Summerfield <[EMAIL PROTECTED]> added the comment: I get the same bug on Fedora 8 (Python build 63161) and Kubuntu 8 (official Py30a5 release)---but not on Windows XP Home where the URL is opened correctly. Python 3.0a5+ (py3k:60668:63161, May 12 2008, 14:46:40) [GCC 4.1.2 20070925 (Red Hat

[issue2835] Py30a5: webbrowser.open() inf recursion

2008-05-12 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: It doesn't happen here, I'm using Linux too (Ubuntu 8.04) and py3k rev 63074 -- nosy: +gpolo versions: +Python 2.6 -Python 3.0 __ Tracker <[EMAIL PROTECTED]>

[issue2798] Crash on non-Windows if Python runs from a non-ASCII directory

2008-05-12 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Committed as r63161, with tests. Thanks! Now let's work on the Windows case... -- nosy: +amaury.forgeotdarc resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue1858] Make .pypirc handle multiple servers

2008-05-12 Thread Tarek Ziadé
Tarek Ziadé <[EMAIL PROTECTED]> added the comment: Thanks for the integration work ! I was wondering: since it superseeds two bugs (issue1741, issue2166) that where marked to be backported in 2.5.x, should I write 2.5 specific patches for those particular fixes ? (windows paths related issues)

[issue2836] str.format() documentation needs to be backported to 2.6

2008-05-12 Thread Eric Smith
Eric Smith <[EMAIL PROTECTED]> added the comment: When backporting to 2.6, this needs to be documented for both str and unicode. __ Tracker <[EMAIL PROTECTED]> __ __

[issue2836] str.format() documentation needs to be backported to 2.6

2008-05-12 Thread Eric Smith
New submission from Eric Smith <[EMAIL PROTECTED]>: 3.0 has documentation for str.format(), but that documentation is missing in 2.6. The 2.6 what's new document: http://docs.python.org/dev/whatsnew/2.6.html also has an XXX reference to this: "Consult the 2.6 documentation for a complete list (

[issue2835] Py30a5: webbrowser.open() inf recursion

2008-05-12 Thread Mark Summerfield
New submission from Mark Summerfield <[EMAIL PROTECTED]>: There appears to be an infinite recursion in Py30a5 (doing the same thing in Py2.5.1 works fine): Python 3.0a5 (r30a5:62856, May 9 2008, 11:23:06) [GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2 Type "copyright", "credits" or "license

[issue2834] re.IGNORECASE not Unicode-ready

2008-05-12 Thread Sven Siegmund
New submission from Sven Siegmund <[EMAIL PROTECTED]>: re cannot ignore case of special latin characters: Python 3.0a5 (py3k:62932M, May 9 2008, 16:23:11) [MSC v.1500 32 bit (Intel)] on win32 >>> 'Á'.lower() == 'á' and 'á'.upper() == 'Á' True >>> import re >>> rx = re.compile('Á', re.IGNORECAS

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

2008-05-12 Thread David Fraser
David Fraser <[EMAIL PROTECTED]> added the comment: Yes that's fantastic, thanks :-) __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list

[issue2833] __exit__ silences the active exception

2008-05-12 Thread Dmitry Dvoinikov
New submission from Dmitry Dvoinikov <[EMAIL PROTECTED]>: If a context manager is used within exception handling block, the active exception is silenced after the context block completes and __exit__ exits. try: raise Exception("foo") except: with SomeContextManager(): pass r

[issue2831] Adding start to enumerate()

2008-05-12 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: FWIW, at one point, Guido rejected all variants of the idea. His first objection was that enumerate() is all about pairing values with sequence indices, so starting from anything other than zero is in conflict with the core concept. Hi