<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/test/test_warnings, branch refactor-lambda-parameters</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>bpo-39489: Remove COUNT_ALLOCS special build (GH-18259)</title>
<updated>2020-02-03T14:17:15+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-02-03T14:17:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c6e5c1123bac6cbb4c85265155af5349dcea522e'/>
<id>c6e5c1123bac6cbb4c85265155af5349dcea522e</id>
<content type='text'>
Remove:

* COUNT_ALLOCS macro
* sys.getcounts() function
* SHOW_ALLOC_COUNT code in listobject.c
* SHOW_TRACK_COUNT code in tupleobject.c
* PyConfig.show_alloc_count field
* -X showalloccount command line option
* @test.support.requires_type_collecting decorator</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove:

* COUNT_ALLOCS macro
* sys.getcounts() function
* SHOW_ALLOC_COUNT code in listobject.c
* SHOW_TRACK_COUNT code in tupleobject.c
* PyConfig.show_alloc_count field
* -X showalloccount command line option
* @test.support.requires_type_collecting decorator</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39056: Fix handling invalid warning category in the -W option. (GH-17618)</title>
<updated>2020-01-05T12:15:27+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-01-05T12:15:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=41ec17e45d54473d32f543396293256f1581e44d'/>
<id>41ec17e45d54473d32f543396293256f1581e44d</id>
<content type='text'>
No longer import the re module if it is not needed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No longer import the re module if it is not needed.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38991: Remove test.support.strip_python_stderr() (GH-17490)</title>
<updated>2019-12-08T07:38:16+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-12-08T07:38:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6cac1136665b70f72db291b95876d7affcf1d2db'/>
<id>6cac1136665b70f72db291b95876d7affcf1d2db</id>
<content type='text'>
test.support: run_python_until_end(), assert_python_ok() and
assert_python_failure() functions no longer strip whitespaces from
stderr.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
test.support: run_python_until_end(), assert_python_ok() and
assert_python_failure() functions no longer strip whitespaces from
stderr.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos mostly in comments, docs and test names (GH-15209)</title>
<updated>2019-08-30T20:21:19+00:00</updated>
<author>
<name>Min ho Kim</name>
<email>minho42@gmail.com</email>
</author>
<published>2019-08-30T20:21:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=39d87b54715197ca9dcb6902bb43461c0ed701a2'/>
<id>39d87b54715197ca9dcb6902bb43461c0ed701a2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-20443: _PyConfig_Read() gets the absolute path of run_filename (GH-14053)</title>
<updated>2019-06-25T13:02:43+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-06-25T13:02:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3939c321c90283b49eddde762656e4b1940e7150'/>
<id>3939c321c90283b49eddde762656e4b1940e7150</id>
<content type='text'>
Python now gets the absolute path of the script filename specified on
the command line (ex: "python3 script.py"): the __file__ attribute of
the __main__ module, sys.argv[0] and sys.path[0] become an absolute
path, rather than a relative path.

* Add _Py_isabs() and _Py_abspath() functions.
* _PyConfig_Read() now tries to get the absolute path of
  run_filename, but keeps the relative path if _Py_abspath() fails.
* Reimplement os._getfullpathname() using _Py_abspath().
* Use _Py_isabs() in getpath.c.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python now gets the absolute path of the script filename specified on
the command line (ex: "python3 script.py"): the __file__ attribute of
the __main__ module, sys.argv[0] and sys.path[0] become an absolute
path, rather than a relative path.

* Add _Py_isabs() and _Py_abspath() functions.
* _PyConfig_Read() now tries to get the absolute path of
  run_filename, but keeps the relative path if _Py_abspath() fails.
* Reimplement os._getfullpathname() using _Py_abspath().
* Use _Py_isabs() in getpath.c.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35178: Fix warnings._formatwarnmsg() (GH-12033)</title>
<updated>2019-03-01T17:17:55+00:00</updated>
<author>
<name>Xtreak</name>
<email>tir.karthi@gmail.com</email>
</author>
<published>2019-03-01T17:17:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=be7c460fb50efe3b88a00281025d76acc62ad2fd'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure custom formatwarning function can receive line as positional argument.

Co-Authored-By: Tashrif Billah &lt;tashrifbillah@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-29564: warnings suggests to enable tracemalloc (GH-10486)</title>
<updated>2018-11-13T01:41:00+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-13T01:41:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2c07c493d2eb45101312e3eb3a77f94d0c9cad1f'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The warnings module now suggests to enable tracemalloc if the source
is specified, tracemalloc module is available, but tracemalloc is not
tracing memory allocations.</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed several assertTrue() that were intended to be assertEqual(). (GH-8191)</title>
<updated>2018-07-09T15:25:55+00:00</updated>
<author>
<name>Sergey Fedoseev</name>
<email>fedoseev.sergey@gmail.com</email>
</author>
<published>2018-07-09T15:25:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b796e7dcdc24ff7ec53044af041254c83a8ace21'/>
<id>b796e7dcdc24ff7ec53044af041254c83a8ace21</id>
<content type='text'>
Fixed also testing the "always" warning filter.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed also testing the "always" warning filter.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33912: Fix test_warnings when run with -Werror (GH-7839)</title>
<updated>2018-06-21T16:12:56+00:00</updated>
<author>
<name>Christopher Frederickson</name>
<email>fredericc0@students.rowan.edu</email>
</author>
<published>2018-06-21T16:12:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=419e88d18ccc83e182afca124d42f46794022aab'/>
<id>419e88d18ccc83e182afca124d42f46794022aab</id>
<content type='text'>
Add missing warning filter to test_exec_filename().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add missing warning filter to test_exec_filename().</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33375: Get filename for warnings from frame.f_code.co_filename (GH-6622)</title>
<updated>2018-06-08T19:28:37+00:00</updated>
<author>
<name>Thomas Kluyver</name>
<email>takowl@gmail.com</email>
</author>
<published>2018-06-08T19:28:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=11a896652ee98aa44e59ed25237f9efb56635dcf'/>
<id>11a896652ee98aa44e59ed25237f9efb56635dcf</id>
<content type='text'>
More consistent with how other parts of Python find the filename (e.g. tracebacks and pdb).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
More consistent with how other parts of Python find the filename (e.g. tracebacks and pdb).</pre>
</div>
</content>
</entry>
</feed>
