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/2001-August/016849.html below:

[Python-Dev] optimizing non-local object access

[Python-Dev] optimizing non-local object access [Python-Dev] optimizing non-local object accessFred L. Drake, Jr. fdrake@acm.org
Thu, 9 Aug 2001 16:28:28 -0400 (EDT)
Skip Montanaro writes:
 > see x=x/2 and I know x is an int, I can assume x/2 is also (or a float once
 > integer division returns floats).  Once ints can be subclassed, a devious

  When division can return a float, it isn't integer division any
more.  ;-)  We can always assume int//int is an integer, though.  But
only if we really have integers; subclasses are different.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation




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