On 9/07/2010 8:30 PM, Chris Withers wrote:
> John Machin wrote:If that is so, your intention has always not been carried out, and you
>> On 9/07/2010 8:50 AM, Chris Withers wrote:
>>> John Machin wrote:
>>>> This could be achieved using a dummy arg e.g. ws.write(rowx, colx,
>>>> "new data", style=Style.SAME_STYLE) which would cause the existing
>>>> style to be used if overwriting a cell, otherwise the vanilla
>>>> style). Comments please.
>>> My view is that the 3rd arg to write should be None by default,
>> The 3rd (not counting self) arg is a reference to the
> Sorry, >11pm error ;-) Lets call it the "style" parameter ;-)
>> The default 4th (style) arg is as I said a vanilla style and has
> I agree with the effect; cells written to a cell with no style should
> However, for me, the intention of leaving the style parameter at its
have not realised that. The effect of omitting the style arg has always
been to write a vanilla style. This existing behaviour should not be
> and so I consider it a bug that unless I explicitly ask"so"? Your reason for so considering has no foundation.
> for a style to be written, existing style information is destroyed.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.