<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/multiprocessing, branch 3.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/multiprocessing?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/multiprocessing?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2022-12-02T10:13:33Z</updated>
<entry>
<title>bpo-40882: Fix a memory leak in SharedMemory on Windows (GH-20684)</title>
<updated>2022-12-02T10:13:33Z</updated>
<author>
<name>Luke Garland</name>
<email>luke.garland01@gmail.com</email>
</author>
<published>2022-12-02T10:13:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b027dd78bbdb66f2995bb898af304e66e5508bf6'/>
<id>urn:sha1:b027dd78bbdb66f2995bb898af304e66e5508bf6</id>
<content type='text'>
In multiprocessing.shared_memory.SharedMemory(), the temporary view
returned by MapViewOfFile() should be unmapped when it is no longer
needed.
(cherry picked from commit 85c128e34daec7625b74746e127afa25888ccde1)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.10] gh-97514: Don't use Linux abstract sockets for multiprocessing (GH-98501) (GH-98503)</title>
<updated>2022-10-20T23:55:51Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-10-20T23:55:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=eae692eed18892309bcc25a2c0f8980038305ea2'/>
<id>urn:sha1:eae692eed18892309bcc25a2c0f8980038305ea2</id>
<content type='text'>
Linux abstract sockets are insecure as they lack any form of filesystem
permissions so their use allows anyone on the system to inject code into
the process.

This removes the default preference for abstract sockets in
multiprocessing introduced in Python 3.9+ via
https://github.com/python/cpython/pull/18866 while fixing
https://github.com/python/cpython/issues/84031.

Explicit use of an abstract socket by a user now generates a
RuntimeWarning.  If we choose to keep this warning, it should be
backported to the 3.7 and 3.8 branches.
(cherry picked from commit 49f61068f49747164988ffc5a442d2a63874fc17)


Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;

Automerge-Triggered-By: GH:gpshead</content>
</entry>
<entry>
<title>gh-96819: multiprocessing.resource_tracker: check if length of pipe write &lt;= 512 (GH-96890)</title>
<updated>2022-10-03T01:11:17Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-10-03T01:11:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c2d3f73da780ce4d568f541fb7f55917a814d65c'/>
<id>urn:sha1:c2d3f73da780ce4d568f541fb7f55917a814d65c</id>
<content type='text'>
Co-authored-by: Kumar Aditya &lt;59607654+kumaraditya303@users.noreply.github.com&gt;
(cherry picked from commit 19ca114645bd8796cf4094e152b1fa9944da473d)

Co-authored-by: Koki Saito &lt;49419225+saito828koki@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>GH-83658: make multiprocessing.Pool raise an exception if maxtasksperchild is not None or a positive int (GH-93364) (GH-93924)</title>
<updated>2022-06-17T22:32:15Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-06-17T22:32:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2d33d217aaf68fd8dc5d3eebc048baf82924c18a'/>
<id>urn:sha1:2d33d217aaf68fd8dc5d3eebc048baf82924c18a</id>
<content type='text'>
Closes GH-83658.
(cherry picked from commit e37a158725dec561f234b81864363d55f05c7b4e)

Co-authored-by: Irit Katriel &lt;1055913+iritkatriel@users.noreply.github.com&gt;

Co-authored-by: Irit Katriel &lt;1055913+iritkatriel@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>gh-91577: SharedMemory move imports out of methods (GH-91579)</title>
<updated>2022-06-16T14:07:30Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-06-16T14:07:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c10c365fef3ca480c930cb379bf1d0ebadcd911'/>
<id>urn:sha1:5c10c365fef3ca480c930cb379bf1d0ebadcd911</id>
<content type='text'>
SharedMemory.unlink() uses the unregister() function from resource_tracker. Previously it was imported in the method, but this can fail if the method is called during interpreter shutdown, for example when unlink is part of a __del__() method.

Moving the import to the top of the file, means that the unregister() method is available during interpreter shutdown.

The register call in SharedMemory.__init__() can also use this imported resource_tracker.
(cherry picked from commit 9a458befdd68625d088f4fea7df135a57d147deb)

Co-authored-by: samtygier &lt;samtygier@yahoo.co.uk&gt;</content>
</entry>
<entry>
<title>gh-90549: Fix leak of global named resources using multiprocessing spawn (GH-30617)</title>
<updated>2022-06-10T12:17:11Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-06-10T12:17:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2ad51c636ae44ef847bf8d7ae687f739dfeade41'/>
<id>urn:sha1:2ad51c636ae44ef847bf8d7ae687f739dfeade41</id>
<content type='text'>
Co-authored-by: XD Trol &lt;milestonejxd@gmail.com&gt;
Co-authored-by: Antoine Pitrou &lt;pitrou@free.fr&gt;
(cherry picked from commit 30610d28374f5a9698d456cebf3ae496ac01af51)

Co-authored-by: Leo Trol &lt;milestone.jxd@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-47029: Fix BrokenPipeError in multiprocessing.Queue at garbage collection and explicit close (GH-31913)</title>
<updated>2022-05-04T00:16:21Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-05-04T00:16:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=28eea73e7c5405ec41dda0cddae2a3ebaac908f5'/>
<id>urn:sha1:28eea73e7c5405ec41dda0cddae2a3ebaac908f5</id>
<content type='text'>
(cherry picked from commit dfb1b9da8a4becaeaed3d9cffcaac41bcaf746f4)

Co-authored-by: Géry Ogam &lt;gery.ogam@gmail.com&gt;</content>
</entry>
<entry>
<title>Fix missing `f` prefix on f-strings (GH-91910)</title>
<updated>2022-04-27T07:08:05Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-04-27T07:08:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=280749a8fdfa9b42e249b7e09d2b44607fff228d'/>
<id>urn:sha1:280749a8fdfa9b42e249b7e09d2b44607fff228d</id>
<content type='text'>
(cherry picked from commit f882d33778ee2625ab32d90e28edb6878fb8af93)

Co-authored-by: Alexander Shadchin &lt;alexandr.shadchin@gmail.com&gt;</content>
</entry>
<entry>
<title>gh-91231: multiprocessing BaseManager waits 1.0 second (#91701)</title>
<updated>2022-04-19T15:06:00Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2022-04-19T15:06:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a885f10325eb2fc27cd50ace5614666ea688ab66'/>
<id>urn:sha1:a885f10325eb2fc27cd50ace5614666ea688ab66</id>
<content type='text'>
Shutting down a multiprocessing BaseManager now waits for 1 second until
the process completes, rather than 0.1 second, after the process is
terminated.</content>
</entry>
<entry>
<title>bpo-38840: Incorrect __all__ in multiprocessing.managers (GH-18034)</title>
<updated>2021-08-09T17:39:05Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-08-09T17:39:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8ece98a7e418c3c68a4c61bc47a2d0931b59a889'/>
<id>urn:sha1:8ece98a7e418c3c68a4c61bc47a2d0931b59a889</id>
<content type='text'>
This was causing test___all__ to fail on platforms lacking a shared
memory implementation.

Co-Authored-By: Xavier de Gaye &lt;xdegaye@gmail.com&gt;
Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;
(cherry picked from commit d0978761118856e8ca8ea7b162a6585b8da83df9)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</content>
</entry>
</feed>
