]> granicus.if.org Git - python/log
python
17 years agoBackport checkin:
Walter Dörwald [Wed, 9 May 2007 18:10:47 +0000 (18:10 +0000)]
Backport checkin:
Fix a segfault when b"" was passed to b2a_qp() -- it was using strchr()
instead of memchr().

17 years agoAdd markup for True/False. Will backport
Neal Norwitz [Wed, 9 May 2007 06:43:15 +0000 (06:43 +0000)]
Add markup for True/False.  Will backport

17 years agoFix a bug in test.test_support.open_urlresource().
Collin Winter [Wed, 9 May 2007 04:14:36 +0000 (04:14 +0000)]
Fix a bug in test.test_support.open_urlresource().

If the call to requires() doesn't precede the filesystem check, we get the following situation:
1. ./python Lib/test/regrtest.py test_foo # test needs urlfetch, not enabled, so skipped
2. ./python Lib/test/regrtest.py -u urlfetch test_foo # test runs
3. ./python Lib/test/regrtest.py test_foo # test runs (!)

By moving the call to requires() *before* the filesystem check, the fact that fetched files are cached on the local disk becomes an implementation detail, rather than a semantics-changing point of note.

17 years agoAs per Armin Rigo's suggestion, remove special handing from intobject.c to deal with...
Kristján Valur Jónsson [Mon, 7 May 2007 16:46:54 +0000 (16:46 +0000)]
As per Armin Rigo's suggestion, remove special handing from intobject.c to deal with the peculiarities of classobject's implementation of the number protocol.  The nb_long method of classobject now falls back to nb_int if there is no __long__ attribute present.

18 years agoVerify changes to the trunk go to the normal checkins list
Neal Norwitz [Mon, 7 May 2007 07:02:26 +0000 (07:02 +0000)]
Verify changes to the trunk go to the normal checkins list

18 years agoUpdates of recent changes to logging.
Vinay Sajip [Sun, 6 May 2007 17:53:37 +0000 (17:53 +0000)]
Updates of recent changes to logging.

18 years agoBug #1713535: typo in logging example.
Georg Brandl [Sat, 5 May 2007 18:55:37 +0000 (18:55 +0000)]
Bug #1713535: typo in logging example.

18 years agoDeprecate BaseException.message as per PEP 352.
Brett Cannon [Sat, 5 May 2007 01:34:02 +0000 (01:34 +0000)]
Deprecate BaseException.message as per PEP 352.

18 years agoOops, these tests do not run on Windows CE.
Thomas Heller [Fri, 4 May 2007 19:56:32 +0000 (19:56 +0000)]
Oops, these tests do not run on Windows CE.

18 years agoDo not truncate 64-bit pointers to 32-bit integers.
Thomas Heller [Fri, 4 May 2007 19:54:22 +0000 (19:54 +0000)]
Do not truncate 64-bit pointers to 32-bit integers.

Fixes SF #1703286, will backport to release25-maint.

18 years agoMinor fix of PCBuild8/_ctypes vcproj, moving include dir into the .vsprops file.
Kristján Valur Jónsson [Fri, 4 May 2007 17:28:06 +0000 (17:28 +0000)]
Minor fix of PCBuild8/_ctypes vcproj, moving include dir into the .vsprops file.

18 years agoUpdate the pcbuild8 solution. Straightened out the _ctypes project by using a .vspro...
Kristján Valur Jónsson [Fri, 4 May 2007 15:48:15 +0000 (15:48 +0000)]
Update the pcbuild8 solution.  Straightened out the _ctypes project by using a .vsproj file and a masm64.rules file to avoid redundancy

18 years agoOn 64-bit Windows, ffi_arg must be 8 bytes long. This fixes the
Thomas Heller [Fri, 4 May 2007 08:20:41 +0000 (08:20 +0000)]
On 64-bit Windows, ffi_arg must be 8 bytes long.  This fixes the
remaining crashes in the ctypes tests, when functions return float or
double types.

18 years agoFix some ctypes test crashes, when running with a debug Python
Thomas Heller [Fri, 4 May 2007 07:14:39 +0000 (07:14 +0000)]
Fix some ctypes test crashes, when running with a debug Python
version on win64 by using proper argtypes and restype function
attributes.

18 years agoRevert compiler comment to AMD64 for x64/AMD64 builds.
Kristján Valur Jónsson [Fri, 4 May 2007 00:25:08 +0000 (00:25 +0000)]
Revert compiler comment to AMD64 for x64/AMD64 builds.

18 years agoFix problems in x64 build that were discovered by the testsuite:
Kristján Valur Jónsson [Thu, 3 May 2007 20:27:03 +0000 (20:27 +0000)]
Fix problems in x64 build that were discovered by the testsuite:
- Reenable modules on x64 that had been disabled aeons ago for Itanium.
- Cleared up confusion about compilers for 64 bit windows.  There is only Itanium and x64.  Added macros MS_WINI64 and MS_WINX64 for those rare cases where it matters, such as the disabling of modules above.
- Set target platform (_WIN32_WINNT and WINVER) to 0x0501 (XP) for x64, and 0x0400 (NT 4.0) otherwise, which are the targeted minimum platforms.
- Fixed thread_nt.h.  The emulated InterlockedCompareExchange function didn´t work on x64, probaby due to the lack of a "volatile" specifier.  Anyway, win95 is no longer a target platform.
- Itertools module used wrong constant to check for overflow in count()
- PyInt_AsSsize_t couldn't deal with attribute error when accessing the __long__ member.
- PyLong_FromSsize_t() incorrectly specified that the operand were unsigned.

With these changes, the x64 passes the testsuite, for those modules present.

18 years agoFix those parts in the testsuite that assumed that sys.maxint would cause overflow...
Kristján Valur Jónsson [Thu, 3 May 2007 20:09:56 +0000 (20:09 +0000)]
Fix those parts in the testsuite that assumed that sys.maxint would cause overflow on x64.  Now the testsuite is well behaved on that platform.

18 years agoFix pcbuild8 after recent overhaul: Added the version resource to python26.dll....
Kristján Valur Jónsson [Thu, 3 May 2007 20:04:53 +0000 (20:04 +0000)]
Fix pcbuild8 after recent overhaul:  Added the version resource to python26.dll. Adjust stacksize to 2Mb and made large address aware for 32 bits, and set stacksize to 3Mb for 64 bits.
Todo:  Set .dll optimized load addresses, and side-by-side packaging of the python26.dll.

18 years agoClarify the behaviour of PyUnicode_DecodeUTF16(): A BOM is only skipped
Walter Dörwald [Thu, 3 May 2007 15:13:55 +0000 (15:13 +0000)]
Clarify the behaviour of PyUnicode_DecodeUTF16(): A BOM is only skipped
in native order mode, and only if it's the first two bytes.

18 years agoDon't truncate pointers to integers (on win64 platform).
Thomas Heller [Thu, 3 May 2007 12:05:20 +0000 (12:05 +0000)]
Don't truncate pointers to integers (on win64 platform).

18 years agoFix building _ctypes.pyd for x64 / Windows.
Thomas Heller [Thu, 3 May 2007 12:02:08 +0000 (12:02 +0000)]
Fix building _ctypes.pyd for x64 / Windows.

18 years agoRemove dead code. This code couldn't be reached because earlier in
Neal Norwitz [Thu, 3 May 2007 07:20:57 +0000 (07:20 +0000)]
Remove dead code.  This code couldn't be reached because earlier in
the function there is another check for z != Py_None.

18 years agoHandle a couple of uncaught errors. This should be backported
Neal Norwitz [Thu, 3 May 2007 06:47:18 +0000 (06:47 +0000)]
Handle a couple of uncaught errors.  This should be backported

18 years agoActually raise an exception before calling ast_error_finish.
Georg Brandl [Wed, 2 May 2007 20:02:29 +0000 (20:02 +0000)]
Actually raise an exception before calling ast_error_finish.
Triggers an assertion otherwise.

18 years agoFix for #1303614 and #1174712:
Armin Rigo [Wed, 2 May 2007 19:23:31 +0000 (19:23 +0000)]
Fix for #1303614 and #1174712:
- __dict__ descriptor abuse for subclasses of built-in types
- subclassing from both ModuleType and another built-in types

Thanks zseil for the patch.

18 years agoStop using PyMem_FREE while the GIL is not held. For details see:
Neal Norwitz [Wed, 2 May 2007 04:47:55 +0000 (04:47 +0000)]
Stop using PyMem_FREE while the GIL is not held.  For details see:
http://mail.python.org/pipermail/python-dev/2007-May/072896.html

18 years agoAdded documentation for new optional credentials argument to SMTPHandler.__init__().
Vinay Sajip [Tue, 1 May 2007 10:21:45 +0000 (10:21 +0000)]
Added documentation for new optional credentials argument to SMTPHandler.__init__().

18 years agoAdded new optional credentials argument to SMTPHandler.__init__, and smtp.login(...
Vinay Sajip [Tue, 1 May 2007 10:20:03 +0000 (10:20 +0000)]
Added new optional credentials argument to SMTPHandler.__init__, and smtp.login() is now called in SMTPHandler.emit() if credentials are specified.

18 years agoPatch #1710352: add missing public functions to locale.__all__.
Georg Brandl [Tue, 1 May 2007 06:08:15 +0000 (06:08 +0000)]
Patch #1710352: add missing public functions to locale.__all__.

18 years agoBug #1710295: exceptions are now new-style classes.
Georg Brandl [Tue, 1 May 2007 06:04:11 +0000 (06:04 +0000)]
Bug #1710295: exceptions are now new-style classes.

18 years agoWhen accessing the .value attribute of a c_wchar_p instance, and the
Thomas Heller [Mon, 30 Apr 2007 16:04:57 +0000 (16:04 +0000)]
When accessing the .value attribute of a c_wchar_p instance, and the
instance does not point to a valid wchar_t zero-terminated string,
raise a ValueError.  c_char_p does this already.

The ValueError message now contains the correct pointer address.

Will backport to release25-maint.

18 years agoMake sure to call PyErr_NoMemory() in several places where
Thomas Heller [Mon, 30 Apr 2007 15:44:17 +0000 (15:44 +0000)]
Make sure to call PyErr_NoMemory() in several places where
PyMem_Malloc() could potentially fail.

Will backport to the release25-maint branch.

18 years agoComplete revamp of PCBuild8 directory. Use subdirectories for each project under...
Kristján Valur Jónsson [Mon, 30 Apr 2007 15:17:46 +0000 (15:17 +0000)]
Complete revamp of PCBuild8 directory.  Use subdirectories for each project under the main pcbuild solution.  Now make extensive use of property sheets to simplify project configuration. x64 build fully supported, and the process for building PGO version (Profiler Guided Optimization) simplified. All projects are now present, except _ssl, which needs to be reimplemented.  Also, some of the projects that require external libraries need extra work to fully compile on x64.

18 years agoThere really are some tests that are problematic.
Neal Norwitz [Sun, 29 Apr 2007 23:53:24 +0000 (23:53 +0000)]
There really are some tests that are problematic.

18 years agoVersion fix (bug #1708710)
Georg Brandl [Fri, 27 Apr 2007 19:20:00 +0000 (19:20 +0000)]
Version fix (bug #1708710)

18 years agoThis gets the test working on Solaris. It seems a little hokey to me,
Neal Norwitz [Fri, 27 Apr 2007 06:45:32 +0000 (06:45 +0000)]
This gets the test working on Solaris.  It seems a little hokey to me,
but the test passed on Linux and Solaris, hopefully other platforms too.

18 years agoAccomodate 64 bit time_t in the _bsddb module.
Kristján Valur Jónsson [Thu, 26 Apr 2007 15:24:54 +0000 (15:24 +0000)]
Accomodate 64 bit time_t in the _bsddb module.

18 years agoMinor wording change on slicing aide-memoire.
Steve Holden [Thu, 26 Apr 2007 14:23:12 +0000 (14:23 +0000)]
Minor wording change on slicing aide-memoire.

18 years agoThe locale "En" appears not to be valid on windows underi VisualStudio.2005. Added...
Kristján Valur Jónsson [Thu, 26 Apr 2007 13:44:16 +0000 (13:44 +0000)]
The locale "En" appears not to be valid on windows underi VisualStudio.2005.  Added "English" to the test_locale.py to make the testsuite pass for that build

18 years agoExport function sanitize_the_mode from fileobject.c as _PyFile_SanitizeMode(). Use...
Kristján Valur Jónsson [Thu, 26 Apr 2007 09:15:08 +0000 (09:15 +0000)]
Export function sanitize_the_mode from fileobject.c as _PyFile_SanitizeMode().  Use this function in posixmodule.c when implementing fdopen().  This fixes test_subprocess.py for a VisualStudio 2005 compile.

18 years agofix some markup errors
Fred Drake [Thu, 26 Apr 2007 04:42:19 +0000 (04:42 +0000)]
fix some markup errors

18 years agoFix an issue related to the unittest conversion.
Collin Winter [Wed, 25 Apr 2007 21:50:25 +0000 (21:50 +0000)]
Fix an issue related to the unittest conversion.

18 years agoConvert test_ossaudiodev to use unittest.
Collin Winter [Wed, 25 Apr 2007 20:41:34 +0000 (20:41 +0000)]
Convert test_ossaudiodev to use unittest.

18 years agoImport and raise statement cleanup.
Collin Winter [Wed, 25 Apr 2007 18:54:36 +0000 (18:54 +0000)]
Import and raise statement cleanup.

18 years agoSet missing svn:eol-style property on text files.
Tim Peters [Wed, 25 Apr 2007 18:48:35 +0000 (18:48 +0000)]
Set missing svn:eol-style property on text files.

18 years agoWhitespace normalization.
Tim Peters [Wed, 25 Apr 2007 18:47:18 +0000 (18:47 +0000)]
Whitespace normalization.

18 years agoChange test_support.have_unicode to use True/False instead of 1/0.
Collin Winter [Wed, 25 Apr 2007 17:57:53 +0000 (17:57 +0000)]
Change test_support.have_unicode to use True/False instead of 1/0.

18 years agoRemove functionality from test_datetime.test_main() that does reference count checkin...
Collin Winter [Wed, 25 Apr 2007 17:37:35 +0000 (17:37 +0000)]
Remove functionality from test_datetime.test_main() that does reference count checking; 'regrtest.py -R' is the way to do this kind of testing.

18 years agoStandardize on test.test_support.run_unittest() (as opposed to a mix of run_unittest...
Collin Winter [Wed, 25 Apr 2007 17:29:52 +0000 (17:29 +0000)]
Standardize on test.test_support.run_unittest() (as opposed to a mix of run_unittest() and run_suite()). Also, add functionality to run_unittest() that admits usage of unittest.TestLoader.loadTestsFromModule().

18 years agoWhitespace normalization. Ugh, we really need to do this more often.
Neal Norwitz [Wed, 25 Apr 2007 06:30:05 +0000 (06:30 +0000)]
Whitespace normalization.  Ugh, we really need to do this more often.
You might want to review this change as it's my first time.  Be gentle. :-)

18 years agoMarkup fix.
Georg Brandl [Wed, 25 Apr 2007 06:25:55 +0000 (06:25 +0000)]
Markup fix.

18 years agoPatch #1698768: updated the "using Python on the Mac" intro.
Georg Brandl [Wed, 25 Apr 2007 06:24:59 +0000 (06:24 +0000)]
Patch #1698768: updated the "using Python on the Mac" intro.

18 years agoRemove obsolete comment. Importing of .dll files has been discontinued, only .pyd...
Kristján Valur Jónsson [Wed, 25 Apr 2007 00:19:26 +0000 (00:19 +0000)]
Remove obsolete comment. Importing of .dll files has been discontinued, only .pyd files supported on windows now.

18 years agoMake pythoncore compile cleanly with VisualStudio 2005. Used an explicit typecast...
Kristján Valur Jónsson [Wed, 25 Apr 2007 00:17:39 +0000 (00:17 +0000)]
Make pythoncore compile cleanly with VisualStudio 2005.  Used an explicit typecast to get a 64 bit integer, and undefined the Yield macro that conflicts with winbase.h

18 years agoMerge change 54909 from release25-maint: Fix several minor issues discovered using...
Kristján Valur Jónsson [Wed, 25 Apr 2007 00:10:50 +0000 (00:10 +0000)]
Merge change 54909 from release25-maint:  Fix several minor issues discovered using code analysis in VisualStudio 2005 Team Edition

18 years agoFix markup
Raymond Hettinger [Tue, 24 Apr 2007 22:13:43 +0000 (22:13 +0000)]
Fix markup

18 years agoBug #1706381: Specifying the SWIG option "-c++" in the setup.py file
Georg Brandl [Tue, 24 Apr 2007 15:27:13 +0000 (15:27 +0000)]
Bug #1706381: Specifying the SWIG option "-c++" in the setup.py file
(as opposed to the command line) will now write file names ending in
".cpp" too.

18 years agoBug #1705717: error in sys.argv docs.
Georg Brandl [Tue, 24 Apr 2007 15:10:09 +0000 (15:10 +0000)]
Bug #1705717: error in sys.argv docs.

18 years agoAdded a comment about last change in urllib2.py (all 2xx responses
Facundo Batista [Tue, 24 Apr 2007 13:54:38 +0000 (13:54 +0000)]
Added a comment about last change in urllib2.py (all 2xx responses
are ok now).

18 years agoSome new year updates.
Georg Brandl [Tue, 24 Apr 2007 10:36:42 +0000 (10:36 +0000)]
Some new year updates.

18 years agoFix SF #1703110, Incorrect example for add_password() (use uri, not host)
Neal Norwitz [Tue, 24 Apr 2007 04:53:12 +0000 (04:53 +0000)]
Fix SF #1703110, Incorrect example for add_password() (use uri, not host)

18 years agoRemove code that hasn't been called in years.
Collin Winter [Tue, 24 Apr 2007 04:09:52 +0000 (04:09 +0000)]
Remove code that hasn't been called in years.

18 years agoConvert PyUnit -> unittest.
Collin Winter [Tue, 24 Apr 2007 03:43:46 +0000 (03:43 +0000)]
Convert PyUnit -> unittest.

18 years agoAs specified in RFC 2616, 2xx code indicates that the client's
Facundo Batista [Mon, 23 Apr 2007 17:08:31 +0000 (17:08 +0000)]
As specified in RFC 2616, 2xx code indicates that the client's
request was successfully received, understood, and accepted.
Now in these cases no error is raised. Also fixed tests.

18 years agoAdded tests for other methods of SSL object. Now we cover
Facundo Batista [Sun, 22 Apr 2007 01:18:56 +0000 (01:18 +0000)]
Added tests for other methods of SSL object. Now we cover
all the object methods. This is the final step to close
the #451607 bug.

18 years agoBug #1704790: bind name "sys" locally in __del__ method so that it is
Georg Brandl [Sat, 21 Apr 2007 20:35:38 +0000 (20:35 +0000)]
Bug #1704790: bind name "sys" locally in __del__ method so that it is
not cleared before __del__ is run.

18 years agoAdd an optional address to copy the failure mails to.
Neal Norwitz [Fri, 20 Apr 2007 05:20:38 +0000 (05:20 +0000)]
Add an optional address to copy the failure mails to.

Detect a conflict in the only file that should have outstanding changes
when this script is run.  This doesn't matter on the trunk, but does
when run on a branch.  Trunk always has the date set to today in
boilerplate.tex.  Each time a release is cut with a different date,
a conflict occurs.  (We could copy a known good version, but then
we would lose changes to this file.)

18 years agoFix a usage of the dangerous pattern decref - modify field - incref.
Armin Rigo [Thu, 19 Apr 2007 14:56:48 +0000 (14:56 +0000)]
Fix a usage of the dangerous pattern decref - modify field - incref.

18 years agoRevert r53997 as per
Armin Rigo [Thu, 19 Apr 2007 14:44:48 +0000 (14:44 +0000)]
Revert r53997 as per
http://mail.python.org/pipermail/python-dev/2007-March/071796.html .

I've kept a couple of still-valid extra tests in test_descr, but didn't
bother to sort through the new comments and refactorings added in r53997
to see if some of them could be kept.  If so, they could go in a
follow-up check-in.

18 years agoSF #1703270, add missing declaration in readline.c to avoid compiler warning.
Neal Norwitz [Thu, 19 Apr 2007 05:52:37 +0000 (05:52 +0000)]
SF #1703270, add missing declaration in readline.c to avoid compiler warning.

18 years agoSilence a compiler warning about incompatible pointer types.
Brett Cannon [Thu, 19 Apr 2007 03:44:17 +0000 (03:44 +0000)]
Silence a compiler warning about incompatible pointer types.

18 years agoAdd Travis Oliphant.
Martin v. Löwis [Tue, 17 Apr 2007 05:02:01 +0000 (05:02 +0000)]
Add Travis Oliphant.

18 years agoCheck the availability of the urlfetch resource earlier than before.
Collin Winter [Mon, 16 Apr 2007 22:10:32 +0000 (22:10 +0000)]
Check the availability of the urlfetch resource earlier than before.

18 years agoSF #1701207, Fix bogus assertion (and test it!)
Neal Norwitz [Mon, 16 Apr 2007 07:37:55 +0000 (07:37 +0000)]
SF #1701207, Fix bogus assertion (and test it!)

18 years agoWhen __slots__ are set to a unicode string, make it work the same as
Neal Norwitz [Sat, 14 Apr 2007 05:25:50 +0000 (05:25 +0000)]
When __slots__ are set to a unicode string, make it work the same as
setting a plain string, ie don't expand to single letter identifiers.

18 years agoAdd the necessary dependency for the Windows VC6 build to ensure 'pythoncore'
Trent Mick [Fri, 13 Apr 2007 23:22:05 +0000 (23:22 +0000)]
Add the necessary dependency for the Windows VC6 build to ensure 'pythoncore'
is built before '_ctypes' is attempted.
Will backport to 2.5 once it is unfrozen for 2.5.1.

18 years agoFix potential crash in path manipulation on windows
Kristján Valur Jónsson [Fri, 13 Apr 2007 22:20:13 +0000 (22:20 +0000)]
Fix potential crash in path manipulation on windows

18 years agoFix a bug when using the __lltrace__ opcode tracer, and a problem sith signed chars...
Kristján Valur Jónsson [Fri, 13 Apr 2007 22:07:33 +0000 (22:07 +0000)]
Fix a bug when using the __lltrace__ opcode tracer, and a problem sith signed chars in frameobject.c which can occur with opcodes > 127

18 years agoPort r54805 from python25-maint branch:
Barry Warsaw [Fri, 13 Apr 2007 18:47:14 +0000 (18:47 +0000)]
Port r54805 from python25-maint branch:

Add code to read from master_fd in the parent, breaking when we get an OSError
(EIO can occur on Linux) or there's no more data to read.  Without this,
test_pty.py can hang on the waitpid() because the child is blocking on the
stdout write.  This will definitely happen on Mac OS X and could potentially
happen on other platforms.  See the comment for details.

18 years agoFix utf-8-sig incremental decoder, which didn't recognise a BOM when the
Walter Dörwald [Thu, 12 Apr 2007 10:35:00 +0000 (10:35 +0000)]
Fix utf-8-sig incremental decoder, which didn't recognise a BOM when the
first chunk fed to the decoder started with a BOM, but was longer than 3 bytes.

18 years agoPatch #1695862: remove the cleanup code, now that Windows buildbots are green
Žiga Seilnacht [Thu, 12 Apr 2007 08:46:51 +0000 (08:46 +0000)]
Patch #1695862: remove the cleanup code, now that Windows buildbots are green
again.

18 years agoPatch #1698951: clarify deprecation message in rexec and Bastion
Georg Brandl [Thu, 12 Apr 2007 07:01:19 +0000 (07:01 +0000)]
Patch #1698951: clarify deprecation message in rexec and Bastion

18 years agoSF 1193128: Let str.translate(None) be an identity transformation
Raymond Hettinger [Thu, 12 Apr 2007 04:10:00 +0000 (04:10 +0000)]
SF 1193128:  Let str.translate(None) be an identity transformation

18 years agoRepair missing spaces after \UNIX.
Georg Brandl [Wed, 11 Apr 2007 23:28:44 +0000 (23:28 +0000)]
Repair missing spaces after \UNIX.

18 years agoExceptions are no longer old-style instances. Fix accordingly.
Georg Brandl [Wed, 11 Apr 2007 19:25:11 +0000 (19:25 +0000)]
Exceptions are no longer old-style instances. Fix accordingly.

18 years agoSF 1191699: Make slices picklable
Raymond Hettinger [Wed, 11 Apr 2007 18:40:58 +0000 (18:40 +0000)]
SF 1191699:  Make slices picklable

18 years agoAdd some missing NULL checks which trigger crashes on low-memory conditions.
Georg Brandl [Wed, 11 Apr 2007 17:16:24 +0000 (17:16 +0000)]
Add some missing NULL checks which trigger crashes on low-memory conditions.
Found by Victor Stinner. Will backport when 2.5 branch is unfrozen.

18 years agoDescribe undocumented third argument to touchline()
Andrew M. Kuchling [Wed, 11 Apr 2007 13:47:13 +0000 (13:47 +0000)]
Describe undocumented third argument to touchline()

18 years agoPoint readers at the patch submission instructions
Andrew M. Kuchling [Wed, 11 Apr 2007 13:42:25 +0000 (13:42 +0000)]
Point readers at the patch submission instructions

18 years agoAdd window.chgat() method, submitted via e-mail by Fabian Kreutz
Andrew M. Kuchling [Wed, 11 Apr 2007 13:39:00 +0000 (13:39 +0000)]
Add window.chgat() method, submitted via e-mail by Fabian Kreutz

18 years agoRepair a duplicate label and some obsolete uses of \setindexsubitem.
Georg Brandl [Tue, 10 Apr 2007 21:39:38 +0000 (21:39 +0000)]
Repair a duplicate label and some obsolete uses of \setindexsubitem.

18 years agoGeneral clean-up. Lot of margin corrections, comments, some typos.
Facundo Batista [Tue, 10 Apr 2007 12:58:45 +0000 (12:58 +0000)]
General clean-up. Lot of margin corrections, comments, some typos.
Exceptions now are raised in the new style. And a mockup class is
now also new style. Thanks Santiago Pereson.

18 years agoTypo fix.
Collin Winter [Tue, 10 Apr 2007 04:44:49 +0000 (04:44 +0000)]
Typo fix.

18 years agoMinor fix to the tests pass ok even with -O.
Facundo Batista [Tue, 10 Apr 2007 03:00:37 +0000 (03:00 +0000)]
Minor fix to the tests pass ok even with -O.

18 years agoPatch #1695862: remove old test directory that causes test_urllib failures
Žiga Seilnacht [Mon, 9 Apr 2007 19:10:29 +0000 (19:10 +0000)]
Patch #1695862: remove old test directory that causes test_urllib failures
on Windows buildbots.  The change is a one time fix and will be removed
after a successful buildbot run.

18 years agoAdded optional timeout to SocketHandler.makeSocket (SF #1695948)
Vinay Sajip [Mon, 9 Apr 2007 16:16:10 +0000 (16:16 +0000)]
Added optional timeout to SocketHandler.makeSocket (SF #1695948)

18 years agoDoc that file.next() has undefined behaviour when called on a file opened with
Brett Cannon [Sun, 8 Apr 2007 04:29:32 +0000 (04:29 +0000)]
Doc that file.next() has undefined behaviour when called on a file opened with
'w'.  Closes bug #1569057.

To be backported once 2.5 branch is unfrozen.

18 years agoConvert test_fileinput to use unittest.
Collin Winter [Sat, 7 Apr 2007 04:40:43 +0000 (04:40 +0000)]
Convert test_fileinput to use unittest.

18 years agoConvert test_module to use unittest.
Collin Winter [Fri, 6 Apr 2007 20:03:11 +0000 (20:03 +0000)]
Convert test_module to use unittest.

18 years agoConvert test_gc to use unittest.
Collin Winter [Fri, 6 Apr 2007 20:00:05 +0000 (20:00 +0000)]
Convert test_gc to use unittest.