Commit Graph

43527 Commits

Author SHA1 Message Date
Brian Curtin
afa88b5dac Fix #8584. Fix the skipping of a number of tests due to incorrect importing.
This undoes a previous attempt to fix some of the skips. Value and copy
come from sharedctypes rather than plain ctypes, and the test skipping is
then done at the class level rather than test-by-test.

There are zero skipped tests after the fix.
2010-10-07 01:12:19 +00:00
Victor Stinner
beb4135b8c PyUnicode_AsWideCharString() takes a PyObject*, not a PyUnicodeObject*
All unicode functions uses PyObject* except PyUnicode_AsWideChar(). Fix the
prototype for the new function PyUnicode_AsWideCharString().
2010-10-07 01:02:42 +00:00
Victor Stinner
ef12810f0c time: fix gcc warning
* Create format_arg variable to use the right types
 * Strip trailing spaces
2010-10-07 01:00:52 +00:00
Victor Stinner
4726e40e00 Rewrite RunMainFromImporter()
* fix argv0 reference counter if PyList_SetItem() fails
 * don't use complex if conditions, but a simple indentation and "goto error"
 * simplify error handling (remove Py_XDECREF(importer) from the error label)
 * don't set sys_path to NULL (it's useless, sys_path is a borrowed reference
   and sys_path is not a static variable)
 * try to write only one instruction per line for better readability
2010-10-06 23:24:57 +00:00
Victor Stinner
c08ec9fdba Create a subfunction for PySys_SetArgvEx()
Create sys_update_path() static function. Do nothing if argc==0.
2010-10-06 22:44:06 +00:00
Antoine Pitrou
7980eaa98d Issue #9759: GzipFile now raises ValueError when an operation is attempted
after the file is closed.  Patch by Jeffrey Finkelstein.
2010-10-06 21:21:18 +00:00
Antoine Pitrou
cd889af917 More new things in what's new 2010-10-06 21:13:56 +00:00
Antoine Pitrou
fa9c38d8e9 FakeSocket is (supposed to be) gone in 3.x 2010-10-06 18:38:22 +00:00
Brian Quinlan
1e2ae4f054 Fixes 9903: test_concurrent_futures writes on stderr 2010-10-06 13:05:45 +00:00
Georg Brandl
5ad8ed5f26 Update to Sphin 1.0.4. 2010-10-06 12:29:49 +00:00
Georg Brandl
19b3e00627 Fix the suspicious builder not to write CRLF, update suspicious file and add instructions to Makefile. 2010-10-06 10:35:24 +00:00
Georg Brandl
682d7e0e07 Fix errors found by "make suspicious". 2010-10-06 10:26:05 +00:00
Georg Brandl
fa4f7f97b8 Fix spelling and markup. 2010-10-06 10:14:08 +00:00
Georg Brandl
60203b41b0 Migrate to Sphinx 1.0 C language constructs. 2010-10-06 10:11:56 +00:00
Georg Brandl
64a41edb03 Copyedit of os.symlink() docs. 2010-10-06 08:52:48 +00:00
Georg Brandl
a102ae3426 #10034: import readline in longer example. 2010-10-06 05:08:32 +00:00
Amaury Forgeot d'Arc
b441554835 #2982 More test coverage for the pyexpat parser. 2010-10-05 23:14:47 +00:00
Amaury Forgeot d'Arc
90774dd47b #9060 Let platforms without dup2() compile the replacement fonction without error. 2010-10-05 22:15:37 +00:00
Senthil Kumaran
c08d9070db fix a typo. 2010-10-05 18:46:56 +00:00
Senthil Kumaran
242690f870 Remove the references of FTPS from the urllib Documentation. There is no support for it yet. 2010-10-05 18:35:41 +00:00
Antoine Pitrou
2f92e783b8 Fix test_tk under OS X with Tk 8.4. Patch by Ned Deily.
This should fix some buildbot failures.
2010-10-05 11:24:49 +00:00
Georg Brandl
eeed95538e Indent version tags properly. 2010-10-05 07:16:01 +00:00
Éric Araujo
ef777bd3d3 Fix news entry formatting nits 2010-10-05 00:04:20 +00:00
Éric Araujo
6108bf5ed0 Fix interaction of custom translation classes and caching (#9042) 2010-10-04 23:52:37 +00:00
Éric Araujo
701761693c Recode developers.txt to UTF-8, as discussed on python-dev.
Fix Łukasz’ name and also remove trailing whitespace.  See thread at
http://mail.python.org/pipermail/python-dev/2010-September/103584.html
2010-10-04 22:32:36 +00:00