[Python-Dev] Retrieve an arbitrary element from a set withoutremoving it (original) (raw)
Willi Richert w.richert at gmx.net
Mon Oct 26 22:14:11 CET 2009
- Previous message: [Python-Dev] Retrieve an arbitrary element from a set withoutremoving it
- Next message: [Python-Dev] Retrieve an arbitrary element from a set withoutremoving it
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
For those of you who want to tinker with it, I posted the patch against the current trunk at http://bugs.python.org/issue7212
Have fun, wr
Am Montag, 26. Oktober 2009 21:32:32 schrieb Guido van Rossum:
On Mon, Oct 26, 2009 at 1:19 PM, Antoine Pitrou <solipsis at pitrou.net> wrote: > Jesse Noller <jnoller gmail.com> writes: >> So far, fiddling with the PEP, I'm on the fence - adding a method to a >> built-in object type is sort of a grey area (at least in my mind). It >> depends on if doing so significantly alters the language/syntax. > > We have recently added things like float.fromhex() which IMHO shouldn't > be blocked by the moratorium (*), although they technically add a method > to a built-in. > > (*) it is a minor new feature aimed at catching up with some established > standard for an exact, non-ambiguous string representation of floats
Okay, so it remains a gray area.
- Previous message: [Python-Dev] Retrieve an arbitrary element from a set withoutremoving it
- Next message: [Python-Dev] Retrieve an arbitrary element from a set withoutremoving it
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]