]> granicus.if.org Git - python/log
python
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

15 years ago#7177: clarify the potential PIPE deadlock warnings
Philip Jenvey [Thu, 3 Dec 2009 02:25:54 +0000 (02:25 +0000)]
#7177: clarify the potential PIPE deadlock warnings

15 years agoIssue #7333: The `posix` module gains an `initgroups()` function providing
Antoine Pitrou [Wed, 2 Dec 2009 20:37:54 +0000 (20:37 +0000)]
Issue #7333: The `posix` module gains an `initgroups()` function providing
access to the initgroups(3) C library call on Unix systems which implement
it.  Patch by Jean-Paul Calderone.

15 years agoIssue #4482: Add tests for special float value formatting.
Eric Smith [Wed, 2 Dec 2009 17:43:06 +0000 (17:43 +0000)]
Issue #4482: Add tests for special float value formatting.

15 years agoIssue #7406: Fix some occurrences of potential signed overflow in int
Mark Dickinson [Wed, 2 Dec 2009 17:33:41 +0000 (17:33 +0000)]
Issue #7406:  Fix some occurrences of potential signed overflow in int
arithmetic.

15 years agoMarkup fixes
Andrew M. Kuchling [Wed, 2 Dec 2009 14:27:11 +0000 (14:27 +0000)]
Markup fixes

15 years ago#7419: Fix a crash on Windows in locale.setlocale() when the category
Amaury Forgeot d'Arc [Tue, 1 Dec 2009 21:51:04 +0000 (21:51 +0000)]
#7419: Fix a crash on Windows in locale.setlocale() when the category
is outside the allowed range.

15 years agoFix for issue #7416: SIZEOF_UINTPTR_T can be invalid when configuring a
Ronald Oussoren [Tue, 1 Dec 2009 15:54:01 +0000 (15:54 +0000)]
Fix for issue #7416: SIZEOF_UINTPTR_T can be invalid when configuring a
multi-architecture build (in particular when the architectures don't share
a common pointer size).

Fixed the same issue for SIZEOF_PTHREAD_T.

(No update to the NEWS file because this is a bugfix for an as yet unreleased
feature)

15 years agoAdd dtoa.c and dtoa.h to the relevant project files.
Mark Dickinson [Mon, 30 Nov 2009 21:51:30 +0000 (21:51 +0000)]
Add dtoa.c and dtoa.h to the relevant project files.

15 years agoUpdate project file for new file: dtoa.c
Raymond Hettinger [Mon, 30 Nov 2009 21:14:25 +0000 (21:14 +0000)]
Update project file for new file: dtoa.c

15 years agoHandle step values other than one.
Raymond Hettinger [Mon, 30 Nov 2009 21:13:52 +0000 (21:13 +0000)]
Handle step values other than one.

15 years agoIssue 7410: deepcopy of itertools.count resets the count
Raymond Hettinger [Mon, 30 Nov 2009 19:44:40 +0000 (19:44 +0000)]
Issue 7410: deepcopy of itertools.count resets the count

15 years agonow that deepcopy can handle instance methods, this hack can be removed #7409
Benjamin Peterson [Sun, 29 Nov 2009 22:26:26 +0000 (22:26 +0000)]
now that deepcopy can handle instance methods, this hack can be removed #7409

Thanks Robert Collins

15 years agoFixed #7408: dropped group ownership checking because it relies on os-specific rules
Tarek Ziadé [Sun, 29 Nov 2009 22:20:30 +0000 (22:20 +0000)]
Fixed #7408: dropped group ownership checking because it relies on os-specific rules

15 years agoIssue #3382: Make '%F' and float.__format__('F') convert results to upper case. Much...
Eric Smith [Sun, 29 Nov 2009 17:40:57 +0000 (17:40 +0000)]
Issue #3382: Make '%F' and float.__format__('F') convert results to upper case. Much of the patch came from Mark Dickinson.

15 years agoIssue #1678380: When distinguishing between -0.0 and 0.0 in
Mark Dickinson [Sat, 28 Nov 2009 16:32:27 +0000 (16:32 +0000)]
Issue #1678380: When distinguishing between -0.0 and 0.0 in
compiler_add_o, use copysign instead of examining the first and last
bytes of the double.  The latter method fails for little-endian
ARM, OABI, where doubles are little-endian but with the words swapped.

15 years agoIssue #1515: Enable use of deepcopy() with instance methods. Patch by Robert Collins.
Antoine Pitrou [Sat, 28 Nov 2009 15:55:58 +0000 (15:55 +0000)]
Issue #1515: Enable use of deepcopy() with instance methods.  Patch by Robert Collins.

15 years agoMultiprocessing configure checks don't need LIBM
Mark Dickinson [Sat, 28 Nov 2009 13:13:13 +0000 (13:13 +0000)]
Multiprocessing configure checks don't need LIBM

15 years agoInclude ieeefp.h (when available) in pyport.h instead of individually in
Mark Dickinson [Sat, 28 Nov 2009 12:30:36 +0000 (12:30 +0000)]
Include ieeefp.h (when available) in pyport.h instead of individually in
Objects/floatobject.c and Objects/complexobject.c.  This should silence
compiler warnings about implicit declaration of the 'finite' function
on Solaris.

15 years agoFix versions and spacing.
Georg Brandl [Sat, 28 Nov 2009 11:11:50 +0000 (11:11 +0000)]
Fix versions and spacing.

15 years agoIssue #7272, continued: don't re-use existing HAVE_BROKEN_POSIX_SEMAPHORES
Mark Dickinson [Sat, 28 Nov 2009 10:44:20 +0000 (10:44 +0000)]
Issue #7272, continued:  don't re-use existing HAVE_BROKEN_POSIX_SEMAPHORES
to indicate that semaphores aren't available;  define a new variable
POSIX_SEMAPHORES_NOT_ENABLED instead.

15 years agofix typo
Gregory P. Smith [Fri, 27 Nov 2009 17:51:12 +0000 (17:51 +0000)]
fix typo

15 years agoIssue #7403: Fixed possible race condition in lock creation.
Vinay Sajip [Fri, 27 Nov 2009 14:03:36 +0000 (14:03 +0000)]
Issue #7403: Fixed possible race condition in lock creation.

15 years agoIssue #6508: Add posix.{getresuid,getresgid,setresuid,setresgid}.
Martin v. Löwis [Fri, 27 Nov 2009 13:56:01 +0000 (13:56 +0000)]
Issue #6508: Add posix.{getresuid,getresgid,setresuid,setresgid}.

15 years agoAdd ACKS entry for Pablo Mouzo
Antoine Pitrou [Fri, 27 Nov 2009 13:24:29 +0000 (13:24 +0000)]
Add ACKS entry for Pablo Mouzo

15 years agoIssue #6845: Add restart support for binary upload in ftplib. The
Antoine Pitrou [Fri, 27 Nov 2009 13:18:34 +0000 (13:18 +0000)]
Issue #6845: Add restart support for binary upload in ftplib.  The
`storbinary()` method of FTP and FTP_TLS objects gains an optional `rest`
argument.  Patch by Pablo Mouzo.

(note: the patch also adds a test for the rest argument in retrbinary())

15 years ago#7400: typo.
Georg Brandl [Thu, 26 Nov 2009 20:48:25 +0000 (20:48 +0000)]
#7400: typo.

15 years agoWhen open_urlresource() fails, HTTPException is another possible error
Antoine Pitrou [Thu, 26 Nov 2009 12:36:30 +0000 (12:36 +0000)]
When open_urlresource() fails, HTTPException is another possible error

15 years agoFix typo.
Martin v. Löwis [Thu, 26 Nov 2009 08:42:05 +0000 (08:42 +0000)]
Fix typo.

15 years agoForgot to add a `versionadded` tag
Antoine Pitrou [Wed, 25 Nov 2009 23:03:22 +0000 (23:03 +0000)]
Forgot to add a `versionadded` tag

15 years agoIssue #5788: `datetime.timedelta` objects get a new `total_seconds()` method returning
Antoine Pitrou [Wed, 25 Nov 2009 22:59:36 +0000 (22:59 +0000)]
Issue #5788: `datetime.timedelta` objects get a new `total_seconds()` method returning
the total number of seconds in the duration.  Patch by Brian Quinlan.

15 years agoAdd mktime_tz to __all__. It's documented as being available in email.utils.
Barry Warsaw [Wed, 25 Nov 2009 18:38:32 +0000 (18:38 +0000)]
Add mktime_tz to __all__.  It's documented as being available in email.utils.

15 years agoMerged revisions 76160-76161,76250,76252,76447,76506 via svnmerge from
Benjamin Peterson [Wed, 25 Nov 2009 18:16:46 +0000 (18:16 +0000)]
Merged revisions 76160-76161,76250,76252,76447,76506 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r76160 | benjamin.peterson | 2009-11-08 18:53:48 -0600 (Sun, 08 Nov 2009) | 1 line

  undeprecate the -p option; it's useful for converting python3 sources
........
  r76161 | benjamin.peterson | 2009-11-08 19:05:37 -0600 (Sun, 08 Nov 2009) | 1 line

  simplify condition
........
  r76250 | benjamin.peterson | 2009-11-13 16:56:48 -0600 (Fri, 13 Nov 2009) | 1 line

  fix handling of a utf-8 bom #7313
........
  r76252 | benjamin.peterson | 2009-11-13 16:58:36 -0600 (Fri, 13 Nov 2009) | 1 line

  remove pdb turd
........
  r76447 | benjamin.peterson | 2009-11-22 18:17:40 -0600 (Sun, 22 Nov 2009) | 1 line

  #7375 fix nested transformations in fix_urllib
........
  r76506 | benjamin.peterson | 2009-11-24 18:34:31 -0600 (Tue, 24 Nov 2009) | 1 line

  use generator expressions in any()
........

15 years agologging: Issue 6615: Changed handler prepend to append.
Vinay Sajip [Wed, 25 Nov 2009 14:12:03 +0000 (14:12 +0000)]
logging: Issue 6615: Changed handler prepend to append.

15 years agologging: made _handlers a WeakValueDictionary.
Vinay Sajip [Wed, 25 Nov 2009 09:22:47 +0000 (09:22 +0000)]
logging: made _handlers a WeakValueDictionary.

15 years agoIssue #6615: logging: Used weak references in internal handler list. Thanks to flox...
Vinay Sajip [Wed, 25 Nov 2009 09:03:30 +0000 (09:03 +0000)]
Issue #6615: logging: Used weak references in internal handler list. Thanks to flox (Florent Xicluna) for the patch.

15 years agoIssue #7228: Fix format mismatch when printing something of type off_t.
Mark Dickinson [Tue, 24 Nov 2009 20:51:48 +0000 (20:51 +0000)]
Issue #7228:  Fix format mismatch when printing something of type off_t.
(Should silence some compiler warnings.)

15 years agoIssue 7128: Removed reference to the non-existent copyreg module.
Alexandre Vassalotti [Tue, 24 Nov 2009 17:53:23 +0000 (17:53 +0000)]
Issue 7128: Removed reference to the non-existent copyreg module.

The reference to copyreg was a unnoticed leftover from the compatibility
support for the grand renaming of the standard library in Python 3. The
compatibility support was reverted in r63493, but not completely as this
patch shows.

Based on a patch by Amaury Forgeot d'Arc.

15 years agoMade logging classes new-style and added name property to handlers.
Vinay Sajip [Tue, 24 Nov 2009 15:53:25 +0000 (15:53 +0000)]
Made logging classes new-style and added name property to handlers.

15 years agoIssue #7117: Update float formatting testcases to match those in py3k.
Mark Dickinson [Tue, 24 Nov 2009 15:12:20 +0000 (15:12 +0000)]
Issue #7117:  Update float formatting testcases to match those in py3k.

15 years agoFix some documentation examples involving the repr of a float.
Mark Dickinson [Tue, 24 Nov 2009 14:27:02 +0000 (14:27 +0000)]
Fix some documentation examples involving the repr of a float.

15 years agocomment out test added in r76438, which caused refleaks
Jesse Noller [Tue, 24 Nov 2009 14:17:29 +0000 (14:17 +0000)]
comment out test added in r76438, which caused refleaks

15 years agoround(0, "ermintrude") succeeded instead of producing a TypeError. Fix this.
Mark Dickinson [Tue, 24 Nov 2009 10:54:58 +0000 (10:54 +0000)]
round(0, "ermintrude") succeeded instead of producing a TypeError.  Fix this.

15 years agoIssue #7117, continued: Remove substitution of %g-style formatting for
Mark Dickinson [Mon, 23 Nov 2009 20:54:09 +0000 (20:54 +0000)]
Issue #7117, continued: Remove substitution of %g-style formatting for
%f-style formatting, which used to occur at high precision.  Float formatting
should now be consistent between 2.7 and 3.1.

15 years ago#7345: fix arguments of formatyear().
Georg Brandl [Mon, 23 Nov 2009 19:53:19 +0000 (19:53 +0000)]
#7345: fix arguments of formatyear().

15 years agoRemove restriction on precision when formatting floats. This is the
Mark Dickinson [Mon, 23 Nov 2009 18:46:41 +0000 (18:46 +0000)]
Remove restriction on precision when formatting floats.  This is the
first step towards removing the %f -> %g switch (see issues 7117,
5859).

15 years agoFix for issue1488943 - difflib.Differ() doesn't always add hints for tab
Senthil Kumaran [Mon, 23 Nov 2009 18:41:31 +0000 (18:41 +0000)]
Fix for issue1488943 - difflib.Differ() doesn't always add hints for tab
characters.

15 years agoIssue #7369: Fibonacci series should start at 0 in tutorial example.
Mark Dickinson [Mon, 23 Nov 2009 16:39:05 +0000 (16:39 +0000)]
Issue #7369: Fibonacci series should start at 0 in tutorial example.

15 years agoIssue #7379: Fix incorrect doctest for Fraction.limit_denominator.
Mark Dickinson [Mon, 23 Nov 2009 16:23:43 +0000 (16:23 +0000)]
Issue #7379:  Fix incorrect doctest for Fraction.limit_denominator.

15 years agoAdd a testcase that checks if the TarFile constructor successfully
Lars Gustäbel [Mon, 23 Nov 2009 15:46:19 +0000 (15:46 +0000)]
Add a testcase that checks if the TarFile constructor successfully
closes the internal file object in case of an error (issue #7341).

15 years agoIssue #6123: Fix opening empty archives and files.
Lars Gustäbel [Sun, 22 Nov 2009 18:30:53 +0000 (18:30 +0000)]
Issue #6123: Fix opening empty archives and files.

(Note that an empty archive is not the same as an empty file. An
empty archive contains no members and is correctly terminated with an
EOF block full of zeros. An empty file contains no data at all.)

The problem was that although tarfile was able to create empty
archives, it failed to open them raising a ReadError. On the other
hand, tarfile opened empty files without error in most read modes and
presented them as empty archives. (However, some modes still raised
errors: "r|gz" raised ReadError, but "r:gz" worked, "r:bz2" even
raised EOFError.)

In order to get a more fine-grained control over the various internal
error conditions I now split up the HeaderError exception into a
number of meaningful sub-exceptions. This makes it easier in the
TarFile.next() method to react to the different conditions in the
correct way.

The visible change in its behaviour now is that tarfile will open
empty archives correctly and raise ReadError consistently for empty
files.

15 years agoissue6615: Additional test for logging support in multiprocessing
Jesse Noller [Sat, 21 Nov 2009 14:38:23 +0000 (14:38 +0000)]
issue6615: Additional test for logging support in multiprocessing

15 years agorevert unintended change to multiprocessing/queues.py
Jesse Noller [Sat, 21 Nov 2009 14:06:24 +0000 (14:06 +0000)]
revert unintended change to multiprocessing/queues.py

15 years agoissue5738: The distribution example was confusing, and out of date. It's too large...
Jesse Noller [Sat, 21 Nov 2009 14:01:56 +0000 (14:01 +0000)]
issue5738: The distribution example was confusing, and out of date. It's too large to include inline in the docs as well. It belongs in an addons module outside the stdlib. Removing.

15 years agoIssue #7272: Add configure test to detect whether sem_open works
Mark Dickinson [Fri, 20 Nov 2009 19:30:22 +0000 (19:30 +0000)]
Issue #7272:  Add configure test to detect whether sem_open works
properly, and use this to skip test_multiprocessing on platforms
where sem_open raises a signal.  This should fix some FreeBSD buildbot
failures for test_multiprocessing.

15 years agoRegenerate configure with GNU autoconf 2.61.
Mark Dickinson [Fri, 20 Nov 2009 19:27:43 +0000 (19:27 +0000)]
Regenerate configure with GNU autoconf 2.61.

15 years agoIssue 7363: fix indentation in socketserver udpserver example.
R. David Murray [Fri, 20 Nov 2009 13:29:43 +0000 (13:29 +0000)]
Issue 7363: fix indentation in socketserver udpserver example.

15 years agoavoid doing an uneeded import in a function
Benjamin Peterson [Fri, 20 Nov 2009 02:56:43 +0000 (02:56 +0000)]
avoid doing an uneeded import in a function

15 years agoturn goto into do while loop
Benjamin Peterson [Fri, 20 Nov 2009 02:15:50 +0000 (02:15 +0000)]
turn goto into do while loop

15 years agogenexps have linenos
Benjamin Peterson [Fri, 20 Nov 2009 01:16:58 +0000 (01:16 +0000)]
genexps have linenos

15 years agoprovide line number for lambdas
Benjamin Peterson [Fri, 20 Nov 2009 01:15:53 +0000 (01:15 +0000)]
provide line number for lambdas

15 years agospelling
Benjamin Peterson [Thu, 19 Nov 2009 23:19:29 +0000 (23:19 +0000)]
spelling

15 years agoadd news notes for r76416
Benjamin Peterson [Thu, 19 Nov 2009 22:58:01 +0000 (22:58 +0000)]
add news notes for r76416

15 years agoimprove several corner cases related with argument names in parenthesis
Benjamin Peterson [Thu, 19 Nov 2009 22:54:57 +0000 (22:54 +0000)]
improve several corner cases related with argument names in parenthesis

- Fix #7362: give a good error message for parenthesized arguments with
  defaults.

- Add a py3k warning for any parenthesized arguments since those are not allowed
  in Py3.  This warning is not given in tuple unpacking, since that incurs the
  tuple unpacking warning.

15 years agoMisc/NEWS entries for issue 7117.
Mark Dickinson [Thu, 19 Nov 2009 18:41:49 +0000 (18:41 +0000)]
Misc/NEWS entries for issue 7117.

15 years agoDon't use the '==' operator with test, that's an unportable bash-ism.
Ronald Oussoren [Thu, 19 Nov 2009 17:42:51 +0000 (17:42 +0000)]
Don't use the '==' operator with test, that's an unportable bash-ism.

(Issue 7179)

15 years agoFix for issue #7085
Ronald Oussoren [Thu, 19 Nov 2009 16:25:21 +0000 (16:25 +0000)]
Fix for issue #7085

On MacOSX 10.6 the CoreFoundation framework must be initialized on the main
thread, the constructor function in that framework will cause an SIGABRT when
it is called on any other thread.

Because a number of extension link (indirectly) to CoreFoundation and the
Python core itself didn't the interpreter crashed when importing some
extensions, such as _locale, on a secondary thread.

This fix ensures that Python is linked to CoreFoundation on OSX, which results
in the CoreFoundation constructor being called when Python is loaded. This
does not require code changes.

15 years agodragfullwindows can have value 2
Tarek Ziadé [Thu, 19 Nov 2009 05:33:16 +0000 (05:33 +0000)]
dragfullwindows can have value 2

15 years ago#5037 proxy __unicode__ correctly
Benjamin Peterson [Thu, 19 Nov 2009 03:00:02 +0000 (03:00 +0000)]
#5037 proxy __unicode__ correctly

15 years agoFix docstrings for itertools combinatoric functions.
Raymond Hettinger [Thu, 19 Nov 2009 01:22:04 +0000 (01:22 +0000)]
Fix docstrings for itertools combinatoric functions.

15 years agoIssue 7263: Fix set.intersection() docstring.
Raymond Hettinger [Wed, 18 Nov 2009 20:28:22 +0000 (20:28 +0000)]
Issue 7263: Fix set.intersection() docstring.

15 years agoIssue #7341: Close the internal file object in the TarFile
Lars Gustäbel [Wed, 18 Nov 2009 20:24:54 +0000 (20:24 +0000)]
Issue #7341: Close the internal file object in the TarFile
constructor in case of an error.

15 years agoMention Giampolo R's new FTP TLS support in the what's new file
Antoine Pitrou [Wed, 18 Nov 2009 20:20:46 +0000 (20:20 +0000)]
Mention Giampolo R's new FTP TLS support in the what's new file

15 years agoEnable short float repr!
Mark Dickinson [Wed, 18 Nov 2009 20:14:57 +0000 (20:14 +0000)]
Enable short float repr!

15 years agoFix markup.
Georg Brandl [Wed, 18 Nov 2009 20:05:15 +0000 (20:05 +0000)]
Fix markup.

15 years agoupcase Python
Georg Brandl [Wed, 18 Nov 2009 19:39:14 +0000 (19:39 +0000)]
upcase Python

15 years agoIssue #7117, continued: Change round implementation to use the correctly-rounded
Mark Dickinson [Wed, 18 Nov 2009 19:33:35 +0000 (19:33 +0000)]
Issue #7117, continued:  Change round implementation to use the correctly-rounded
string <-> float conversions;  this makes sure that the result of the round
operation is correctly rounded, and hence displays nicely using the new float
repr.

15 years agoMake separate section for deprecations in 2.7 whatsnew.
Georg Brandl [Wed, 18 Nov 2009 18:52:35 +0000 (18:52 +0000)]
Make separate section for deprecations in 2.7 whatsnew.

15 years agoMake separate section for deprecations in 2.6 whatsnew.
Georg Brandl [Wed, 18 Nov 2009 18:52:23 +0000 (18:52 +0000)]
Make separate section for deprecations in 2.6 whatsnew.

15 years agoCorrectly escape arbitrary error message text in the runpy unit tests
Nick Coghlan [Wed, 18 Nov 2009 11:27:53 +0000 (11:27 +0000)]
Correctly escape arbitrary error message text in the runpy unit tests

15 years ago#7293: distutils.test_msvc9compiler now uses a key that exists on any fresh windows...
Tarek Ziadé [Wed, 18 Nov 2009 08:46:56 +0000 (08:46 +0000)]
#7293: distutils.test_msvc9compiler now uses a key that exists on any fresh windows install

15 years agoa better callable replacement
Benjamin Peterson [Tue, 17 Nov 2009 21:24:54 +0000 (21:24 +0000)]
a better callable replacement

15 years ago#1757126: fix typo with the cyrillic_asian alias
Philip Jenvey [Tue, 17 Nov 2009 02:42:26 +0000 (02:42 +0000)]
#1757126: fix typo with the cyrillic_asian alias

15 years agoSilence another MSVC warning about unary minus.
Mark Dickinson [Mon, 16 Nov 2009 19:17:16 +0000 (19:17 +0000)]
Silence another MSVC warning about unary minus.

15 years agoSilence MSVC warning about unary minus applied to unsigned type.
Mark Dickinson [Mon, 16 Nov 2009 17:33:25 +0000 (17:33 +0000)]
Silence MSVC warning about unary minus applied to unsigned type.

15 years ago#7302: fix link.
Georg Brandl [Mon, 16 Nov 2009 16:44:05 +0000 (16:44 +0000)]
#7302: fix link.

15 years agoAllow for backslashes in file paths passed to the regex engine
Nick Coghlan [Mon, 16 Nov 2009 03:57:32 +0000 (03:57 +0000)]
Allow for backslashes in file paths passed to the regex engine

15 years agoAccount for another cache when hunting ref leaks
Nick Coghlan [Mon, 16 Nov 2009 03:55:51 +0000 (03:55 +0000)]
Account for another cache when hunting ref leaks

15 years agoIssue #7328: don't corrupt sys.path when running pydoc with the -m switch
Nick Coghlan [Sun, 15 Nov 2009 22:36:47 +0000 (22:36 +0000)]
Issue #7328: don't corrupt sys.path when running pydoc with the -m switch

15 years agoIssue #2054: ftplib now provides an FTP_TLS class to do secure FTP using
Antoine Pitrou [Sun, 15 Nov 2009 17:22:09 +0000 (17:22 +0000)]
Issue #2054: ftplib now provides an FTP_TLS class to do secure FTP using
TLS or SSL.  Patch by Giampaolo Rodola'.

15 years agoIssue #7228: Add '%lld' and '%llu' support to PyFormat_FromString,
Mark Dickinson [Sun, 15 Nov 2009 16:18:58 +0000 (16:18 +0000)]
Issue #7228:  Add '%lld' and '%llu' support to PyFormat_FromString,
PyFormat_FromStringV and PyErr_Format.

15 years agoIssue #4969: The mimetypes module now reads the MIME database from
Antoine Pitrou [Sun, 15 Nov 2009 14:10:48 +0000 (14:10 +0000)]
Issue #4969: The mimetypes module now reads the MIME database from
the registry under Windows.  Patch by Gabriel Genellina.

15 years agoIssue #5792: Extend short float repr support to x86 platforms using suncc or icc.
Mark Dickinson [Sun, 15 Nov 2009 13:12:43 +0000 (13:12 +0000)]
Issue #5792:  Extend short float repr support to x86 platforms using suncc or icc.
Many thanks Stefan Krah for help and OpenSolaris testing.

15 years agoAvoid signed overflow in some xrange calculations, and extend
Mark Dickinson [Sun, 15 Nov 2009 12:31:13 +0000 (12:31 +0000)]
Avoid signed overflow in some xrange calculations, and extend
xrange tests to cover some special cases that caused problems
in py3k.  This is a partial backport of r76292-76293 (see
issue #7298.)