zenlotus / argparse

Automatically exported from code.google.com/p/argparse
Other
0 stars 0 forks source link

Adjustments for Python 2.3? #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Argparse is great, but I'm wondering if you would be willing to accept
adjustments necessary to make argparse work on Python 2.3. If so, I can
provide the patch (since I'm using it successfully after some minor
changes). Redhat 4, which doesn't reach end-of-life until 2012 has Python
2.3 as its default Python.

What steps will reproduce the problem?
1. Run an argparse program on Python 2.3.

What is the expected output? What do you see instead?
That argparse would work. Instead, list comprehensions and the use of
sorted() cause errors. 

What version of the product are you using? On what operating system?
0.9.1 on Redhat/Scientific Linux 4.6

Please provide any additional information below.
You may contact me at jhoverZEBRA@bnlLION.gov (remove animals). 

Original issue reported on code.google.com by johnrho...@gmail.com on 1 May 2009 at 3:51

GoogleCodeExporter commented 9 years ago
Sure, attach your patch. I'm happy to make argparse work with Python 2.3 if 
there are
users for it.

Original comment by steven.b...@gmail.com on 1 May 2009 at 4:02

GoogleCodeExporter commented 9 years ago
Actually, no need to attach the patch. I went ahead and installed Python 2.3, 
fixed
the places that weren't working, and committed the results in r20. Please test 
it,
and let me know if there's anything that isn't working.

Original comment by steven.b...@gmail.com on 1 May 2009 at 4:23