<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_sys.py, branch v2.5c2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_sys.py?h=v2.5c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_sys.py?h=v2.5c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-07-25T04:07:22Z</updated>
<entry>
<title>current_frames_with_threads():  There's actually no way</title>
<updated>2006-07-25T04:07:22Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-07-25T04:07:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0c4a3b330d03097b729b115df236b37059585ed1'/>
<id>urn:sha1:0c4a3b330d03097b729b115df236b37059585ed1</id>
<content type='text'>
to guess /which/ line the spawned thread is in at the time
sys._current_frames() is called:  we know it finished
enter_g.set(), but can't know whether the instruction
counter has advanced to the following leave_g.wait().
The latter is overwhelming most likely, but not guaranteed,
and I see that the "x86 Ubuntu dapper (icc) trunk" buildbot
found it on the other line once.  Changed the test so it
passes in either case.
</content>
</entry>
<entry>
<title>SF bug 1524317: configure --without-threads fails to build</title>
<updated>2006-07-19T00:03:19Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-07-19T00:03:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=112aad3630975da8a949291faaab5c578442e9d2'/>
<id>urn:sha1:112aad3630975da8a949291faaab5c578442e9d2</id>
<content type='text'>
Moved the code for _PyThread_CurrentFrames() up, so it's no longer
in a huge "#ifdef WITH_THREAD" block (I didn't realize it /was/ in
one).

Changed test_sys's test_current_frames() so it passes with or without
thread supported compiled in.

Note that test_sys fails when Python is compiled without threads,
but for an unrelated reason (the old test_exit() fails with an
indirect ImportError on the `thread` module).  There are also
other unrelated compilation failures without threads, in extension
modules (like ctypes); at least the core compiles again.

Do we really support --without-threads?  If so, there are several
problems remaining.
</content>
</entry>
<entry>
<title>After approval from Anthony, merge the tim-current_frames</title>
<updated>2006-07-10T21:08:24Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-07-10T21:08:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=32a8361f2da758c1de662b6d5a1b780466e18cf9'/>
<id>urn:sha1:32a8361f2da758c1de662b6d5a1b780466e18cf9</id>
<content type='text'>
branch into the trunk.  This adds a new sys._current_frames()
function, which returns a dict mapping thread id to topmost
thread stack frame.
</content>
</entry>
<entry>
<title>Add test case for #43581.</title>
<updated>2006-04-03T11:05:39Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-04-03T11:05:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a8cd7a26d4f1417c53badaf70ec4d09aeadf3693'/>
<id>urn:sha1:a8cd7a26d4f1417c53badaf70ec4d09aeadf3693</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Disable a few other tests, that can't work if Python is compiled without</title>
<updated>2005-08-03T17:09:04Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2005-08-03T17:09:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4e41a4b64cb9e69d15ebe0cdf752c5e105318a94'/>
<id>urn:sha1:4e41a4b64cb9e69d15ebe0cdf752c5e105318a94</id>
<content type='text'>
Unicode support.
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2005-02-15T21:50:12Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2005-02-15T21:50:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f0db38dbf89c642bb43acb193c41e0329461be33'/>
<id>urn:sha1:f0db38dbf89c642bb43acb193c41e0329461be33</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Test that SystemExits are handled properly by the exit machinery.  I</title>
<updated>2005-02-15T15:26:11Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2005-02-15T15:26:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f0588583475fed46adac06dce59d82f7f34ca966'/>
<id>urn:sha1:f0588583475fed46adac06dce59d82f7f34ca966</id>
<content type='text'>
broke the "raise SystemExit(46)" case when doing new-style exceptions,
but I'd much rather have found out here than in test_tempfile (growl).
</content>
</entry>
<entry>
<title>New function sys.getcheckinterval(), to complement setcheckinterval().</title>
<updated>2003-07-06T18:36:54Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-07-06T18:36:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e5e065b6699b33244e58b798e7b17b39bf2945a0'/>
<id>urn:sha1:e5e065b6699b33244e58b798e7b17b39bf2945a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Combine the functionality of test_support.run_unittest()</title>
<updated>2003-05-01T17:45:56Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-05-01T17:45:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=21d3a32b99c5763444c34c189ef653ac9745f3c4'/>
<id>urn:sha1:21d3a32b99c5763444c34c189ef653ac9745f3c4</id>
<content type='text'>
and test_support.run_classtests() into run_unittest()
and use it wherever possible.

Also don't use "from test.test_support import ...", but
"from test import test_support" in a few spots.

From SF patch #662807.
</content>
</entry>
<entry>
<title>Reindent the new code properly.</title>
<updated>2003-03-01T03:25:41Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-03-01T03:25:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d6473d1ac573be8594beb486351907691b7aeb5b'/>
<id>urn:sha1:d6473d1ac573be8594beb486351907691b7aeb5b</id>
<content type='text'>
</content>
</entry>
</feed>
