On Jun 9, 2004, at 5:09 PM, Nick Bastin wrote: > Not to dredge up a thread from 1.5 years ago, but I guess I will.. :-) > > Did anyone actually implement a __future__ import or SOMETHING to > disable the annoying "FutureWarning: hex/oct constants > sys.maxint > will return positive values in Python 2.4 and up". There was some > discussion that there should be a way to suppress this message before > 2.3 went out the door, but I don't see any indications on the mailing > list (or in the code) that there's any way to suppress the message. >>> import warnings >>> warnings.filterwarnings('ignore', category=FutureWarning) >>> 0xffffffff -1 -bob -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2357 bytes Desc: not available Url : http://mail.python.org/pipermail/python-dev/attachments/20040609/8c19770c/smime.bin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4