- 25 Nis, 2010 1 kayıt (commit)
-
-
Brett Cannon yazdı
by default as well. This change fixes that by treating -Q like -3 when it comes to DeprecationWarning; using it causes the silencing to not occur. Fixes issue #7319.
-
- 07 Mar, 2010 1 kayıt (commit)
-
-
Florent Xicluna yazdı
-
- 14 Ock, 2010 1 kayıt (commit)
-
-
Brett Cannon yazdı
Py3K warnings are DeprecationWarning by default this was causing -3 to essentially be a no-op. Now DeprecationWarning is only silenced if -3 is not used. Closes issue #7700. Thanks Ezio Melotti and Florent Xicluna for patch help.
-
- 10 Ock, 2010 1 kayıt (commit)
-
-
Brett Cannon yazdı
This was originally suggested by Guido, discussed on the stdlib-sig mailing list, and given the OK by Guido directly to me. What this change essentially means is that Python has taken a policy of silencing warnings that are only of interest to developers by default. This should prevent users from seeing warnings which are triggered by an application being run against a new interpreter before the app developer has a chance to update their code. Closes issue #7319. Thanks to Antoine Pitrou, Ezio Melotti, and Brian Curtin for helping with the issue.
-
- 23 Eki, 2009 1 kayıt (commit)
-
-
Neil Schemenauer yazdı
-
- 11 Mar, 2009 1 kayıt (commit)
-
-
Brett Cannon yazdı
Was a DeprecationWarning for not supporting it since Python 2.6. Closes issue #3652.
-
- 11 Eyl, 2008 1 kayıt (commit)
-
-
Nick Coghlan yazdı
Issue #3781: Final cleanup of warnings.catch_warnings and its usage in the test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
-
- 09 Eyl, 2008 1 kayıt (commit)
-
-
Brett Cannon yazdı
WarningsRecorder object. This makes the API simpler to use as no special object must be learned. Closes issue 3781. Review by Benjamin Peterson.
-
- 05 Eyl, 2008 1 kayıt (commit)
-
-
Brett Cannon yazdı
Closes issue 3776. Review by Nick Coghlan.
-
- 02 Eyl, 2008 1 kayıt (commit)
-
-
Brett Cannon yazdı
catch_warnings(), and clean up the API. While expanding the test suite, a bug was found where a warning about the 'line' argument to showwarning() was not letting functions with '*args' go without a warning. Closes issue 3602. Code review by Benjamin Peterson.
-
- 27 Haz, 2008 1 kayıt (commit)
-
-
Brett Cannon yazdı
bus errors or SystemError being raised. As a side effect of fixing this, a bad DECREF that could be triggered when 'message' and 'category' were both None was fixed. Closes issue 3211. Thanks JP Calderone for the bug report.
-
- 07 May, 2008 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 06 May, 2008 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
Make the Python implementation of warnings compatible with the C implementation regarding non-callable showwarning
-
- 05 May, 2008 2 kayıt (commit)
-
-
Brett Cannon yazdı
showwarning API. Turns out 'inspect' uses 'operator' which is an extension module. That's a problem when it has not been built yet by setup.py.
-
Brett Cannon yazdı
that lacks support for the new 'line' argument.
-
- 12 Nis, 2008 1 kayıt (commit)
-
-
Brett Cannon yazdı
'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.
-
- 27 Kas, 2007 1 kayıt (commit)
-
-
Christian Heimes yazdı
Also added a warning.warnpy3k() as convenient method for Python 3.x related deprecation warnings.
-
- 06 Tem, 2006 1 kayıt (commit)
-
-
Nick Coghlan yazdı
-
- 22 Haz, 2006 1 kayıt (commit)
-
-
Brett Cannon yazdı
both a subclass of Warning and a subclass of types.ClassType. The latter is no longer true thanks to new-style exceptions. Closes bug #1510580. Thanks to AMK for the test.
-
- 09 Haz, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
Occurences in email and compiler were ignored due to backwards compat requirements.
-
- 27 May, 2006 1 kayıt (commit)
-
-
Richard Jones yazdı
-
- 11 Nis, 2006 1 kayıt (commit)
-
-
Phillip J. Eby yazdı
to work correctly with modules imported from zipfiles or via other PEP 302 __loader__ objects. Tests and doc updates are included.
-
- 01 Mar, 2006 1 kayıt (commit)
-
-
Brett Cannon yazdı
added message attribute compared to the previous version of Exception. It is also a new-style class, making all exceptions now new-style. KeyboardInterrupt and SystemExit inherit from BaseException directly. String exceptions now raise DeprecationWarning. Applies patch 1104669, and closes bugs 1012952 and 518846.
-
- 13 Ock, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
when it can't find out the module name it generates a warning for.
-
- 26 Haz, 2005 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 06 Şub, 2005 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 29 Ara, 2004 1 kayıt (commit)
-
-
Walter Dörwald yazdı
-
- 25 Agu, 2004 1 kayıt (commit)
-
-
Tim Peters yazdı
happen in 2.3, but nobody noticed it still was getting generated (the warning was disabled by default). OverflowWarning and PyExc_OverflowWarning should be removed for 2.5, and left notes all over saying so.
-
- 21 Mar, 2004 1 kayıt (commit)
-
-
Tim Peters yazdı
Removed the entire __name__ == '__main__' block.
-
- 12 Şub, 2004 1 kayıt (commit)
-
-
Walter Dörwald yazdı
From SF patch #852334.
-
- 11 Tem, 2003 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
Add API function simplefilter() that does not create or install regular expressions to match message or module. Extend the filters data structure to store None as an alternative to re.compile(""). Move the _test() function to test_warnings and add some code to try and avoid disturbing the global state of the warnings module.
-
- 14 May, 2003 1 kayıt (commit)
-
-
Skip Montanaro yazdı
-
- 19 Şub, 2003 1 kayıt (commit)
-
-
Mark Hammond yazdı
-
- 14 Eki, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 11 Eyl, 2002 1 kayıt (commit)
-
-
Mark Hammond yazdı
-
- 03 Haz, 2002 1 kayıt (commit)
-
-
Walter Dörwald yazdı
x in string.whitespace => x.isspace() type(x) in types.StringTypes => isinstance(x, basestring) isinstance(x, types.StringTypes) => isinstance(x, basestring) type(x) is types.StringType => isinstance(x, str) type(x) == types.StringType => isinstance(x, str) string.split(x, ...) => x.split(...) string.join(x, y) => y.join(x) string.zfill(x, ...) => x.zfill(...) string.count(x, ...) => x.count(...) hasattr(types, "UnicodeType") => try: unicode except NameError: type(x) != types.TupleTuple => not isinstance(x, tuple) isinstance(x, types.TupleType) => isinstance(x, tuple) type(x) is types.IntType => isinstance(x, int) Do not mention the string module in the rlcompleter docstring. This partially applies SF patch http://www.python.org/sf/562373 (with basestring instead of string). (It excludes the changes to unittest.py and does not change the os.stat stuff.)
-
- 01 Haz, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 29 May, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
that are in the process of deprecation (PendingDeprecationWarning). Docs could be improved.
-
- 16 Nis, 2002 2 kayıt (commit)
-
-
Tim Peters yazdı
-
Tim Peters yazdı
-