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
__
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
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
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
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
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
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
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
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
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
10 matches
Mail list logo