cpython/Python
Serhiy Storchaka 0834905d9b [3.6] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) (#2462)
Based on patch by Victor Stinner.

Add private C API function _PyUnicode_AsUnicode() which is similar to
PyUnicode_AsUnicode(), but checks for null characters..
(cherry picked from commit f7eae0adfc)
2017-06-28 09:27:35 +03:00
..
clinic
_warnings.c Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString. 2016-11-16 10:19:20 +02:00
asdl.c
ast.c [3.6] bpo-30682: Removed a too-strict assertion that failed for certain f-strings. (GH-2232) (#2242) 2017-06-16 09:29:42 -04:00
bltinmodule.c [3.6] bpo-8256: Fixed possible failing or crashing input() (#641) 2017-03-12 21:52:17 +02:00
ceval.c [3.6] bpo-30604: Move co_extra_freefuncs to interpreter state to avoid crashes in threads (#2015) 2017-06-12 21:46:35 -04:00
ceval_gil.h
codecs.c
compile.c bpo-29607: Fix stack_effect computation for CALL_FUNCTION_EX (GH-219) 2017-02-22 02:33:24 +09:00
condvar.h
dtoa.c
dup2.c
dynamic_annotations.c
dynload_aix.c
dynload_dl.c
dynload_hpux.c
dynload_next.c
dynload_shlib.c
dynload_stub.c
dynload_win.c [3.6] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) (#2462) 2017-06-28 09:27:35 +03:00
errors.c Issue #25677: Merge SyntaxError caret positioning from 3.5 2016-12-19 06:46:01 +00:00
fileutils.c [3.6] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) (#2462) 2017-06-28 09:27:35 +03:00
formatter_unicode.c
frozen.c
frozenmain.c
future.c Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize 2016-11-20 09:13:07 +02:00
getargs.c Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString. 2016-11-16 10:19:20 +02:00
getcompiler.c
getcopyright.c ring in 2017 for Python 2017-01-01 22:04:13 -06:00
getopt.c
getplatform.c
getversion.c
graminit.c
import.c [3.6] bpo-30626: Fix error handling in PyImport_Import(). (GH-2103) (#2221) 2017-06-15 21:15:11 +03:00
importdl.c Issue #28715: Added error checks for PyUnicode_AsUTF8(). 2016-11-20 08:48:07 +02:00
importdl.h
importlib.h Refresh Python/importlib.h and Python/importlib_external.h (#464) 2017-03-04 07:04:41 -05:00
importlib_external.h Refresh Python/importlib.h and Python/importlib_external.h (#464) 2017-03-04 07:04:41 -05:00
makeopcodetargets.py
marshal.c bpo-29746: Update marshal docs to Python 3. (#547) (#631) 2017-03-12 10:05:05 +02:00
modsupport.c
mysnprintf.c
mystrtoul.c
opcode_targets.h
peephole.c Issue #28517: Fixed of-by-one error in the peephole optimizer that caused 2016-10-25 09:30:43 +03:00
pyarena.c
pyctype.c
pyfpe.c
pyhash.c
pylifecycle.c bpo-30225: Fix is_valid_fd() on macOS Tiger (#1443) (#1449) 2017-05-04 13:21:10 +02:00
pymath.c
pystate.c bpo-30604: Fix __PyCodeExtraState_Get() prototype (#2152) 2017-06-13 10:39:30 +02:00
pystrcmp.c
pystrhex.c
pystrtod.c
Python-ast.c
pythonrun.c Issue #25677: Merge SyntaxError caret positioning from 3.5 2016-12-19 06:46:01 +00:00
pytime.c
random.c Issue #29157: Prefer getrandom() over getentropy() 2017-01-09 11:18:53 +01:00
README
sigcheck.c
strdup.c
structmember.c Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize 2016-11-20 09:13:07 +02:00
symtable.c Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString. 2016-11-16 10:19:20 +02:00
sysmodule.c [3.6] bpo-30567: Fix refleak in sys.getwindowsversion (GH-1940) (#1970) 2017-06-06 19:23:02 +03:00
thread.c
thread_foobar.h
thread_nt.h
thread_pthread.h [3.6] bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to (GH-2403) (#2418) 2017-06-26 21:57:28 +02:00
traceback.c Issue #23782: Fixed possible memory leak in _PyTraceback_Add() and exception 2016-10-18 13:26:25 +03:00
wordcode_helpers.h

Miscellaneous source files for the main Python shared library