<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/methodobject.c, branch v2.1a2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/methodobject.c?h=v2.1a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/methodobject.c?h=v2.1a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2000-09-01T23:29:29Z</updated>
<entry>
<title>REMOVED all CWI, CNRI and BeOpen copyright markings.</title>
<updated>2000-09-01T23:29:29Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-09-01T23:29:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8586991099e4ace18ee94163a96b8ea1bed77ebe'/>
<id>urn:sha1:8586991099e4ace18ee94163a96b8ea1bed77ebe</id>
<content type='text'>
This should match the situation in the 1.6b1 tree.
</content>
</entry>
<entry>
<title>ANSI-fication of the sources.</title>
<updated>2000-07-09T06:03:25Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-07-09T06:03:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ee238b977fb7a58a4b88bdab087579d067df6451'/>
<id>urn:sha1:ee238b977fb7a58a4b88bdab087579d067df6451</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change copyright notice - 2nd try.</title>
<updated>2000-06-30T23:58:06Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-06-30T23:58:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ffcc3813d82e6b96db79f518f4e67b940a13ce64'/>
<id>urn:sha1:ffcc3813d82e6b96db79f518f4e67b940a13ce64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change copyright notice.</title>
<updated>2000-06-30T23:50:40Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-06-30T23:50:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fd71b9e9d496caa510dec56a9b69966558d6ba5d'/>
<id>urn:sha1:fd71b9e9d496caa510dec56a9b69966558d6ba5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix an error on AIX by using a proper cast.</title>
<updated>2000-06-30T22:46:04Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-06-30T22:46:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9a15c211cffefa2da5bda345ac162a6bbe0d69b7'/>
<id>urn:sha1:9a15c211cffefa2da5bda345ac162a6bbe0d69b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Trent Mick &lt;trentm@activestate.com&gt;:</title>
<updated>2000-06-30T15:01:00Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-06-30T15:01:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a44d353e2b6d947d36ab9d36c1fc84335a0878fe'/>
<id>urn:sha1:a44d353e2b6d947d36ab9d36c1fc84335a0878fe</id>
<content type='text'>
The common technique for printing out a pointer has been to cast to a long
and use the "%lx" printf modifier. This is incorrect on Win64 where casting
to a long truncates the pointer. The "%p" formatter should be used instead.

The problem as stated by Tim:
&gt; Unfortunately, the C committee refused to define what %p conversion "looks
&gt; like" -- they explicitly allowed it to be implementation-defined. Older
&gt; versions of Microsoft C even stuck a colon in the middle of the address (in
&gt; the days of segment+offset addressing)!

The result is that the hex value of a pointer will maybe/maybe not have a 0x
prepended to it.


Notes on the patch:

There are two main classes of changes:
- in the various repr() functions that print out pointers
- debugging printf's in the various thread_*.h files (these are why the
patch is large)


Closes SourceForge patch #100505.
</content>
</entry>
<entry>
<title>This patch addresses two main issues: (1) There exist some non-fatal</title>
<updated>2000-06-29T19:17:04Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-06-29T19:17:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=13634cf7a407202777285172a57cfcddb20a2047'/>
<id>urn:sha1:13634cf7a407202777285172a57cfcddb20a2047</id>
<content type='text'>
errors in some of the hash algorithms. For exmaple, in float_hash and
complex_hash a certain part of the value is not included in the hash
calculation. See Tim's, Guido's, and my discussion of this on
python-dev in May under the title "fix float_hash and complex_hash for
64-bit *nix"

(2) The hash algorithms that use pointers (e.g. func_hash, code_hash)
are universally not correct on Win64 (they assume that sizeof(long) ==
sizeof(void*))

As well, this patch significantly cleans up the hash code. It adds the
two function _Py_HashDouble and _PyHash_VoidPtr that the various
hashing routine are changed to use.

These help maintain the hash function invariant: (a==b) =&gt;
(hash(a)==hash(b))) I have added Lib/test/test_hash.py and
Lib/test/output/test_hash to test this for some cases.
</content>
</entry>
<entry>
<title>Vladimir Marangozov's long-awaited malloc restructuring.</title>
<updated>2000-05-03T23:44:39Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-05-03T23:44:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b18618dab7b6b85bb05b084693706e59211fa180'/>
<id>urn:sha1:b18618dab7b6b85bb05b084693706e59211fa180</id>
<content type='text'>
For more comments, read the patches@python.org archives.
For documentation read the comments in mymalloc.h and objimpl.h.

(This is not exactly what Vladimir posted to the patches list; I've
made a few changes, and Vladimir sent me a fix in private email for a
problem that only occurs in debug mode.  I'm also holding back on his
change to main.c, which seems unnecessary to me.)
</content>
</entry>
<entry>
<title>The rest of the changes by Trent Mick and Dale Nagata for warning-free</title>
<updated>2000-01-20T22:32:56Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-01-20T22:32:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bffd683f7356d92d4504b2bcaa7221fab3f52f4e'/>
<id>urn:sha1:bffd683f7356d92d4504b2bcaa7221fab3f52f4e</id>
<content type='text'>
compilation on NT Alpha.  Mostly added casts etc.
</content>
</entry>
<entry>
<title>When comparing bound methods, use identity test on the objects,</title>
<updated>1998-12-04T18:52:55Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-12-04T18:52:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=13fdf5e9170929671ab1ab7e58ecc141b07dceca'/>
<id>urn:sha1:13fdf5e9170929671ab1ab7e58ecc141b07dceca</id>
<content type='text'>
not equality test.
</content>
</entry>
</feed>
