<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/_hotshot.c, branch 2.4</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_hotshot.c?h=2.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_hotshot.c?h=2.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-08-19T07:48:06Z</updated>
<entry>
<title>Patch #1540329: _hotshot.c fix backports.</title>
<updated>2006-08-19T07:48:06Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-08-19T07:48:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d0bcffe17a8ed016c4de101c4372b827963285e9'/>
<id>urn:sha1:d0bcffe17a8ed016c4de101c4372b827963285e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Backport of r41629: hotshot generated half-meaningless numbers since the</title>
<updated>2006-03-20T09:37:16Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2006-03-20T09:37:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2f58855af4def36979b7c78f9a3d1d0c4b62aea1'/>
<id>urn:sha1:2f58855af4def36979b7c78f9a3d1d0c4b62aea1</id>
<content type='text'>
introduction of C calls profiling events.
</content>
</entry>
<entry>
<title>Merge rev 42904 from the trunk.</title>
<updated>2006-03-11T04:55:45Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-03-11T04:55:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=82e8f3843490e7af0ac88e08491d597d64cd18a1'/>
<id>urn:sha1:82e8f3843490e7af0ac88e08491d597d64cd18a1</id>
<content type='text'>
_hotshot hotshot_profiler():  If write_header() returned
an error code, this let `self` leak.  This is a disaster
on Windows, since `self` already points to a newly-opened
file object, and it was impossible for Python code to
close the thing since the only reference to it was in a
blob of leaked C memory.

test_hotshot test_bad_sys_path():  This new test provoked
the C bug above.  This test passed, but left an open
"@test" file behind, which caused a massive cascade of
bogus test failures in later, unrelated tests on Windows.
Changed the test code to remove the @test file it leaves
behind, which relies on the change above to close that
file first.
</content>
</entry>
<entry>
<title>Backport trunk's r42878 (neal.norwitz):</title>
<updated>2006-03-07T12:08:42Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-03-07T12:08:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e34fc700fcdf0587592f3ccfb2caf5d474ac952a'/>
<id>urn:sha1:e34fc700fcdf0587592f3ccfb2caf5d474ac952a</id>
<content type='text'>
Thanks to Coverity, these were all reported by their Prevent tool.

and r42881 (thomas.wouters):

Don't DECREF a borrowed reference.
</content>
</entry>
<entry>
<title>SF bug #808756: refleaks in _hotshot.c.</title>
<updated>2004-08-03T08:33:55Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2004-08-03T08:33:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a41276956d9c269f42dd9d57561475160fe22031'/>
<id>urn:sha1:a41276956d9c269f42dd9d57561475160fe22031</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF patch #969180, hotshot incorrectly computes elapsed time by Jason</title>
<updated>2004-06-13T20:45:11Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2004-06-13T20:45:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7a135166f65232a39d1a607465bbd26ac993069a'/>
<id>urn:sha1:7a135166f65232a39d1a607465bbd26ac993069a</id>
<content type='text'>
Beardsley.

If the seconds are different, we still need to calculate the differences
between milliseconds.

Also, on a Gentoo Linux (2.6.5) dual Athlon MP box with glibc 2.3,
time can go backwards.  This probably happens when the process switches
the CPU it's running on.  Time can also go backwards when running NTP.
If we detect a negative time delta (ie, time went backwards), return
a delta of 0.  This prevents an illegal array access elsewhere.
I think it's safest to *not* update prev_timeofday in this case, so we
return without updating.

Backport candidate.
</content>
</entry>
<entry>
<title>Getting rid of all the code inside #ifdef macintosh too.</title>
<updated>2003-11-20T01:44:59Z</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2003-11-20T01:44:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=eddc1449bae39414aaf7a4f63ccd3b69c4fb069e'/>
<id>urn:sha1:eddc1449bae39414aaf7a4f63ccd3b69c4fb069e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Renamed PyObject_GenericGetIter to PyObject_SelfIter</title>
<updated>2003-03-17T19:46:11Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-03-17T19:46:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1da1dbf4586afbd6b5d5c3cf244a1a3ea0f4382b'/>
<id>urn:sha1:1da1dbf4586afbd6b5d5c3cf244a1a3ea0f4382b</id>
<content type='text'>
to more accurately describe what the function does.

Suggested by Thomas Wouters.
</content>
</entry>
<entry>
<title>Created PyObject_GenericGetIter().</title>
<updated>2003-03-17T08:35:49Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-03-17T08:35:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e0cce8f8f00bf2c070cb1f564d950d62530df377'/>
<id>urn:sha1:e0cce8f8f00bf2c070cb1f564d950d62530df377</id>
<content type='text'>
Factors out the common case of returning self.
</content>
</entry>
<entry>
<title>Patch #661760: Cygwin auto-import module patch</title>
<updated>2003-01-06T12:41:26Z</updated>
<author>
<name>Jason Tishler</name>
<email>jason@tishler.net</email>
</author>
<published>2003-01-06T12:41:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fb8595df4f9583ab9e83826cd782e0c18ba9cffa'/>
<id>urn:sha1:fb8595df4f9583ab9e83826cd782e0c18ba9cffa</id>
<content type='text'>
The attached patch enables shared extension
modules to build cleanly under Cygwin without
moving the static initialization of certain function
pointers (i.e., ones exported from the Python
DLL core) to a module initialization function.

Additionally, this patch fixes the modules that
have been changed in the past to accommodate
Cygwin.
</content>
</entry>
</feed>
