Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision 9b99747386b690007027c3be2a5d7cfe3d3634f5 authored by Nick Coghlan on 08 January 2018, 02:45:02 UTC, committed by GitHub on 08 January 2018, 02:45:02 UTC
- 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
1 parent d138892
Tip revision: 9b99747386b690007027c3be2a5d7cfe3d3634f5 authored by Nick Coghlan on 08 January 2018, 02:45:02 UTC
bpo-31975 (PEP 565): Show DeprecationWarning in __main__ (GH-4458)
bpo-31975 (PEP 565): Show DeprecationWarning in __main__ (GH-4458)
Tip revision: 9b99747
.hgeol
[patterns]
# Non human-editable files are binary
**.dsp = BIN
**.dsw = BIN
**.mk = BIN
**.sln = BIN
**.vcproj = BIN
**.vsprops = BIN
**.aif = BIN
**.aifc = BIN
**.aiff = BIN
**.au = BIN
**.bmp = BIN
**.db = BIN
**.exe = BIN
**.icns = BIN
**.gif = BIN
**.ico = BIN
**.info = BIN
**.jpg = BIN
**.pck = BIN
**.png = BIN
**.psd = BIN
**.tar = BIN
**.wav = BIN
**.whl = BIN
**.xar = BIN
**.zip = BIN
Lib/test/cjkencodings/* = BIN
Lib/test/decimaltestdata/*.decTest = BIN
Lib/test/sndhdrdata/sndhdr.* = BIN
Lib/test/test_email/data/msg_26.txt = BIN
Lib/test/xmltestdata/* = BIN
Lib/venv/scripts/nt/* = BIN
Lib/test/coding20731.py = BIN
# Windows only zlib upstream file
Modules/zlib/zlib.map = CRLF
# Windows batch files work best with CRLF, there can be subtle problems with LF
**.bat = CRLF
# The Windows readme is likely to be read in Notepad, so make it readable
PCbuild/readme.txt = CRLF
# All other files (which presumably are human-editable) are "native".
# This must be the last rule!
** = native
[repository]
native = LF
Computing file changes ...