<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/warnings.py, branch 3.8</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/warnings.py?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/warnings.py?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2020-01-05T12:33:08Z</updated>
<entry>
<title>bpo-39056: Fix handling invalid warning category in the -W option. (GH-17618)</title>
<updated>2020-01-05T12:33:08Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-01-05T12:33:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e1caa49f68dd63b534774aebad0c240143e6fb5d'/>
<id>urn:sha1:e1caa49f68dd63b534774aebad0c240143e6fb5d</id>
<content type='text'>
No longer import the re module if it is not needed.
(cherry picked from commit 41ec17e45d54473d32f543396293256f1581e44d)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-35178: Fix warnings._formatwarnmsg() (GH-12033)</title>
<updated>2019-03-01T17:17:55Z</updated>
<author>
<name>Xtreak</name>
<email>tir.karthi@gmail.com</email>
</author>
<published>2019-03-01T17:17:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=be7c460fb50efe3b88a00281025d76acc62ad2fd'/>
<id>urn:sha1:be7c460fb50efe3b88a00281025d76acc62ad2fd</id>
<content type='text'>
Ensure custom formatwarning function can receive line as positional argument.

Co-Authored-By: Tashrif Billah &lt;tashrifbillah@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-29564: warnings suggests to enable tracemalloc (GH-10486)</title>
<updated>2018-11-13T01:41:00Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-13T01:41:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2c07c493d2eb45101312e3eb3a77f94d0c9cad1f'/>
<id>urn:sha1:2c07c493d2eb45101312e3eb3a77f94d0c9cad1f</id>
<content type='text'>
The warnings module now suggests to enable tracemalloc if the source
is specified, tracemalloc module is available, but tracemalloc is not
tracing memory allocations.</content>
</entry>
<entry>
<title>bpo-33375: Get filename for warnings from frame.f_code.co_filename (GH-6622)</title>
<updated>2018-06-08T19:28:37Z</updated>
<author>
<name>Thomas Kluyver</name>
<email>takowl@gmail.com</email>
</author>
<published>2018-06-08T19:28:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=11a896652ee98aa44e59ed25237f9efb56635dcf'/>
<id>urn:sha1:11a896652ee98aa44e59ed25237f9efb56635dcf</id>
<content type='text'>
More consistent with how other parts of Python find the filename (e.g. tracebacks and pdb).</content>
</entry>
<entry>
<title>bpo-32591: Add native coroutine origin tracking (#5250)</title>
<updated>2018-01-21T14:44:07Z</updated>
<author>
<name>Nathaniel J. Smith</name>
<email>njs@pobox.com</email>
</author>
<published>2018-01-21T14:44:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fc2f407829d9817ddacccae6944dd0879cfaca24'/>
<id>urn:sha1:fc2f407829d9817ddacccae6944dd0879cfaca24</id>
<content type='text'>
* Add coro.cr_origin and sys.set_coroutine_origin_tracking_depth
* Use coroutine origin information in the unawaited coroutine warning
* Stop using set_coroutine_wrapper in asyncio debug mode
* In BaseEventLoop.set_debug, enable debugging in the correct thread</content>
</entry>
<entry>
<title>bpo-31975 (PEP 565): Show DeprecationWarning in __main__ (GH-4458)</title>
<updated>2018-01-08T02:45:02Z</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2018-01-08T02:45:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9b99747386b690007027c3be2a5d7cfe3d3634f5'/>
<id>urn:sha1:9b99747386b690007027c3be2a5d7cfe3d3634f5</id>
<content type='text'>
- primary change is to add a new default filter entry for
  'default::DeprecationWarning:__main__'
- secondary change is an internal one to cope with plain
  strings in the warning module's internal filter list
  (this avoids the need to create a compiled regex object
  early on during interpreter startup)
- assorted documentation updates, including many more
  examples of configuring the warnings settings
- additional tests to ensure that both the pure Python and
  the C accelerated warnings modules have the expected
  default configuration</content>
</entry>
<entry>
<title>bpo-32230: Set sys.warnoptions with -X dev (#4820)</title>
<updated>2017-12-12T21:59:48Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-12-12T21:59:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=747f48e2e92390c44c72f52a1239959601cde157'/>
<id>urn:sha1:747f48e2e92390c44c72f52a1239959601cde157</id>
<content type='text'>
Rather than supporting dev mode directly in the warnings module, this
instead adjusts the initialisation code to add an extra 'default'
entry to sys.warnoptions when dev mode is enabled.

This ensures that dev mode behaves *exactly* as if `-Wdefault` had
been passed on the command line, including in the way it interacts
with `sys.warnoptions`, and with other command line flags like `-bb`.

Fix also bpo-20361: have -b &amp; -bb options take precedence over any
other warnings options.

Patch written by Nick Coghlan, with minor modifications of Victor Stinner.</content>
</entry>
<entry>
<title>bpo-32121: Add most_recent_first parameter to tracemalloc.Traceback.format (#4534)</title>
<updated>2017-11-29T23:05:07Z</updated>
<author>
<name>Jesse-Bakker</name>
<email>jessebakker00@gmail.com</email>
</author>
<published>2017-11-29T23:05:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=706e10b186992e086e661a62d2c8ec9588525b31'/>
<id>urn:sha1:706e10b186992e086e661a62d2c8ec9588525b31</id>
<content type='text'>
* Add most_recent_first parameter to tracemalloc.Traceback.format to allow
   reversing the order of the frames in the output
* Reversed default sorting of tracemalloc.Traceback frames
* Allowed negative limit, truncating from the other side.</content>
</entry>
<entry>
<title>bpo-27535: Fix memory leak with warnings ignore (#4489)</title>
<updated>2017-11-27T15:57:07Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-11-27T15:57:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c9758784eb321fb9771e0bc7205b296e4d658045'/>
<id>urn:sha1:c9758784eb321fb9771e0bc7205b296e4d658045</id>
<content type='text'>
The warnings module doesn't leak memory anymore in the hidden
warnings registry for the "ignore" action of warnings filters.

The warn_explicit() function doesn't add the warning key to the
registry anymore for the "ignore" action.</content>
</entry>
<entry>
<title>bpo-32089: Use default action for ResourceWarning (#4584)</title>
<updated>2017-11-27T11:11:55Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-11-27T11:11:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=21c7730761e2a768e33b89b063a095d007dcfd2c'/>
<id>urn:sha1:21c7730761e2a768e33b89b063a095d007dcfd2c</id>
<content type='text'>
In development and debug mode, use the "default" action, rather than
the "always" action, for ResourceWarning in the default warnings
filters.</content>
</entry>
</feed>
