A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-November/039952.html below:

[Python-Dev] test warnings for "%x"%id(foo) on 2.3 branch

[Python-Dev] test warnings for "%x"%id(foo) on 2.3 branch [Python-Dev] test warnings for "%x"%id(foo) on 2.3 branchAnthony Baxter anthony at interlink.com.au
Tue Nov 4 09:01:59 EST 2003
I'm seeing a couple of warnings that I don't remember seeing at
the time of the 2.3.2 release. Given what they are, it's possible
that it's just a random thing (whether the id is < 0 or not).

test_minidom
/home/anthony/src/py/23maint/Lib/xml/dom/minidom.py:797: FutureWarning: %u/%o/%x/%X of negative int will return a signed string in Python 2.4 and up
  return "<DOM Element: %s at %#x>" % (self.tagName, id(self))

test_repr
/home/anthony/src/py/23maint/Lib/test/test_repr.py:91: FutureWarning: %u/%o/%x/%X of negative int will return a signed string in Python 2.4 and up
  eq(r(i3), ("<ClassWithFailingRepr instance at %x>"%id(i3)))

Anyone want to suggest an appropriate fix, or fix them? Otherwise I'll
put it on the to-do list.

Anthony

More information about the Python-Dev mailing list

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