Re: [Python-3000] iostack, continued

2006-06-12 Thread Michael Chermside
Greg Ewing writes: > Be careful -- in Unix it's possible for different file > descriptors to share the same position pointer. Really? I had no idea. How does one invoke this behavior? How does current python (2.4) behave when subjected to this? -- Michael Chermside __

Re: [Python-3000] Assignment decorators, anyone?

2006-06-12 Thread Steven Bethard
On 6/8/06, Greg Ewing <[EMAIL PROTECTED]> wrote: > I think I've come across a use case for @decorators > on assignment statements. > > I have a function which is used like this: > >my_property = overridable_property('my_property', "This is my property.") > > However, it sucks a bit to have to w

[Python-3000] enhanced descriptors, part 2

2006-06-12 Thread tomer filiba
hrrrmpff.there really is a need for "enhanced descriptors", or something likethat. i'm having serious trouble implementing the position property, as python is currently limited in this area. the rules were:* when you assign a positive integer, it's an absolute position toseek to* when you assign a

[Python-3000] We should write a PEP on what goes into the stdlib

2006-06-12 Thread Brett Cannon
Right now a discussion is going on in python-dev about what is reasonable for special needs of developers who bring in modules to the stdlib.  This of course brings up the idea of slimming down the stdlib, having sumo releases, etc. That makes me think perhaps we should start thinking about collect

Re: [Python-3000] We should write a PEP on what goes into the stdlib

2006-06-12 Thread Raymond Hettinger
Brett Cannon wrote: > This is purely about figuring out what is required for accepting a > module and for pruning out what we don't want that we currently have. Well intentioned, but futile. Each case ultimately gets decided on its merits. Any one reason for inclusion or exclusion can be ou

Re: [Python-3000] We should write a PEP on what goes into the stdlib

2006-06-12 Thread Brett Cannon
One thing I forgot to say in the initial email was that I am being intentially heavy-handed with restrictions on people to get some dialog and see where people think things are okay and not. On 6/12/06, Raymond Hettinger <[EMAIL PROTECTED]> wrote: Brett Cannon wrote:> This is purely about figuring

[Python-3000] PEP 3101 update

2006-06-12 Thread Rudy Rudolph
Is it possible to support two additional string formatting features without overly complicating the whole thing? It would be nice to have align centered and align on decimal point. Centered would add fill chars both before and after the value. If an odd number of fill chars must be added, the ext

Re: [Python-3000] iostack, continued

2006-06-12 Thread Greg Ewing
Michael Chermside wrote: > Greg Ewing writes: > >> Be careful -- in Unix it's possible for different file >> descriptors to share the same position pointer. > > Really? I had no idea. > > How does one invoke this behavior? It happens every time you fork, and the child process inherits copies of

Re: [Python-3000] PEP 3101 update

2006-06-12 Thread Greg Ewing
Rudy Rudolph wrote: > However, with > 'g' formatting the number of digits after the point may vary and there > may not even be a decimal point. In this case, a column of numbers > should be aligned at the last digit of the integer part. How do you do that when you're formatting one string at a tim

Re: [Python-3000] Third-party annotation libraries vs the stdlib

2006-06-12 Thread Tony Lownds
On Jun 11, 2006, at 5:00 AM, Collin Winter wrote: > In working on the annotations PEP, I've run into more issues > concerning the balance of responsibility between third-party libraries > and the stdlib. > > So far, the trend has been to push responsibility for manipulating and > interpreting ann