cpython/Python
Nick Coghlan d5d9e02dd3
bpo-33053: -m now adds *starting* directory to sys.path (GH-6231)
Historically, -m added the empty string as sys.path
zero, meaning it resolved imports against the current
working directory, the same way -c and the interactive
prompt do.

This changes the sys.path initialisation to add the
*starting* working directory as sys.path[0] instead,
such that changes to the working directory while the
program is running will have no effect on imports
when using the -m switch.
2018-03-25 23:03:10 +10:00
..
clinic bpo-32436: Implement PEP 567 (#5027) 2018-01-22 19:11:18 -05:00
_warnings.c bpo-32591: fix abort in _PyErr_WarnUnawaitedCoroutine during shutdown (#5337) 2018-01-26 14:28:31 -05:00
asdl.c
ast.c Don't hide unexpected errors in PyErr_WarnExplicitObject(). (#4585) 2017-12-01 08:40:23 +02:00
ast_opt.c bpo-32925: Optimized iterating and containing test for literal lists (GH-5842) 2018-03-11 10:54:47 +02:00
ast_unparse.c bpo-32711: Fix warnings for Python/ast_unparse.c (#5426) 2018-02-01 17:59:27 +01:00
bltinmodule.c bpo-32674: Improve the docstring for __import__ (GH-5339) 2018-02-01 23:20:00 -05:00
bootstrap_hash.c bpo-33021: Release the GIL during fstat() calls (GH-6019) 2018-03-12 00:39:22 +01:00
ceval.c bpo-32932: More revealing error message when non-str objects in __all__ (GH-5848) 2018-03-24 18:39:36 +08:00
ceval_gil.h
codecs.c bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code (GH-5222) 2018-01-25 17:49:40 +09:00
compile.c bpo-33132: Fix reference counting issues in the compiler. (GH-6209) 2018-03-24 22:42:35 +02:00
condvar.h
context.c Fix some warnings produced by different compilers. (#5593) 2018-02-09 17:31:26 +02:00
dtoa.c
dup2.c
dynamic_annotations.c bpo-32241: Add the const qualifire to declarations of umodifiable strings. (#4748) 2017-12-12 13:55:04 +02:00
dynload_aix.c
dynload_dl.c
dynload_hpux.c
dynload_shlib.c
dynload_stub.c
dynload_win.c
errors.c
fileutils.c bpo-32869: Fix incorrect dst buffer size for MultiByteToWideChar (#5739) 2018-02-18 19:57:24 +02:00
formatter_unicode.c bpo-31900: Fix localeconv() encoding for LC_NUMERIC (#4174) 2018-01-15 15:58:02 +01:00
frozen.c
frozenmain.c bpo-32241: Add the const qualifire to declarations of umodifiable strings. (#4748) 2017-12-12 13:55:04 +02:00
future.c bpo-32670: Enforce PEP 479. (#5327) 2018-01-26 15:24:24 -05:00
getargs.c bpo-32746: Fix multiple typos (GH-5144) 2018-02-03 19:36:10 -05:00
getcompiler.c
getcopyright.c advance copyright years to 2018 (#5094) 2018-01-04 22:34:19 -08:00
getopt.c move pygetopt.h to internal (closes bpo-32264) (#4830) 2017-12-14 23:48:12 -08:00
getplatform.c
getversion.c
graminit.c
hamt.c Add two missing error checks in hamt.c (GH-5851) 2018-03-08 13:59:46 +08:00
import.c bpo-32946: Speed up "from ... import ..." from non-packages. (GH-5873) 2018-03-11 10:52:37 +02:00
importdl.c
importdl.h
importlib.h bpo-32946: Speed up "from ... import ..." from non-packages. (GH-5873) 2018-03-11 10:52:37 +02:00
importlib_external.h bpo-33041: Rework compiling an "async for" loop. (#6142) 2018-03-23 14:34:35 +02:00
makeopcodetargets.py
marshal.c
modsupport.c
mysnprintf.c
mystrtoul.c
opcode_targets.h bpo-33041: Rework compiling an "async for" loop. (#6142) 2018-03-23 14:34:35 +02:00
pathconfig.c bpo-33053: -m now adds *starting* directory to sys.path (GH-6231) 2018-03-25 23:03:10 +10:00
peephole.c bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter to compiler. (GH-5006) 2018-02-22 23:33:30 +02:00
pyarena.c
pyctype.c
pyfpe.c bpo-29137: Remove fpectl module (#4789) 2018-01-05 23:15:34 -08:00
pyhash.c Fix some warnings produced by different compilers. (#5593) 2018-02-09 17:31:26 +02:00
pylifecycle.c closes bpo-32980 Remove _PyFrame_Init (GH-5965) 2018-03-03 22:06:01 -08:00
pymath.c
pystate.c bpo-33005: Fix _PyGILState_Reinit() (#6001) 2018-03-06 14:31:37 +01:00
pystrcmp.c
pystrhex.c
pystrtod.c Drop confusing commented out code in pystrtod.c (GH-6072) 2018-03-11 17:45:10 +08:00
Python-ast.c bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code (GH-5222) 2018-01-25 17:49:40 +09:00
pythonrun.c closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575) 2017-12-09 10:26:52 -08:00
pytime.c
README
strdup.c
structmember.c
symtable.c bpo-32836: Remove obsolete code from symtable pass (GH-5680) 2018-02-27 07:31:20 +10:00
sysmodule.c bpo-33042: Fix pre-initialization sys module configuration (GH-6157) 2018-03-25 20:44:30 +10:00
thread.c bpo-32241: Add the const qualifire to declarations of umodifiable strings. (#4748) 2017-12-12 13:55:04 +02:00
thread_nt.h Fix typo in thread_nt.h code comment (GH-5211) 2018-01-17 15:21:01 -08:00
thread_pthread.h bpo-32593: Drop FreeBSD 9 and older support (#5232) 2018-01-22 18:32:50 +01:00
traceback.c bpo-30579: Allow TracebackType creation and tb_next mutation from Python (GH-4793) 2018-01-07 23:30:18 +10:00
wordcode_helpers.h

Miscellaneous source files for the main Python shared library