<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/inspect.py, branch 3.7</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/inspect.py?h=3.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/inspect.py?h=3.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2020-03-05T01:03:29Z</updated>
<entry>
<title>bpo-13487: Use sys.modules.copy() in inspect.getmodule() for thread safety. (GH-18786)</title>
<updated>2020-03-05T01:03:29Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-03-05T01:03:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a12381233a243ba7d5151ebf060feb57dd540bef'/>
<id>urn:sha1:a12381233a243ba7d5151ebf060feb57dd540bef</id>
<content type='text'>
`list(sys.modules.items())` was apparently not immune to "dictionary
changed size during iteration" errors.

Tested internally using an integration test that has run into this a couple of times in the past two years.  With this patch applied, the test is no longer flaky.
(cherry picked from commit 85cf1d514b84dc9a4bcb40e20a12e1d82ff19f20)

Co-authored-by: Gregory P. Smith &lt;gps@google.com&gt;</content>
</entry>
<entry>
<title>bpo-34706: Preserve subclassing in inspect.Signature.from_callable (GH-16108) (GH-16114)</title>
<updated>2019-09-13T17:42:53Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-09-13T17:42:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3906920cfecba83d529f8755f5ec2e53e49f9e90'/>
<id>urn:sha1:3906920cfecba83d529f8755f5ec2e53e49f9e90</id>
<content type='text'>
https://bugs.python.org/issue34706

Specifically in the case of a class that does not override its
constructor signature inherited from object.

These are Buck Evan @bukzor's changes cherrypicked from GH-9344.
(cherry picked from commit 5b9ff7a0dcb16d6f5c3cd4f1f52e0ca6a4bde586)

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;</content>
</entry>
<entry>
<title>bpo-38059: Using sys.exit() over exit() in inspect.py (GH-15666)</title>
<updated>2019-09-09T15:19:13Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-09-09T15:19:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b7bf632d4ebacfeffc8770a7848c690fa2a90a62'/>
<id>urn:sha1:b7bf632d4ebacfeffc8770a7848c690fa2a90a62</id>
<content type='text'>
Constants added by the site module like exit() "should not be used in programs"
(cherry picked from commit e3c59a75279b0df4e7553d6f0031e202de434e43)

Co-authored-by: Alan Yee &lt;alanyee@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>bpo-37173: Show passed class in inspect.getfile error (GH-13861)</title>
<updated>2019-06-08T15:27:06Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-06-08T15:27:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=51c9cc73cb8768a691688755af0a8b6b12cf712c'/>
<id>urn:sha1:51c9cc73cb8768a691688755af0a8b6b12cf712c</id>
<content type='text'>
Currently, inspect.getfile(str) will report nonsense:

```pytb
&gt;&gt;&gt; inspect.getfile(str)
TypeError: &lt;module 'builtins' (built-in)&gt; is a built-in class
```

This fixes that

https://bugs.python.org/issue37173
(cherry picked from commit d407d2a7265f6102e51a1d62b3fd28b4f7a78d16)

Co-authored-by: Philipp A &lt;flying-sheep@web.de&gt;</content>
</entry>
<entry>
<title>bpo-33594: Add deprecation info in inspect.py module (GH-7036)</title>
<updated>2018-10-20T00:05:49Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-10-20T00:05:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c8348fb6d2ef1b5bb91d6eb5fbafdf42c4ae16ce'/>
<id>urn:sha1:c8348fb6d2ef1b5bb91d6eb5fbafdf42c4ae16ce</id>
<content type='text'>
(cherry picked from commit ded87d804e2a85b2a3ea9e7a11384b41fafdfa29)

Co-authored-by: Matthias Bussonnier &lt;bussonniermatthias@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-34871: inspect: Don't pollute sys.modules (GH-9696) (#9701)</title>
<updated>2018-10-04T19:26:33Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-10-04T19:26:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=476c294f260ebe1b44157a168c3dfa4a43724ce3'/>
<id>urn:sha1:476c294f260ebe1b44157a168c3dfa4a43724ce3</id>
<content type='text'>
https://bugs.python.org/issue34871
(cherry picked from commit 6f85b826b527e240551613aeec3118a5469e3a33)

Co-authored-by: INADA Naoki &lt;methane@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>bpo-6700: Fix inspect.getsourcelines for module level frames/tracebacks (GH-8864)</title>
<updated>2018-08-24T14:44:47Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-08-24T14:44:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3e6020c4ddf7acea91efdae770320c6ce06b93db'/>
<id>urn:sha1:3e6020c4ddf7acea91efdae770320c6ce06b93db</id>
<content type='text'>
(cherry picked from commit 91cb298f811961277fd4cc4a32211899d48bedcb)

Co-authored-by: Vladimir Matveev &lt;v2matveev@outlook.com&gt;</content>
</entry>
<entry>
<title>bpo-33582: Remove duplicate space in inspect.formatargspec() deprecation warning (GH-7655) (GH-7657)</title>
<updated>2018-06-12T04:25:31Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-06-12T04:25:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8379b70be2c0a9e3f11cdb694a8faaf5763f99ed'/>
<id>urn:sha1:8379b70be2c0a9e3f11cdb694a8faaf5763f99ed</id>
<content type='text'>
(cherry picked from commit 41254ebd5e4f40a2e095d8aaea60bf3973de4647)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-33582: Emit deprecation warning for `formatargspec` (GH-6994)</title>
<updated>2018-06-11T20:44:16Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-06-11T20:44:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=60b8274fec3ff029591d8718650223c5ce78a05c'/>
<id>urn:sha1:60b8274fec3ff029591d8718650223c5ce78a05c</id>
<content type='text'>
(cherry picked from commit 46c5cd0f6e22bdfbdd3f0b18f1d01eda754e7e11)

Co-authored-by: Matthias Bussonnier &lt;bussonniermatthias@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-33197: Update a error message of invalid inspect.Parameters. (GH-6636) (GH-7204)</title>
<updated>2018-05-29T15:43:54Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-05-29T15:43:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cb055bcc2bbfa5dcc6b0332305918a2118d9ebbc'/>
<id>urn:sha1:cb055bcc2bbfa5dcc6b0332305918a2118d9ebbc</id>
<content type='text'>
(cherry picked from commit a9cab433bbf02f3a1de59d14dc8f583181ffe2d5)

Co-authored-by: Dong-hee Na &lt;donghee.na92@gmail.com&gt;</content>
</entry>
</feed>
