Issue4568
Created on 2008-12-06 23:09 by gregg.lind, last changed 2008-12-15 17:06 by georg.brandl.
|
msg77185 - (view) |
Author: Gregg Lind (gregg.lind) |
Date: 2008-12-06 23:09 |
|
In the trunk (r67617) documentation for *optparse* callback example 6
doesn't handle negative number arguments, and fixing it is "left as an
exercise for the reader." Well, I'm a reader, and I've attached my stab
at it. Caveat: It relies in trying to coerce the argument into a
float... maybe there's a cleaner way to do it?
(This is my first patch, so I apologize if I've fouled it up in some
way, particularly in the headers of the patch format.)
|
|
msg77513 - (view) |
Author: Martin v. Löwis (loewis) |
Date: 2008-12-10 09:00 |
|
The 2.5 documentation is not in .rst, so I remove these versions.
|
|
msg77855 - (view) |
Author: Georg Brandl (georg.brandl) |
Date: 2008-12-15 09:08 |
|
I've reformatted and rewritten your patch a bit and applied it as
r67788. Thanks!
|
|
msg77875 - (view) |
Author: Gregg Lind (gregg.lind) |
Date: 2008-12-15 16:48 |
|
This patch should also be applied into the py3k branch, probably. Good
catch on updating rargs, btw.
|
|
msg77877 - (view) |
Author: Georg Brandl (georg.brandl) |
Date: 2008-12-15 17:06 |
|
Yes, it will be merged to py3k automatically; we normally merge smaller
changes in batches.
|
|
| Date |
User |
Action |
Args |
| 2008-12-15 17:06:56 | georg.brandl | set | messages:
+ msg77877 |
| 2008-12-15 16:48:27 | gregg.lind | set | messages:
+ msg77875 |
| 2008-12-15 09:08:04 | georg.brandl | set | status: open -> closed resolution: accepted messages:
+ msg77855 |
| 2008-12-10 09:00:47 | loewis | set | nosy:
+ loewis messages:
+ msg77513 versions:
- Python 2.5, Python 2.5.3 |
| 2008-12-08 02:42:26 | gregg.lind | set | versions:
+ Python 2.6, Python 2.5, Python 3.0, Python 3.1, Python 2.7, Python 2.5.3 |
| 2008-12-06 23:09:37 | gregg.lind | create | |
|