| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
raised an exception properly when __file__ is not set, __name__ == '__main__',
and sys.argv[0] is a false value.
Closes issue2743.
|
| |
|
|
|
|
|
|
|
| |
warnings.showwarning() was being used. This broke pre-existing replacements for
the function since they didn't support the extra argument.
Closes issue 2705.
|
|
|
|
| |
Py3k warnings to the use of this function soon.
|
|
|
|
|
|
| |
Some other minor updates in _warnings.c:
- make a function static
- rename a shadowing local variable
|
| |
|
|
'warnings' code in places where it was previously not possible (e.g., the
parser). It could also potentially lead to a speed-up in interpreter start-up
if the C version of the code (_warnings) is imported over the use of the
Python version in key places.
Closes issue #1631171.
|