RE: [Rest2web-develop] Docs revision, "length" removal
Brought to you by:
mjfoord
|
From: Michael F. <mi...@pc...> - 2005-08-21 09:47:01
|
Hello Nicola,
-----Original Message-----
>From: "Nicola Larosa"<ni...@te...>
>Sent: 21/08/05 09:57:04
>To: "res...@li..."<res...@li...>
>Subject: [Rest2web-develop] Docs revision, "length" removal
>Completed revising configobj.txt, committed it in two steps: in the first
>one there's only trailing spaces removal, the real changes are in the
The docutils spec. Seemed to indicate that a trailing (or leading) space was needed where you break a line. I freely admit to not having tested this of course !
>second one. This way it may be easier reviewing the changes. Now I'm
>looking at validate.txt .
>
Great - are you making big changes ?
I made a few changes myself - but they should be easy enough to merge.
Nice one - thanks.
As I mention in my other email - I've been working on the other pythonutils modules and their docs.
>I'd like to remove the "length" argument for lists (and strings). It's
>redundant (one may set "min" and "max" to the same value), and probably it
>isn't used often to warrant special-casing it.
>
>Moreover, it prevents being able to write "list(1)" or "list(1,4)", forcing
>explicit specification: "list(min=1)", "list(min=1, max=4)", and making it
>incoherent with "integer" check definition.
>
>What do you think?
>
Ok - fine with me. Just do appropriate changes in docstrings/docs. I'm sure you would have anyway.
All the Best,
Fuzzyman
http://www.voidspace.org.uk/python
>--
>Nicola Larosa - ni...@te...
>
>PHP is such a load of crap, right down to the standard library, that it
>creates a culture where it's acceptable to write horrible code. [...]
>Maybe with PHP 5 they are trying to clean up the neighborhood, but that
>doesn't change the fact when you program in PHP you are programming in
>a dump. -- Ian Bicking, July 2005
>
>
>
> >
[Message truncated. Tap Edit->Mark for Download to get remaining portion.]
|