Comments (3)
This is actually a bug in Python 2.6, where they are generating spurious
DeprecationWarnings for any Exception object with a .message attribute:
http://bugs.python.org/issue5716
I'm a little nervous about committing your patch because it means that the tests
would no longer be checking that the .message attribute is correctly set.
Original comment by [email protected]
on 11 Jul 2009 at 5:21
from argparse.
Closing this as a WontFix - I'd rather have correct tests that issue a spurious
warning because of a Python bug than incorrect tests that don't issue the
warning.
Original comment by [email protected]
on 12 Jul 2009 at 10:23
- Changed state: WontFix
from argparse.
Makes sense. Thanks anyway!
Original comment by [email protected]
on 12 Jul 2009 at 11:31
from argparse.
Related Issues (20)
- Feature Request: Ability to remove argument groups HOT 1
- sub command set_defaults behaviour HOT 1
- Parsing multiple merged short options eats characters HOT 1
- Subcommands not printed in the same order they were added HOT 4
- __all__ is not complete HOT 1
- Handling arguments after -- HOT 3
- sha1sum of argparse-1.1.zip does not match HOT 3
- add_mutually_exclusive_group more than once has incorrectly formatted help. HOT 1
- re-license argparse package under same license as py 2.7 stdlib argparse code HOT 8
- argparse-1.1.zip is not same archive on pypi / on google code HOT 4
- About this issue tracker HOT 2
- argparse 1.2 incompatible with Python 3.1 HOT 10
- When -h is used, default values that fail should not matter HOT 2
- positional arguments before options cause all options to be in REMAINDER
- Argparse is not testable with nosetest HOT 1
- `choices=[...]` overrides `nargs='*'` HOT 1
- Serious issues with nested mutex groups in help output HOT 2
- Bug with negative numbers in scientific notation HOT 1
- pypi version does not handle empty arguments when fromfile_prefix_chars set (python issue 12353)
- .add_mutually_exclusive_group() only works when child of parser but not when a child of argument group
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argparse.