[issue16142] ArgumentParser inconsistent with parse_known_args

2012-10-23 Thread Sam Breese
Sam Breese added the comment: Make that a few days. I fixed the case where the known arg is first, but not the other one. Will get to it soon, hopefully. -- ___ Python tracker <http://bugs.python.org/issue16

[issue16142] ArgumentParser inconsistent with parse_known_args

2012-10-21 Thread Sam Breese
Sam Breese added the comment: Writing a patch now. Should be ready in a few hours. -- nosy: +Sam.Breese ___ Python tracker <http://bugs.python.org/issue16

[issue15812] inspect.getframeinfo() cannot show first line

2012-09-30 Thread Sam Breese
Sam Breese added the comment: Here's a patch. Very, very simple, just changed that one line in inspect.py and wrote a highly primitive test case for inspect.getframeinfo. The test isn't actually testing the primary functionality right now, just this one bug. I can probably

[issue15812] inspect.getframeinfo() cannot show first line

2012-09-30 Thread Sam Breese
Sam Breese added the comment: Nevermind, replicated it. Changing start = max(start, 1) to start = max(start, 0) DOES fix. Writing a test case now. -- ___ Python tracker <http://bugs.python.org/issue15

[issue15812] inspect.getframeinfo() cannot show first line

2012-09-30 Thread Sam Breese
Sam Breese added the comment: Also, would you mind posting an example? I'm having trouble replicating. -- ___ Python tracker <http://bugs.python.org/is

[issue15812] inspect.getframeinfo() cannot show first line

2012-09-30 Thread Sam Breese
Sam Breese added the comment: Looking into this now. Should have a patch either later today or tommorow. -- nosy: +Sam.Breese ___ Python tracker <http://bugs.python.org/issue15