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

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.