<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git, branch cjw296-patch-1</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>remove unused __version__ from mock.py</title>
<updated>2020-01-13T07:55:34+00:00</updated>
<author>
<name>Chris Withers</name>
<email>chris@withers.org</email>
</author>
<published>2020-01-13T07:55:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=98c06c0cd38bb69c01af3334805e6b0a658518d0'/>
<id>98c06c0cd38bb69c01af3334805e6b0a658518d0</id>
<content type='text'>
This isn't included in `__all__` and could be a source of confusion.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This isn't included in `__all__` and could be a source of confusion.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32021: Support brotli .br encoding in mimetypes (#12200)</title>
<updated>2020-01-12T22:31:49+00:00</updated>
<author>
<name>Philip McMahon</name>
<email>philip.mcmahon@guardian.co.uk</email>
</author>
<published>2020-01-12T22:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b2b4a51f7463a0392456f7772f33223e57fa4ccc'/>
<id>b2b4a51f7463a0392456f7772f33223e57fa4ccc</id>
<content type='text'>
Add support for brotli encoding in the encoding_map.


</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for brotli encoding in the encoding_map.


</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39313: Add an option to RefactoringTool for using exec as a function (GH-17967)</title>
<updated>2020-01-12T22:13:31+00:00</updated>
<author>
<name>Batuhan Taşkaya</name>
<email>47358913+isidentical@users.noreply.github.com</email>
</author>
<published>2020-01-12T22:13:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=61b14151cc92021a10f94765eaa152ed04eb262a'/>
<id>61b14151cc92021a10f94765eaa152ed04eb262a</id>
<content type='text'>
https://bugs.python.org/issue39313


Automerge-Triggered-By: @pablogsal</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.python.org/issue39313


Automerge-Triggered-By: @pablogsal</pre>
</div>
</content>
</entry>
<entry>
<title>Fix outdated comment in _strptime.py (GH-17929)</title>
<updated>2020-01-12T20:53:00+00:00</updated>
<author>
<name>Ram Rachum</name>
<email>ram@rachum.com</email>
</author>
<published>2020-01-12T20:53:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=14dbe4b3f0a888a60e8cc20f3df5aa09c8bb82c3'/>
<id>14dbe4b3f0a888a60e8cc20f3df5aa09c8bb82c3</id>
<content type='text'>
Can I please get the tags for skipping bpo and skipping a news item?</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Can I please get the tags for skipping bpo and skipping a news item?</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-3530: Add advice on when to correctly use fix_missing_locations in the AST docs (GH-17172)</title>
<updated>2020-01-12T20:38:53+00:00</updated>
<author>
<name>Batuhan Taşkaya</name>
<email>47358913+isidentical@users.noreply.github.com</email>
</author>
<published>2020-01-12T20:38:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6680f4a9f5d15ab82b2ab6266c6f917cb78c919a'/>
<id>6680f4a9f5d15ab82b2ab6266c6f917cb78c919a</id>
<content type='text'>
Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38293: Allow shallow and deep copying of property objects (GH-16438)</title>
<updated>2020-01-12T17:41:49+00:00</updated>
<author>
<name>Guðni Natan Gunnarsson</name>
<email>1493259+GudniNatan@users.noreply.github.com</email>
</author>
<published>2020-01-12T17:41:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9f3fc6c5b4993f2b362263b494f84793a21aa073'/>
<id>9f3fc6c5b4993f2b362263b494f84793a21aa073</id>
<content type='text'>
Copying property objects results in a TypeError. Steps to reproduce:

```
&gt;&gt;&gt; import copy
&gt;&gt;&gt; obj = property()
&gt;&gt;&gt; copy.copy(obj)
````

This affects both shallow and deep copying.  
My idea for a fix is to add property objects to the list of "atomic" objects in the copy module.
These already include types like functions and type objects.

I also added property objects to the unit tests test_copy_atomic and test_deepcopy_atomic. This is my first PR, and it's highly likely I've made some mistake, so please be kind :)


https://bugs.python.org/issue38293</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Copying property objects results in a TypeError. Steps to reproduce:

```
&gt;&gt;&gt; import copy
&gt;&gt;&gt; obj = property()
&gt;&gt;&gt; copy.copy(obj)
````

This affects both shallow and deep copying.  
My idea for a fix is to add property objects to the list of "atomic" objects in the copy module.
These already include types like functions and type objects.

I also added property objects to the unit tests test_copy_atomic and test_deepcopy_atomic. This is my first PR, and it's highly likely I've made some mistake, so please be kind :)


https://bugs.python.org/issue38293</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39288: Add examples to math.nextafter() documentation (GH-17962)</title>
<updated>2020-01-12T11:57:47+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-01-12T11:57:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=54cfbb2feee1f7328c3d6799ec3734b00824b555'/>
<id>54cfbb2feee1f7328c3d6799ec3734b00824b555</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38356: Fix ThreadedChildWatcher thread leak in test_asyncio (GH-16552)</title>
<updated>2020-01-12T11:02:50+00:00</updated>
<author>
<name>Kyle Stanley</name>
<email>aeros167@gmail.com</email>
</author>
<published>2020-01-12T11:02:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0ca7cc7fc0518c24dc9b78c38418e6064e64f148'/>
<id>0ca7cc7fc0518c24dc9b78c38418e6064e64f148</id>
<content type='text'>
Motivation for this PR (comment from @vstinner in bpo issue):
```
Warning seen o AMD64 Ubuntu Shared 3.x buildbot:
https://buildbot.python.org/all/#/builders/141/builds/2593

test_devnull_output (test.test_a=syncio.test_subprocess.SubprocessThreadedWatcherTests) ...
Warning -- threading_cleanup() failed to cleanup 1 threads (count: 1, dangling: 2)
```
The following implementation details for the new method are TBD:

1) Public vs private

2) Inclusion in `close()`

3) Name

4) Coroutine vs subroutine method

5) *timeout* parameter

If it's a private method, 3, 4, and 5 are significantly less important.

I started with the most minimal implementation that fixes the dangling threads without modifying the regression tests, which I think is particularly important. I typically try to avoid directly modifying existing tests as much as possible unless it's necessary to do so. However, I am open to changing any part of this.


https://bugs.python.org/issue38356</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Motivation for this PR (comment from @vstinner in bpo issue):
```
Warning seen o AMD64 Ubuntu Shared 3.x buildbot:
https://buildbot.python.org/all/#/builders/141/builds/2593

test_devnull_output (test.test_a=syncio.test_subprocess.SubprocessThreadedWatcherTests) ...
Warning -- threading_cleanup() failed to cleanup 1 threads (count: 1, dangling: 2)
```
The following implementation details for the new method are TBD:

1) Public vs private

2) Inclusion in `close()`

3) Name

4) Coroutine vs subroutine method

5) *timeout* parameter

If it's a private method, 3, 4, and 5 are significantly less important.

I started with the most minimal implementation that fixes the dangling threads without modifying the regression tests, which I think is particularly important. I typically try to avoid directly modifying existing tests as much as possible unless it's necessary to do so. However, I am open to changing any part of this.


https://bugs.python.org/issue38356</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-12159: Document sys.maxsize limit in len() function reference (GH-17934)</title>
<updated>2020-01-12T09:04:14+00:00</updated>
<author>
<name>Zac Hatfield-Dodds</name>
<email>Zac-HD@users.noreply.github.com</email>
</author>
<published>2020-01-12T09:04:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d7c7adde003ddca5cbe4fc47cf09464ab95a066e'/>
<id>d7c7adde003ddca5cbe4fc47cf09464ab95a066e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-16575: Disabled checks for union types being passed by value. (GH-17960)</title>
<updated>2020-01-12T08:54:00+00:00</updated>
<author>
<name>Vinay Sajip</name>
<email>vinay_sajip@yahoo.co.uk</email>
</author>
<published>2020-01-12T08:54:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c12440c371025bea9c3bfb94945f006c486c2c01'/>
<id>c12440c371025bea9c3bfb94945f006c486c2c01</id>
<content type='text'>
Although the underlying libffi issue remains open, adding these
checks have caused problems in third-party projects which are in
widespread use. See the issue for examples.

The corresponding tests have also been skipped.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although the underlying libffi issue remains open, adding these
checks have caused problems in third-party projects which are in
widespread use. See the issue for examples.

The corresponding tests have also been skipped.</pre>
</div>
</content>
</entry>
</feed>
