]> granicus.if.org Git - python/log
python
17 years agoRemove the "panel" module doc file which has been ignored since 1994.
Georg Brandl [Tue, 22 May 2007 14:28:17 +0000 (14:28 +0000)]
Remove the "panel" module doc file which has been ignored since 1994.

17 years agoStop using METH_OLDARGS implicitly
Neal Norwitz [Tue, 22 May 2007 07:16:44 +0000 (07:16 +0000)]
Stop using METH_OLDARGS implicitly

17 years agoStop using METH_OLDARGS
Neal Norwitz [Tue, 22 May 2007 07:16:10 +0000 (07:16 +0000)]
Stop using METH_OLDARGS

17 years agoDocument new params to HTTPSConnection
Neal Norwitz [Tue, 22 May 2007 06:03:36 +0000 (06:03 +0000)]
Document new params to HTTPSConnection

17 years agoPatch #1686487: you can now pass any mapping after '**' in function calls.
Georg Brandl [Mon, 21 May 2007 20:34:16 +0000 (20:34 +0000)]
Patch #1686487: you can now pass any mapping after '**' in function calls.

17 years agoAdded timeout support to HTTPSConnection, through the
Facundo Batista [Mon, 21 May 2007 17:32:32 +0000 (17:32 +0000)]
Added timeout support to HTTPSConnection, through the
socket.create_connection function. Also added a small
test for this, and updated NEWS file.

17 years agoAllow all alphanumeric and underscores in type and field names.
Raymond Hettinger [Mon, 21 May 2007 16:40:10 +0000 (16:40 +0000)]
Allow all alphanumeric and underscores in type and field names.

17 years agoReplace assertion with straight error-checking.
Raymond Hettinger [Mon, 21 May 2007 08:13:35 +0000 (08:13 +0000)]
Replace assertion with straight error-checking.

17 years agofix against r55474 [Remove the macfs module]
George Yoshida [Mon, 21 May 2007 04:41:21 +0000 (04:41 +0000)]
fix against r55474 [Remove the macfs module]

Remove "libmacfs.tex" from Makefile.deps and mac/mac.tex.

17 years agoAdd Alexandre Vassalotti.
Martin v. Löwis [Mon, 21 May 2007 04:35:47 +0000 (04:35 +0000)]
Add Alexandre Vassalotti.

17 years agoNote removed modules
Andrew M. Kuchling [Mon, 21 May 2007 00:03:15 +0000 (00:03 +0000)]
Note removed modules

17 years agoCause posixfile to raise a DeprecationWarning. Documented as deprecated since
Brett Cannon [Sun, 20 May 2007 23:57:38 +0000 (23:57 +0000)]
Cause posixfile to raise a DeprecationWarning.  Documented as deprecated since
Ptyhon 1.5.

17 years agoMove imgfile import to the global namespace to trigger an import error ASAP to
Brett Cannon [Sun, 20 May 2007 23:56:18 +0000 (23:56 +0000)]
Move imgfile import to the global namespace to trigger an import error ASAP to
prevent creation of a test file.

17 years agoRemove the macfs module. This led to the deprecation of macostools.touched();
Brett Cannon [Sun, 20 May 2007 23:17:38 +0000 (23:17 +0000)]
Remove the macfs module.  This led to the deprecation of macostools.touched();
it completely relied on macfs and is a no-op on OS X according to code
comments.

17 years agoTry to remove rgbimg from Windows builds.
Brett Cannon [Sun, 20 May 2007 19:05:06 +0000 (19:05 +0000)]
Try to remove rgbimg from Windows builds.

17 years agoUpdate directories/files at the top-level.
Neal Norwitz [Sun, 20 May 2007 18:43:00 +0000 (18:43 +0000)]
Update directories/files at the top-level.

17 years agorotor is long gone.
Neal Norwitz [Sun, 20 May 2007 18:06:27 +0000 (18:06 +0000)]
rotor is long gone.

17 years agoFix typo in example (should be backported, but my maintenance branch is woefully...
Nick Coghlan [Sun, 20 May 2007 11:12:49 +0000 (11:12 +0000)]
Fix typo in example (should be backported, but my maintenance branch is woefully out of date)

17 years agoRemove the rgbimg module. It has been deprecated since Python 2.5.
Brett Cannon [Sun, 20 May 2007 07:09:50 +0000 (07:09 +0000)]
Remove the rgbimg module.  It has been deprecated since Python 2.5.

17 years agoFix docstring for add_package in site.py.
Georg Brandl [Sat, 19 May 2007 18:09:26 +0000 (18:09 +0000)]
Fix docstring for add_package in site.py.

17 years agoGive some clue as to what happened if the test fails.
Neal Norwitz [Sat, 19 May 2007 04:35:52 +0000 (04:35 +0000)]
Give some clue as to what happened if the test fails.

17 years agoWhoops, need to pay attention to those test failures.
Neal Norwitz [Sat, 19 May 2007 04:34:55 +0000 (04:34 +0000)]
Whoops, need to pay attention to those test failures.
Move the clear to *before* the first use, not after.

17 years agoClear data so random memory does not get freed. Will backport.
Neal Norwitz [Sat, 19 May 2007 03:48:47 +0000 (03:48 +0000)]
Clear data so random memory does not get freed.  Will backport.

17 years agoFix beginner mistake -- don't mix spaces and tabs.
Raymond Hettinger [Sat, 19 May 2007 01:50:11 +0000 (01:50 +0000)]
Fix beginner mistake -- don't mix spaces and tabs.

17 years agoImprovements to NamedTuple's implementation, tests, and documentation
Raymond Hettinger [Sat, 19 May 2007 01:11:16 +0000 (01:11 +0000)]
Improvements to NamedTuple's implementation, tests, and documentation

17 years agoBackport PEP 3110's new 'except' syntax to 2.6.
Collin Winter [Fri, 18 May 2007 23:11:24 +0000 (23:11 +0000)]
Backport PEP 3110's new 'except' syntax to 2.6.

17 years agoVerify neither dumps or loads overflow the stack and segfault.
Neal Norwitz [Fri, 18 May 2007 05:47:16 +0000 (05:47 +0000)]
Verify neither dumps or loads overflow the stack and segfault.

17 years agofix argument name in documentation; match the implementation
Fred Drake [Thu, 17 May 2007 19:29:58 +0000 (19:29 +0000)]
fix argument name in documentation; match the implementation

17 years agoLast try for tweaking the max stack depth. 5000 was the original value,
Neal Norwitz [Thu, 17 May 2007 07:04:46 +0000 (07:04 +0000)]
Last try for tweaking the max stack depth.  5000 was the original value,
4000 didn't work either.  1000 does work on Windows.  If 2000 works,
that will hopefully be a reasonable balance.

17 years agoSet the depth to something very small to try to determine if the
Neal Norwitz [Thu, 17 May 2007 06:23:50 +0000 (06:23 +0000)]
Set the depth to something very small to try to determine if the
crashes on Windows are really due to the stack size or possibly
some other problem.

17 years agoReduce the max stack depth to see if this fixes the segfaults on
Neal Norwitz [Thu, 17 May 2007 06:11:36 +0000 (06:11 +0000)]
Reduce the max stack depth to see if this fixes the segfaults on
Windows and some other boxes.  If this is successful, this rev should
be backported.  I'm not sure how close to the limit we should push this.

17 years agoComplete deprecation of BaseException.message. Some subclasses were directly
Brett Cannon [Thu, 17 May 2007 02:02:56 +0000 (02:02 +0000)]
Complete deprecation of BaseException.message.  Some subclasses were directly
accessing the message attribute instead of using the descriptor.

17 years agocalendar.py gets no benefit from xrange() instead of range()
Raymond Hettinger [Thu, 17 May 2007 01:08:04 +0000 (01:08 +0000)]
calendar.py gets no benefit from xrange() instead of range()

17 years agoRemove the gopherlib module. It has been raising a DeprecationWarning since
Brett Cannon [Wed, 16 May 2007 22:42:29 +0000 (22:42 +0000)]
Remove the gopherlib module.  It has been raising a DeprecationWarning since
Python 2.5.

Also remove gopher support from urllib/urllib2.  As both imported gopherlib the
usage of the support would have raised a DeprecationWarning.

17 years agoFix bug in marshal where bad data would cause a segfault due to
Neal Norwitz [Wed, 16 May 2007 20:05:11 +0000 (20:05 +0000)]
Fix bug in marshal where bad data would cause a segfault due to
lack of an infinite recursion check.

Contributed by Damien Miller at Google.

17 years agoBug #1719995: don't use deprecated method in sets example.
Georg Brandl [Wed, 16 May 2007 13:44:18 +0000 (13:44 +0000)]
Bug #1719995: don't use deprecated method in sets example.

17 years agoChange the maintainer of the BeOS port.
Brett Cannon [Wed, 16 May 2007 05:50:03 +0000 (05:50 +0000)]
Change the maintainer of the BeOS port.

17 years agoMention removal of some directories for obsolete platforms
Neal Norwitz [Wed, 16 May 2007 05:06:33 +0000 (05:06 +0000)]
Mention removal of some directories for obsolete platforms

17 years agoPort rev 55353 from Guido:
Neal Norwitz [Wed, 16 May 2007 04:33:50 +0000 (04:33 +0000)]
Port rev 55353 from Guido:
Add what looks like a necessary call to PyErr_NoMemory() when PyMem_MALLOC()
fails.

Will backport.

17 years agoHTML-escape the plain traceback in cgitb's HTML output, to prevent
Georg Brandl [Tue, 15 May 2007 20:19:34 +0000 (20:19 +0000)]
HTML-escape the plain traceback in cgitb's HTML output, to prevent
the traceback inadvertently or maliciously closing the comment and
injecting HTML into the error page.

17 years agoSmall speedup.
Raymond Hettinger [Mon, 14 May 2007 20:52:31 +0000 (20:52 +0000)]
Small speedup.

17 years agoRemove support for freebsd[23] which haven't been released since 2000
Neal Norwitz [Sun, 13 May 2007 21:13:42 +0000 (21:13 +0000)]
Remove support for freebsd[23] which haven't been released since 2000
or earlier.  http://www.freebsd.org/releases/index.html

17 years agoRemove references to stdwin which was removed long ago.
Neal Norwitz [Sun, 13 May 2007 20:54:19 +0000 (20:54 +0000)]
Remove references to stdwin which was removed long ago.

17 years agoRemove Amoeba doc which was removed in version 1.0! according to Misc/HISTORY.
Neal Norwitz [Sun, 13 May 2007 20:45:05 +0000 (20:45 +0000)]
Remove Amoeba doc which was removed in version 1.0! according to Misc/HISTORY.
Hopefully Guido won't shed a tear. :-)

17 years agoAdd bz2 to content encodings.
Georg Brandl [Sun, 13 May 2007 08:04:07 +0000 (08:04 +0000)]
Add bz2 to content encodings.

17 years agoBug #1046945: document SWIG options of distutils.
Georg Brandl [Sat, 12 May 2007 21:06:41 +0000 (21:06 +0000)]
Bug #1046945: document SWIG options of distutils.

17 years agoBetter tests for posixpath.commonprefix
Raymond Hettinger [Fri, 11 May 2007 17:59:59 +0000 (17:59 +0000)]
Better tests for posixpath.commonprefix

17 years agoUpdate DDJ link.
Georg Brandl [Fri, 11 May 2007 11:43:56 +0000 (11:43 +0000)]
Update DDJ link.

17 years agoPatch #1714700: clarify os.linesep vs. tfiles opened in text mode.
Georg Brandl [Fri, 11 May 2007 11:04:26 +0000 (11:04 +0000)]
Patch #1714700: clarify os.linesep vs. tfiles opened in text mode.
 (backport)

17 years agoRemove an XXX that is unnecessary.
Georg Brandl [Fri, 11 May 2007 09:41:37 +0000 (09:41 +0000)]
Remove an XXX that is unnecessary.

17 years agoDeprecate os.popen* and popen2 module in favor of the subprocess module. (forgot...
Neal Norwitz [Fri, 11 May 2007 07:13:30 +0000 (07:13 +0000)]
Deprecate os.popen* and popen2 module in favor of the subprocess module. (forgot the doc)

17 years agoDeprecate os.popen* and popen2 module in favor of the subprocess module.
Neal Norwitz [Fri, 11 May 2007 06:57:33 +0000 (06:57 +0000)]
Deprecate os.popen* and popen2 module in favor of the subprocess module.

17 years agoRemove trailing whitespace in docstring
Neal Norwitz [Fri, 11 May 2007 06:56:52 +0000 (06:56 +0000)]
Remove trailing whitespace in docstring

17 years agoFix typo in docstring (the module is popen2, not 3).
Neal Norwitz [Fri, 11 May 2007 06:23:01 +0000 (06:23 +0000)]
Fix typo in docstring (the module is popen2, not 3).

17 years agoDon't ever report a failure when the sum of the reference count differences
Neal Norwitz [Fri, 11 May 2007 05:55:15 +0000 (05:55 +0000)]
Don't ever report a failure when the sum of the reference count differences
are zero.  This should help reduce the false positives.

The message about references leaking is maintained to provide as much
info as possible rather than simply suppressing the message at the source.

17 years agoFix a bug in test_c_api() that caused a negative refcount.
Guido van Rossum [Thu, 10 May 2007 17:20:15 +0000 (17:20 +0000)]
Fix a bug in test_c_api() that caused a negative refcount.

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.