Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow for the possibility that globals['__name__'] does not exist; | Guido van Rossum | 2001-08-31 | 1 | -1/+4 |
| | | | | | substitute "<string>" for the module name in that case. This actually occurred when running test_descr.py with -Dwarn. | ||||
* | Ignore OverflowWarning by default. To enable the warning, use | Guido van Rossum | 2001-08-23 | 1 | -0/+1 |
| | | | | | | | | python -Wdefault or python -Wdefault::OverflowWarning | ||||
* | final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be | Skip Montanaro | 2001-03-01 | 1 | -0/+3 |
| | | | | giving it a slight facelift | ||||
* | Move a comment around to where it belongs (the code had alrady been | Guido van Rossum | 2001-02-28 | 1 | -1/+1 |
| | | | | moved). | ||||
* | Add a new API: | Guido van Rossum | 2001-02-28 | 1 | -0/+10 |
| | | | | | | | | | warn_explicit(message, category, filename, lineno, module, registry) The regular warn() call calculates a bunch of values and calls warn_explicit() with these. This will be used to issue better syntax warnings. | ||||
* | Whitespace normalization. Top level of Lib now fixed-point for reindent.py! | Tim Peters | 2001-01-15 | 1 | -23/+23 |
| | |||||
* | - Added keyword argument 'append' to filterwarnings(); if true, this | Guido van Rossum | 2001-01-14 | 1 | -5/+10 |
| | | | | | | | appends to list of filters instead of inserting at the front. This is useful to add a filter with a lower priority than -W options. - Cosmetic improvements to a docstring and an error message. | ||||
* | Improve error messages for invalid warning arguments; don't raise | Guido van Rossum | 2000-12-19 | 1 | -4/+10 |
| | | | | exceptions but always print a warning message. | ||||
* | Python part of the warnings subsystem. | Guido van Rossum | 2000-12-15 | 1 | -0/+227 |