cpython/Lib
CyberSaxosTiGER d71a6492db
bpo-38870: correctly escape unprintable characters on ast.unparse (GH-20166)
Unprintable characters such as `\x00` weren't correctly roundtripped
due to not using default string repr when generating docstrings. This
patch correctly encodes all unprintable characters (except `\n` and `\t`, which
are commonly used for formatting, and found unescaped).

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
2020-05-18 19:41:35 +01:00
..
asyncio bpo-31033: Improve the traceback for cancelled asyncio tasks (GH-19951) 2020-05-17 22:47:31 -07:00
collections Expand the implementation comments (GH-19699) 2020-04-24 02:33:07 -07:00
concurrent bpo-40443: Remove unused imports in the stdlib (GH-19803) 2020-04-30 11:26:33 +02:00
ctypes bpo-40443: Remove unused imports in the stdlib (GH-19803) 2020-04-30 11:26:33 +02:00
curses
dbm
distutils bpo-40055: test_distutils leaves warnings filters unchanged (GH-20095) 2020-05-15 18:06:23 +02:00
email bpo-40597: email: Use CTE if lines are longer than max_line_length consistently (gh-20038) 2020-05-13 20:53:26 -04:00
encodings
ensurepip
html
http
idlelib bpo-40460: Fix typo in idlelib/zzdummy.py (GH-20093) 2020-05-15 00:51:51 +02:00
importlib bpo-39791: Add files() to importlib.resources (GH-19722) 2020-05-08 19:20:26 -04:00
json
lib2to3 bpo-40360: Deprecate lib2to3 module in light of PEP 617 (GH-19663) 2020-04-24 11:19:46 -07:00
logging bpo-40300: Allow empty logging.Formatter.default_msec_format. (GH-19551) 2020-04-17 17:02:47 +01:00
msilib
multiprocessing bpo-40443: Remove unused imports in stdlib (GH-19815) 2020-05-01 02:38:00 +02:00
pydoc_data Python 3.9.0a6 2020-04-27 22:44:04 +02:00
site-packages
sqlite3
test bpo-38870: correctly escape unprintable characters on ast.unparse (GH-20166) 2020-05-18 19:41:35 +01:00
tkinter
turtledemo bpo-40431: Fix syntax typo in turtledemo (GH-19777) 2020-04-29 02:00:07 +02:00
unittest bpo-40462: fix variable and function names (GH-19832) 2020-05-01 05:49:35 -07:00
urllib
venv
wsgiref
xml bpo-40443: Remove unused imports in the stdlib (GH-19803) 2020-04-30 11:26:33 +02:00
xmlrpc
zoneinfo bpo-40536: Add zoneinfo.available_timezones (GH-20158) 2020-05-17 21:55:11 -04:00
__future__.py bpo-39562: Prevent collision of future and compiler flags (GH-19230) 2020-04-22 18:09:03 +02:00
__phello__.foo.py
_aix_support.py
_bootlocale.py
_bootsubprocess.py
_collections_abc.py
_compat_pickle.py
_compression.py
_markupbase.py
_osx_support.py bpo-38360: macOS: support alternate form of -isysroot flag (GH-16480) 2020-04-22 03:44:10 -04:00
_py_abc.py
_pydecimal.py
_pyio.py
_sitebuiltins.py
_strptime.py
_threading_local.py
_weakrefset.py
abc.py
aifc.py
antigravity.py bpo-9216: Nobody expects the geohashing FIPS inquisition (GH-19520) 2020-04-14 12:49:11 -07:00
argparse.py bpo-39058: Preserve attribute order in argparse Namespace reprs. (GH-17621) 2020-05-17 18:53:01 -07:00
ast.py bpo-38870: correctly escape unprintable characters on ast.unparse (GH-20166) 2020-05-18 19:41:35 +01:00
asynchat.py
asyncore.py
base64.py
bdb.py
binhex.py
bisect.py
bz2.py bpo-40443: Remove unused imports in the stdlib (GH-19803) 2020-04-30 11:26:33 +02:00
calendar.py
cgi.py
cgitb.py
chunk.py
cmd.py
code.py
codecs.py
codeop.py bpo-38872: Document exec symbol for codeop.compile_command (GH-20047) 2020-05-14 21:59:46 -03:00
colorsys.py
compileall.py bpo-40495: compileall option to hardlink duplicate pyc files (GH-19901) 2020-05-14 16:17:22 +02:00
configparser.py
contextlib.py
contextvars.py
copy.py
copyreg.py
cProfile.py
crypt.py
csv.py
dataclasses.py bpo-39481: PEP 585 for dataclasses, mailbox, contextvars (GH-19425) 2020-04-14 16:14:15 -07:00
datetime.py bpo-24416: Return named tuple from date.isocalendar() (GH-20113) 2020-05-16 10:02:59 -04:00
decimal.py
difflib.py bpo-40394 - difflib.SequenceMatched.find_longest_match default args (GH-19742) 2020-04-29 22:42:45 -05:00
dis.py
doctest.py
enum.py bpo-40025: Require _generate_next_value_ to be defined before members (GH-19098) 2020-04-28 10:20:55 -07:00
filecmp.py
fileinput.py
fnmatch.py bpo-40480: restore ability to join fnmatch.translate() results (GH-20049) 2020-05-11 21:19:20 -05:00
formatter.py
fractions.py
ftplib.py
functools.py bpo-40571: Make lru_cache(maxsize=None) more discoverable (GH-20019) 2020-05-11 17:00:53 -07:00
genericpath.py
getopt.py
getpass.py
gettext.py bpo-40275: Import locale module lazily in gettext (GH-19905) 2020-05-14 03:22:30 +02:00
glob.py
gzip.py
hashlib.py bpo-37630: Use SHA3 and SHAKE XOF from OpenSSL (GH-16049) 2020-05-16 13:27:06 -07:00
heapq.py
hmac.py bpo-40645: Deprecated internal details of hmac.HMAC (GH-20132) 2020-05-17 01:05:40 +02:00
imaplib.py bpo-40375: Implement imaplib.IMAP4.unselect (GH-19712) 2020-04-27 23:52:55 +09:00
imghdr.py
imp.py
inspect.py bpo-40257: Revert changes to inspect.getdoc() (GH-20073) 2020-05-18 20:25:07 +03:00
io.py
ipaddress.py bpo-39481: remove generic classes from ipaddress/mmap (GH-20045) 2020-05-11 19:32:40 -07:00
keyword.py
linecache.py issue-25872: Fix KeyError using linecache from multiple threads (GH-18007) 2020-05-13 18:41:57 -04:00
locale.py
lzma.py
mailbox.py bpo-39481: PEP 585 for dataclasses, mailbox, contextvars (GH-19425) 2020-04-14 16:14:15 -07:00
mailcap.py
mimetypes.py
modulefinder.py bpo-40443: Remove unused imports in the stdlib (GH-19803) 2020-04-30 11:26:33 +02:00
netrc.py
nntplib.py bpo-39305: Update nntplib to merge nntplib.NNTP and nntplib._NNTPBase (GH-19817) 2020-05-16 19:31:54 +09:00
ntpath.py
nturl2path.py
numbers.py
opcode.py
operator.py
optparse.py
os.py
pathlib.py bpo-40148: Add PurePath.with_stem() (GH-19295) 2020-04-19 17:29:49 +02:00
pdb.py
pickle.py bpo-39435: Make the first argument of pickle.loads() positional-only. (GH-19846) 2020-05-02 09:38:01 +03:00
pickletools.py
pipes.py
pkgutil.py
platform.py bpo-40570: Improve compatibility of uname_result with late-bound .platform (#20015) 2020-05-09 10:12:41 -04:00
plistlib.py bpo-40443: Remove unused imports in the stdlib (GH-19803) 2020-04-30 11:26:33 +02:00
poplib.py
posixpath.py
pprint.py
profile.py
pstats.py
pty.py
py_compile.py
pyclbr.py
pydoc.py bpo-40257: Revert changes to inspect.getdoc() (GH-20073) 2020-05-18 20:25:07 +03:00
queue.py
quopri.py
random.py bpo-40541: Add optional *counts* parameter to random.sample() (GH-19970) 2020-05-08 07:53:15 -07:00
re.py
reprlib.py
rlcompleter.py
runpy.py
sched.py
secrets.py bpo-40286: Add randbytes() method to random.Random (GH-19527) 2020-04-17 19:05:35 +02:00
selectors.py bpo-29255: Wait in KqueueSelector.select when no fds are registered (GH-19508) 2020-04-15 11:57:06 -07:00
shelve.py
shlex.py
shutil.py
signal.py
site.py
smtpd.py
smtplib.py
sndhdr.py
socket.py
socketserver.py Change 'exception happened' to 'exception occurred' in two places (#19767) 2020-04-30 21:30:10 -07:00
sre_compile.py
sre_constants.py
sre_parse.py
ssl.py bpo-40443: Remove unused imports in stdlib (GH-19815) 2020-05-01 02:38:00 +02:00
stat.py
statistics.py Minor code cleanups for statistics (GH-19873) 2020-05-02 19:30:24 -07:00
string.py
stringprep.py
struct.py
subprocess.py bpo-40334: Rename PyConfig.use_peg to _use_peg_parser (GH-19670) 2020-04-23 03:03:24 +02:00
sunau.py
symbol.py
symtable.py
sysconfig.py bpo-40503: PEP 615: Tests and implementation for zoneinfo (GH-19909) 2020-05-16 10:20:06 +02:00
tabnanny.py
tarfile.py
telnetlib.py
tempfile.py bpo-40287: Fix SpooledTemporaryFile.seek() return value (GH-19540) 2020-04-17 15:56:35 +09:00
textwrap.py
this.py
threading.py
timeit.py bpo-40419: timeit CLI docs now mention 1,2,5,10,... trials instead of powers of 10 (GH-19752) 2020-05-02 19:12:05 +03:00
token.py
tokenize.py
trace.py
traceback.py bpo-40612: Fix SyntaxError edge cases in traceback formatting (GH-20072) 2020-05-14 19:22:48 -07:00
tracemalloc.py
tty.py
turtle.py
types.py
typing.py bpo-40257: Tweak docstrings for special generic aliases. (GH-20022) 2020-05-10 15:14:27 +03:00
uu.py
uuid.py bpo-40501: Replace ctypes code in uuid with native module (GH-19948) 2020-05-12 23:32:32 +01:00
warnings.py
wave.py
weakref.py
webbrowser.py bpo-40561: Add docstrings for webbrowser open functions (GH-19999) 2020-05-11 14:50:11 -04:00
xdrlib.py
zipapp.py
zipfile.py bpo-40443: Remove unused imports in the stdlib (GH-19803) 2020-04-30 11:26:33 +02:00
zipimport.py