A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2017-August/149084.html below:

[Python-Dev] [Python-checkins] bpo-5001: More-informative multiprocessing error messages (#3079)

[Python-Dev] [Python-checkins] bpo-5001: More-informative multiprocessing error messages (#3079) [Python-Dev] [Python-checkins] bpo-5001: More-informative multiprocessing error messages (#3079)Antoine Pitrou solipsis at pitrou.net
Wed Aug 30 10:32:22 EDT 2017
On Wed, 30 Aug 2017 03:16:42 -0700
Chris Jerdonek <chris.jerdonek at gmail.com> wrote:
> https://github.com/python/cpython/commit/bd73e72b4a9f019be514954b1d40e64dc3a5e81c
> > commit: bd73e72b4a9f019be514954b1d40e64dc3a5e81c
> > branch: master
> > author: Allen W. Smith, Ph.D <drallensmith at users.noreply.github.com>
> > committer: Antoine Pitrou <pitrou at free.fr>
> > date: 2017-08-30T00:52:18+02:00
> > summary:
> >
> > ...
> > @@ -307,6 +309,10 @@ def imap(self, func, iterable, chunksize=1):
> >                  ))
> >              return result
> >          else:
> > +            if chunksize < 1:
> > +                raise ValueError(
> > +                    "Chunksize must be 1+, not {0:n}".format(
> > +                        chunksize))
> >              assert chunksize > 1  
> 
> It looks like removing this assert statement was missed.

Good catch, thanks.

Regards

Antoine.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4