]> granicus.if.org Git - python/log
python
15 years agoSwitch to OpenSSL 0.9.8l.
Martin v. Löwis [Mon, 21 Dec 2009 19:27:15 +0000 (19:27 +0000)]
Switch to OpenSSL 0.9.8l.

15 years agoDrop 2.4 compatibility.
Martin v. Löwis [Mon, 21 Dec 2009 19:25:56 +0000 (19:25 +0000)]
Drop 2.4 compatibility.

15 years agoIssue #7553: test_long_future wasn't testing properly. Thanks Florent Xicluna
Mark Dickinson [Mon, 21 Dec 2009 16:29:21 +0000 (16:29 +0000)]
Issue #7553:  test_long_future wasn't testing properly.  Thanks Florent Xicluna
for bug report and patch.

15 years agoInverse hyperbolic trigonometric functions should call m_log1p, not log1p.
Mark Dickinson [Mon, 21 Dec 2009 15:40:33 +0000 (15:40 +0000)]
Inverse hyperbolic trigonometric functions should call m_log1p, not log1p.

15 years agoIssue #7518: Move substitute definitions of C99 math functions from
Mark Dickinson [Mon, 21 Dec 2009 15:22:00 +0000 (15:22 +0000)]
Issue #7518:  Move substitute definitions of C99 math functions from
pymath.c to Modules/_math.c.

15 years agoRemove a leftover from a previous iteration of the issue 7376 patch.
R. David Murray [Mon, 21 Dec 2009 12:45:41 +0000 (12:45 +0000)]
Remove a leftover from a previous iteration of the issue 7376 patch.

15 years agoAdditional edge-case tests for test_long_and_overflow.
Mark Dickinson [Mon, 21 Dec 2009 12:15:48 +0000 (12:15 +0000)]
Additional edge-case tests for test_long_and_overflow.

15 years agoFix reference counts for test_long_and_overflow.
Mark Dickinson [Mon, 21 Dec 2009 11:31:54 +0000 (11:31 +0000)]
Fix reference counts for test_long_and_overflow.

15 years agoIssue #7528: Backport PyLong_AsLongAndOverflow from py3k to trunk.
Mark Dickinson [Mon, 21 Dec 2009 11:21:25 +0000 (11:21 +0000)]
Issue #7528:  Backport PyLong_AsLongAndOverflow from py3k to trunk.
Thanks Case Van Horsen for the patch.

15 years agomassive import cleaning in Distutils
Tarek Ziadé [Mon, 21 Dec 2009 01:22:46 +0000 (01:22 +0000)]
massive import cleaning in Distutils

15 years agoFixed #7552: fixed distutils.command.upload failure on very long passwords
Tarek Ziadé [Sun, 20 Dec 2009 23:23:34 +0000 (23:23 +0000)]
Fixed #7552: fixed distutils.command.upload failure on very long passwords

15 years agoIssue #7554: Various fixups in test_cmath.py: remove code duplication,
Mark Dickinson [Sun, 20 Dec 2009 20:34:44 +0000 (20:34 +0000)]
Issue #7554:  Various fixups in test_cmath.py:  remove code duplication,
use new-style formatting.  Thanks Florent Xicluna for the patch.

15 years agoSilence -3 warnings. Thanks Florent Xicluna.
Mark Dickinson [Sun, 20 Dec 2009 20:23:01 +0000 (20:23 +0000)]
Silence -3 warnings.  Thanks Florent Xicluna.

15 years agoFix for consistency with py3k keyword-only version of assertAlmostEqual
Mark Dickinson [Sun, 20 Dec 2009 19:52:36 +0000 (19:52 +0000)]
Fix for consistency with py3k keyword-only version of assertAlmostEqual

15 years agoIssue #7554: Fix incorrect usage of rAssertAlmostEqual. Thanks Florent Xicluna.
Mark Dickinson [Sun, 20 Dec 2009 19:45:37 +0000 (19:45 +0000)]
Issue #7554:  Fix incorrect usage of rAssertAlmostEqual.  Thanks Florent Xicluna.

15 years agoIssue #7376: When called with no arguments doctest was running a
R. David Murray [Sun, 20 Dec 2009 16:46:06 +0000 (16:46 +0000)]
Issue #7376: When called with no arguments doctest was running a
self-test.  Because of a change to the way tracebacks are printed,
this self-test was failing.  The test is run (and passes) during normal
regression testing.  So instead of running the failing self-test this
patch makes doctest emit a usage message.  This is better behavior anyway
since passing in arguments is the real reason to run doctest as a command.

Bug discovery and initial patch by Florent Xicluna.

15 years agoFix comment typo.
R. David Murray [Sun, 20 Dec 2009 16:24:46 +0000 (16:24 +0000)]
Fix comment typo.

15 years agoAdd missing tests for PyArg_Parse* with format 'h'
Mark Dickinson [Sun, 20 Dec 2009 15:57:56 +0000 (15:57 +0000)]
Add missing tests for PyArg_Parse* with format 'h'

15 years agobuiltin-ins -> builtins
Benjamin Peterson [Sun, 20 Dec 2009 15:23:22 +0000 (15:23 +0000)]
builtin-ins -> builtins

15 years ago#7381: subprocess documentation and library docstring consistency fixes.
Georg Brandl [Sun, 20 Dec 2009 14:33:20 +0000 (14:33 +0000)]
#7381: subprocess documentation and library docstring consistency fixes.

15 years agoSmall indentation fix.
Georg Brandl [Sun, 20 Dec 2009 14:28:05 +0000 (14:28 +0000)]
Small indentation fix.

15 years ago#7495: backport Programming FAQ review to trunk.
Georg Brandl [Sun, 20 Dec 2009 14:20:16 +0000 (14:20 +0000)]
#7495: backport Programming FAQ review to trunk.

15 years agomath.factorial depends on PyLong_AsLong correctly converting floats; rewrite
Mark Dickinson [Sun, 20 Dec 2009 13:58:18 +0000 (13:58 +0000)]
math.factorial depends on PyLong_AsLong correctly converting floats; rewrite
it to do the conversion explicitly instead.  See issue #7550.

15 years agoDocument the headers parameter for set_tunnel.
Senthil Kumaran [Sun, 20 Dec 2009 07:29:31 +0000 (07:29 +0000)]
Document the headers parameter for set_tunnel.

15 years agoFix for issue 7291 - urllib2 cannot handle https with proxy requiring auth
Senthil Kumaran [Sun, 20 Dec 2009 06:05:13 +0000 (06:05 +0000)]
Fix for issue 7291 - urllib2 cannot handle https with proxy requiring auth
Refactored HTTPHandler tests and added testcase for proxy authorization.

15 years ago#7388: "python".capitalize() in the Doc
Ezio Melotti [Sat, 19 Dec 2009 22:41:49 +0000 (22:41 +0000)]
#7388: "python".capitalize() in the Doc

15 years agoRemove superfetatory paragraph (left there by mistake).
Antoine Pitrou [Sat, 19 Dec 2009 21:06:36 +0000 (21:06 +0000)]
Remove superfetatory paragraph (left there by mistake).

15 years agoIssue #7545: improve documentation of the `buffering` argument in io.open().
Antoine Pitrou [Sat, 19 Dec 2009 21:01:10 +0000 (21:01 +0000)]
Issue #7545: improve documentation of the `buffering` argument in io.open().

15 years ago#7480: remove tautology.
Georg Brandl [Sat, 19 Dec 2009 18:20:18 +0000 (18:20 +0000)]
#7480: remove tautology.

15 years ago#7479: add note about function availability on Unices.
Georg Brandl [Sat, 19 Dec 2009 18:16:31 +0000 (18:16 +0000)]
#7479: add note about function availability on Unices.

15 years ago#7493: review of Design FAQ by Florent Xicluna.
Georg Brandl [Sat, 19 Dec 2009 17:43:33 +0000 (17:43 +0000)]
#7493: review of Design FAQ by Florent Xicluna.

15 years ago#7521: remove Py_GetBuildNumber(), which was removed in favor of Py_GetBuildInfo().
Georg Brandl [Sat, 19 Dec 2009 17:34:32 +0000 (17:34 +0000)]
#7521: remove Py_GetBuildNumber(), which was removed in favor of Py_GetBuildInfo().

15 years ago#7527: use standard versionadded tags.
Georg Brandl [Sat, 19 Dec 2009 17:30:28 +0000 (17:30 +0000)]
#7527: use standard versionadded tags.

15 years agoIssue #3366: Add error function and complementary error function to
Mark Dickinson [Sat, 19 Dec 2009 11:07:23 +0000 (11:07 +0000)]
Issue #3366: Add error function and complementary error function to
math module.

15 years agoIssue #7529: logging: Minor correction to documentation.
Vinay Sajip [Thu, 17 Dec 2009 14:52:00 +0000 (14:52 +0000)]
Issue #7529: logging: Minor correction to documentation.

15 years agoAdd _math.h to math module dependencies in setup.py.
Mark Dickinson [Thu, 17 Dec 2009 08:33:56 +0000 (08:33 +0000)]
Add _math.h to math module dependencies in setup.py.

15 years agoIssue #3366: Add expm1 function to math module. Thanks Eric Smith for
Mark Dickinson [Wed, 16 Dec 2009 20:13:40 +0000 (20:13 +0000)]
Issue #3366: Add expm1 function to math module.  Thanks Eric Smith for
testing on Windows.

15 years agoIssue #7396: fix -s, which was broken by the -j enhancement.
R. David Murray [Wed, 16 Dec 2009 11:49:46 +0000 (11:49 +0000)]
Issue #7396: fix -s, which was broken by the -j enhancement.

15 years agoremove type_compare, since type_richcompare does the same trick
Benjamin Peterson [Wed, 16 Dec 2009 03:36:22 +0000 (03:36 +0000)]
remove type_compare, since type_richcompare does the same trick

15 years agoremove lib2to3 resource
Benjamin Peterson [Wed, 16 Dec 2009 03:28:52 +0000 (03:28 +0000)]
remove lib2to3 resource

15 years agocleaned up the module (PEP 8 + old fashion test removal)
Tarek Ziadé [Tue, 15 Dec 2009 06:29:19 +0000 (06:29 +0000)]
cleaned up the module (PEP 8 + old fashion test removal)

15 years agoadverb
Benjamin Peterson [Tue, 15 Dec 2009 03:25:27 +0000 (03:25 +0000)]
adverb

15 years agoIssue #7498: make test_multiprocessing use test_support.find_unused_port
R. David Murray [Mon, 14 Dec 2009 21:57:39 +0000 (21:57 +0000)]
Issue #7498: make test_multiprocessing use test_support.find_unused_port
instead of a hard coded port number in test_rapid_restart.

15 years agoIssue #1680159: unicode coercion during an 'in' operation was masking
R. David Murray [Mon, 14 Dec 2009 16:28:26 +0000 (16:28 +0000)]
Issue #1680159: unicode coercion during an 'in' operation was masking
any errors that might occur during coercion of the left operand and
turning them into a TypeError with a message text that was confusing in
the given context.  This patch lets any errors through, as was already
done during coercion of the right hand side.

15 years agoClarify phrasing that explains that there are currently two branches.
R. David Murray [Mon, 14 Dec 2009 02:50:32 +0000 (02:50 +0000)]
Clarify phrasing that explains that there are currently two branches.

15 years agoreorganized the distutils doc a bit : the MANIFEST.in template system has its own...
Tarek Ziadé [Sun, 13 Dec 2009 23:24:13 +0000 (23:24 +0000)]
reorganized the distutils doc a bit : the MANIFEST.in template system has its own section now. This is easier to find and follow

15 years agoadd a test of loading the datetime capi
Benjamin Peterson [Sun, 13 Dec 2009 21:27:53 +0000 (21:27 +0000)]
add a test of loading the datetime capi

15 years agoinitialize to NULL
Benjamin Peterson [Sun, 13 Dec 2009 21:21:43 +0000 (21:21 +0000)]
initialize to NULL

15 years agoavoid having to update this statement all the time
Benjamin Peterson [Sun, 13 Dec 2009 21:15:31 +0000 (21:15 +0000)]
avoid having to update this statement all the time

15 years agoIssue #7492: Autoconf tests were leaving semaphore files behind. Add
Mark Dickinson [Sun, 13 Dec 2009 21:06:06 +0000 (21:06 +0000)]
Issue #7492: Autoconf tests were leaving semaphore files behind.  Add
sem_unlink calls to delete those semaphore files.

15 years agoremove unused variable
Benjamin Peterson [Sun, 13 Dec 2009 19:27:02 +0000 (19:27 +0000)]
remove unused variable

15 years agoaccept None as the same as having passed no argument in file types #7349
Benjamin Peterson [Sun, 13 Dec 2009 19:19:07 +0000 (19:19 +0000)]
accept None as the same as having passed no argument in file types #7349

This is for consistency with imitation file objects like StringIO and BytesIO.

This commit also adds a few tests, where they were lacking for concerned
methods.

15 years ago#7342: make sure that the datetime object in test_fraction always has a number of...
Ezio Melotti [Sun, 13 Dec 2009 18:54:53 +0000 (18:54 +0000)]
#7342: make sure that the datetime object in test_fraction always has a number of microseconds != 0

15 years agoadd NEWS note
Benjamin Peterson [Sun, 13 Dec 2009 17:31:31 +0000 (17:31 +0000)]
add NEWS note

15 years agomake StringIO like other file objects in that readline(-1) has no effect #7348
Benjamin Peterson [Sun, 13 Dec 2009 17:29:16 +0000 (17:29 +0000)]
make StringIO like other file objects in that readline(-1) has no effect #7348

15 years agofix the ignoring of __cmp__ method on metaclasses #7491
Benjamin Peterson [Sun, 13 Dec 2009 16:36:53 +0000 (16:36 +0000)]
fix the ignoring of __cmp__ method on metaclasses #7491

15 years agoAdd NEWS entry as per RDM's suggestion (the bug was actually present
Antoine Pitrou [Sun, 13 Dec 2009 16:18:14 +0000 (16:18 +0000)]
Add NEWS entry as per RDM's suggestion (the bug was actually present
in 2.7 alpha 1)

15 years agoadd 2.6.x point releases
Benjamin Peterson [Sun, 13 Dec 2009 14:18:08 +0000 (14:18 +0000)]
add 2.6.x point releases

15 years agoIssue #7357: No longer suppress fatal extraction errors by
Lars Gustäbel [Sun, 13 Dec 2009 11:32:27 +0000 (11:32 +0000)]
Issue #7357: No longer suppress fatal extraction errors by
default.

TarFile's errorlevel argument controls how errors are
handled that occur during extraction. There are three
possible levels 0, 1 and 2. If errorlevel is set to 1 or 2
fatal errors (e.g. a full filesystem) are raised as
exceptions. If it is set to 0, which is the default value,
extraction errors are suppressed, and error messages are
written to the debug log instead. But, if the debug log is
not activated, which is the default as well, all these
errors go unnoticed.

The original intention was to imitate GNU tar which tries
to extract as many members as possible instead of stopping
on the first error. It turns out that this is no good
default behaviour for a tar library. This patch simply
changes the default value for the errorlevel argument from
0 to 1, so that fatal extraction errors are raised as
EnvironmentError exceptions.

15 years agoaccount for PyObject_IsInstance's new ability to fail
Benjamin Peterson [Sun, 13 Dec 2009 00:54:15 +0000 (00:54 +0000)]
account for PyObject_IsInstance's new ability to fail

15 years agoIssue #7466: segmentation fault when the garbage collector is called
Antoine Pitrou [Sat, 12 Dec 2009 19:13:08 +0000 (19:13 +0000)]
Issue #7466: segmentation fault when the garbage collector is called
in the middle of populating a tuple.  Patch by Florent Xicluna.

(note: no NEWS entry for trunk since the bug was introduced in 2.7/3.1)

15 years agoIssue #3366: Add lgamma function to math module.
Mark Dickinson [Fri, 11 Dec 2009 17:29:33 +0000 (17:29 +0000)]
Issue #3366:  Add lgamma function to math module.

15 years agoIssue #7470: logging: fix bug in Unicode encoding fallback.
Vinay Sajip [Fri, 11 Dec 2009 09:16:01 +0000 (09:16 +0000)]
Issue #7470: logging: fix bug in Unicode encoding fallback.

15 years agousing an existing file to avoid dealing with a sleep to test file ages
Tarek Ziadé [Thu, 10 Dec 2009 19:29:53 +0000 (19:29 +0000)]
using an existing file to avoid dealing with a sleep to test file ages

15 years agoadded test coverage for distutils.dep_util, and cleaned up the module
Tarek Ziadé [Thu, 10 Dec 2009 15:29:03 +0000 (15:29 +0000)]
added test coverage for distutils.dep_util, and cleaned up the module

15 years agoReplace the size check for PyMem_MALLOC and PyMem_REALLOC with an almost
Mark Dickinson [Thu, 10 Dec 2009 10:36:32 +0000 (10:36 +0000)]
Replace the size check for PyMem_MALLOC and PyMem_REALLOC with an almost
equivalent[*] check that doesn't produce compiler warnings about a 'x < 0'
check on an unsigned type.

[*] it's equivalent for inputs of type size_t or Py_ssize_t, or any smaller
unsigned or signed integer type.

15 years agoFix an issue with the detection of a non-existing SDK
Ronald Oussoren [Thu, 10 Dec 2009 10:27:09 +0000 (10:27 +0000)]
Fix an issue with the detection of a non-existing SDK
on OSX. Without this patch it wasn't possible after all
to compile extensions on OSX 10.6 with the binary
installer unless the user had installed the (non-default)
10.4u SDK.

15 years agoAdd a reverse() method to collections.deque().
Raymond Hettinger [Thu, 10 Dec 2009 06:42:54 +0000 (06:42 +0000)]
Add a reverse() method to collections.deque().

15 years agoFix variants of deque.extend: d.extend(d) d+=d d.extendleft(d)
Raymond Hettinger [Thu, 10 Dec 2009 06:00:33 +0000 (06:00 +0000)]
Fix variants of deque.extend:  d.extend(d)   d+=d  d.extendleft(d)

15 years agosubstitute PyDict_Check() for PyObject_IsInstance
Benjamin Peterson [Thu, 10 Dec 2009 03:37:59 +0000 (03:37 +0000)]
substitute PyDict_Check() for PyObject_IsInstance

15 years agoSkip new imaplib SSL tests if ssl is not available.
R. David Murray [Wed, 9 Dec 2009 16:41:39 +0000 (16:41 +0000)]
Skip new imaplib SSL tests if ssl is not available.

15 years agoIssue 5949: fixed IMAP4_SSL hang when the IMAP server response is
R. David Murray [Wed, 9 Dec 2009 15:15:31 +0000 (15:15 +0000)]
Issue 5949: fixed IMAP4_SSL hang when the IMAP server response is
missing proper end-of-line termination.  Patch and tests by
Scott Dial.  The new tests include a test harness which will
make it easier to add additional tests.

15 years agoMake test_pipes a little bit more robust.
Antoine Pitrou [Tue, 8 Dec 2009 19:46:38 +0000 (19:46 +0000)]
Make test_pipes a little bit more robust.

15 years agoFix transient refleaks in test_urllib. Thanks to Florent Xicluna.
Antoine Pitrou [Tue, 8 Dec 2009 19:35:12 +0000 (19:35 +0000)]
Fix transient refleaks in test_urllib. Thanks to Florent Xicluna.

15 years agoFix the transient refleaks in test_zipimport_support.
Antoine Pitrou [Tue, 8 Dec 2009 19:25:51 +0000 (19:25 +0000)]
Fix the transient refleaks in test_zipimport_support.
Diagnosis and original patch by Florent Xicluna (flox).

15 years agoFix for issue 7452: HAVE_GCC_ASM_FOR_X87 gets set when doing a universal build on
Ronald Oussoren [Tue, 8 Dec 2009 16:32:52 +0000 (16:32 +0000)]
Fix for issue 7452: HAVE_GCC_ASM_FOR_X87 gets set when doing a universal build on
an i386 based machine, but should only be active when compiling the x86 part of
the universal binary.

15 years agoIssue #6986: Fix crash in the JSON C accelerator when called with the
Antoine Pitrou [Tue, 8 Dec 2009 15:40:51 +0000 (15:40 +0000)]
Issue #6986: Fix crash in the JSON C accelerator when called with the
wrong parameter types.  Patch by Victor Stinner.

15 years agoremoved the usage of rfc822 in favor of email.message.Message
Tarek Ziadé [Tue, 8 Dec 2009 09:39:51 +0000 (09:39 +0000)]
removed the usage of rfc822 in favor of email.message.Message

15 years agoIssue #7457: added a read_pkg_file method to distutils.dist.DistributionMetadata...
Tarek Ziadé [Tue, 8 Dec 2009 08:56:49 +0000 (08:56 +0000)]
Issue #7457: added a read_pkg_file method to distutils.dist.DistributionMetadata so we can read back PKG-INFO files

15 years agoTypo fix; grammar fix
Andrew M. Kuchling [Tue, 8 Dec 2009 02:37:05 +0000 (02:37 +0000)]
Typo fix; grammar fix

15 years agofix test_parser from tokenizer tweak
Benjamin Peterson [Sun, 6 Dec 2009 21:24:30 +0000 (21:24 +0000)]
fix test_parser from tokenizer tweak

15 years agoAdd UUIDs for 2.7. Drop UUIDs for 2.4.
Martin v. Löwis [Sun, 6 Dec 2009 18:27:29 +0000 (18:27 +0000)]
Add UUIDs for 2.7. Drop UUIDs for 2.4.

15 years agologging: Improved support for SMTP over TLS.
Vinay Sajip [Sun, 6 Dec 2009 18:05:04 +0000 (18:05 +0000)]
logging: Improved support for SMTP over TLS.

15 years agologging: Added optional 'secure' parameter to SMTPHandler.
Vinay Sajip [Sun, 6 Dec 2009 17:57:11 +0000 (17:57 +0000)]
logging: Added optional 'secure' parameter to SMTPHandler.

15 years agorewrite translate_newlines for clarity
Benjamin Peterson [Sun, 6 Dec 2009 17:37:48 +0000 (17:37 +0000)]
rewrite translate_newlines for clarity

15 years agoFixed #1923: make sure we don't strip meaningful whitespace in PKG-INFO Description...
Tarek Ziadé [Sun, 6 Dec 2009 09:22:40 +0000 (09:22 +0000)]
Fixed #1923: make sure we don't strip meaningful whitespace in PKG-INFO Description field

15 years agofix date
Benjamin Peterson [Sat, 5 Dec 2009 18:48:13 +0000 (18:48 +0000)]
fix date

15 years agopost release version bump
Benjamin Peterson [Sat, 5 Dec 2009 18:40:02 +0000 (18:40 +0000)]
post release version bump

15 years agotag 2.7 alpha 1
Benjamin Peterson [Sat, 5 Dec 2009 17:48:36 +0000 (17:48 +0000)]
tag 2.7 alpha 1

15 years agobump version to 2.7a1 v2.7a1
Benjamin Peterson [Sat, 5 Dec 2009 17:47:56 +0000 (17:47 +0000)]
bump version to 2.7a1

15 years agomove RPM spec for 2.7
Benjamin Peterson [Sat, 5 Dec 2009 17:46:33 +0000 (17:46 +0000)]
move RPM spec for 2.7

15 years agoregenerate pydoc_topics
Benjamin Peterson [Sat, 5 Dec 2009 17:45:40 +0000 (17:45 +0000)]
regenerate pydoc_topics

15 years agoAdd missing issue number in Misc/NEWS entry.
Mark Dickinson [Fri, 4 Dec 2009 11:30:16 +0000 (11:30 +0000)]
Add missing issue number in Misc/NEWS entry.

15 years agoAvoid undefined behaviour due to overflow in i_divmod (Objects/intobject.c).
Mark Dickinson [Fri, 4 Dec 2009 11:24:38 +0000 (11:24 +0000)]
Avoid undefined behaviour due to overflow in i_divmod (Objects/intobject.c).

15 years agoIssue 7431: use TESTFN in test_linecache instead of trying to create a
R. David Murray [Thu, 3 Dec 2009 23:57:59 +0000 (23:57 +0000)]
Issue 7431: use TESTFN in test_linecache instead of trying to create a
file in the Lib/test directory, which might be read-only for the
user running the tests.

15 years agoAdd Christoph Gohlke, for the issue 4120 work.
Martin v. Löwis [Thu, 3 Dec 2009 21:01:16 +0000 (21:01 +0000)]
Add Christoph Gohlke, for the issue 4120 work.

15 years agoIssue #4120: Drop reference to CRT from manifest when building
Martin v. Löwis [Thu, 3 Dec 2009 20:53:51 +0000 (20:53 +0000)]
Issue #4120: Drop reference to CRT from manifest when building
extensions with msvc9compiler.

15 years agoIssue #6985: number of range() items should be constrained to lie
Mark Dickinson [Thu, 3 Dec 2009 12:08:56 +0000 (12:08 +0000)]
Issue #6985:  number of range() items should be constrained to lie
in a Py_ssize_t, not an int.

15 years agodisable pymalloc tricks with the --with-valgrind option #2422
Benjamin Peterson [Thu, 3 Dec 2009 02:52:39 +0000 (02:52 +0000)]
disable pymalloc tricks with the --with-valgrind option #2422

Patch from James Henstridge.

15 years agoactually close files
Philip Jenvey [Thu, 3 Dec 2009 02:40:13 +0000 (02:40 +0000)]
actually close files