cpython/Lib
Barney Gale c68a93c582
GH-73991: Add pathlib.Path.copy_into() and move_into() (#123314)
These two methods accept an *existing* directory path, onto which we join
the source path's base name to form the final target path.

A possible alternative implementation is to check for directories in
`copy()` and `move()` and adjust the target path, which is done in several
`shutil` functions. This behaviour is helpful in a shell context, but
less so in a stored program that explicitly specifies destinations. For
example, a user that calls `Path('foo.py').copy('bar.py')` might not
imagine that `bar.py/foo.py` would be created, but under the alternative
implementation this will happen if `bar.py` is an existing directory.
2024-08-26 14:14:23 +01:00
..
__phello__
_pyrepl gh-123177: Fix prompt for wrapped lines in pyrepl (#123324) 2024-08-25 22:54:06 +00:00
asyncio Fix typo mentioning threads instead of tasks (#123203) 2024-08-23 21:54:12 +05:30
collections
concurrent
ctypes
curses
dbm
email
encodings
ensurepip gh-122744: Bump bundled pip to 24.2 (#122745) 2024-08-06 18:38:33 +00:00
html
http gh-123067: Fix quadratic complexity in parsing "-quoted cookie values with backslashes (GH-123075) 2024-08-17 16:30:52 +03:00
idlelib Rewrite idlelib/Icons/README.txt (#123329) 2024-08-25 22:11:59 -04:00
importlib gh-116608: Apply style and compatibility changes from importlib_metadata. (#123028) 2024-08-15 15:32:05 -04:00
json gh-122873: Allow "python -m json" to work (#122884) 2024-08-13 17:09:38 +01:00
logging gh-105376: Restore deprecated logging warn() method (#122775) 2024-08-09 15:13:24 +02:00
multiprocessing
pathlib GH-73991: Add pathlib.Path.copy_into() and move_into() (#123314) 2024-08-26 14:14:23 +01:00
pydoc_data
re Remove dead code in the RE parser (GH-122796) 2024-08-07 19:44:18 +00:00
site-packages
sqlite3
sysconfig
test GH-73991: Add pathlib.Path.copy_into() and move_into() (#123314) 2024-08-26 14:14:23 +01:00
tkinter Fix typos in comments (#123201) 2024-08-21 12:49:23 +00:00
tomllib
turtledemo
unittest gh-122858: Deprecate asyncio.iscoroutinefunction (#122875) 2024-08-11 16:35:51 +00:00
urllib gh-85110: Preserve relative path in URL without netloc in urllib.parse.urlunsplit() (GH-123179) 2024-08-21 10:17:38 +03:00
venv
wsgiref
xml Fix typos in comments and test code (#122846) 2024-08-11 21:16:41 -07:00
xmlrpc
zipfile gh-122903: Honor directories in zipfile.Path.glob. (#122908) 2024-08-11 20:33:33 -04:00
zoneinfo
__future__.py
__hello__.py
_aix_support.py
_android_support.py gh-116622: Add Android test script (#121595) 2024-08-16 13:00:29 +08:00
_collections_abc.py
_colorize.py
_compat_pickle.py
_compression.py
_ios_support.py
_markupbase.py
_opcode_metadata.py GH-123040: Specialize shadowed LOAD_ATTR. (GH-123219) 2024-08-23 10:22:35 +01:00
_osx_support.py
_py_abc.py
_pydatetime.py gh-122272: Guarantee specifiers %F and %C for datetime.strftime to be 0-padded (GH-122436) 2024-08-23 18:45:03 +03:00
_pydecimal.py
_pyio.py
_pylong.py Fix typos in comments and test code (#122846) 2024-08-11 21:16:41 -07:00
_sitebuiltins.py
_strptime.py
_threading_local.py
_weakrefset.py
abc.py
annotationlib.py gh-119180: annotationlib: Fix __all__, formatting (#122365) 2024-08-11 23:44:51 +00:00
antigravity.py
argparse.py gh-121151: argparse: Fix wrapping of long usage text of arguments inside a mutually exclusive groups (GH-121159) 2024-08-07 15:20:38 +02:00
ast.py
base64.py
bdb.py
bisect.py
bz2.py
calendar.py
cmd.py
code.py gh-122546: Relax SyntaxError check when raising errors on the new REPL (#123233) 2024-08-23 00:25:33 +01:00
codecs.py
codeop.py
colorsys.py
compileall.py
configparser.py gh-123049: configparser: Allow to create the unnamed section from scratch. (#123077) 2024-08-18 15:52:25 -04:00
contextlib.py
contextvars.py
copy.py
copyreg.py
cProfile.py
csv.py
dataclasses.py Fix typos in comments and test code (#122846) 2024-08-11 21:16:41 -07:00
datetime.py
decimal.py
difflib.py
dis.py gh-123165: make dis functions render positions on demand (#123168) 2024-08-21 14:46:24 +01:00
doctest.py
enum.py Fix typos in comments and docstring (#122720) 2024-08-07 07:39:16 +01:00
filecmp.py
fileinput.py
fnmatch.py
fractions.py
ftplib.py
functools.py
genericpath.py
getopt.py
getpass.py
gettext.py Fix old-style print statement in gettext comments (#122939) 2024-08-12 18:15:57 +03:00
glob.py
graphlib.py
gzip.py
hashlib.py
heapq.py
hmac.py
imaplib.py
inspect.py gh-122981: Fix inspect.getsource() for generated classes with Python base classes (GH-123001) 2024-08-20 20:10:15 +03:00
io.py
ipaddress.py
keyword.py
linecache.py
locale.py
lzma.py
mailbox.py
mimetypes.py Fix typos in comments and docstring (#122720) 2024-08-07 07:39:16 +01:00
modulefinder.py
netrc.py
ntpath.py
nturl2path.py
numbers.py
opcode.py GH-118093: Specialize CALL_KW (GH-123006) 2024-08-16 17:11:24 +01:00
operator.py gh-115808: Add `is_none and is_not_none to operator` (#115814) 2024-08-10 20:16:34 +01:00
optparse.py
os.py
pdb.py Fix typos in comments and docstring (#122720) 2024-08-07 07:39:16 +01:00
pickle.py
pickletools.py
pkgutil.py
platform.py
plistlib.py
poplib.py
posixpath.py
pprint.py gh-118761: Improve import time of pprint (#122725) 2024-08-07 22:46:54 +03:00
profile.py
pstats.py
pty.py
py_compile.py
pyclbr.py
pydoc.py
queue.py
quopri.py
random.py
reprlib.py
rlcompleter.py
runpy.py
sched.py
secrets.py
selectors.py
shelve.py
shlex.py
shutil.py gh-123084: Turn shutil.ExecError into a deprecated alias of RuntimeError (#123125) 2024-08-21 00:39:24 +00:00
signal.py
site.py
smtplib.py
socket.py
socketserver.py
sre_compile.py
sre_constants.py
sre_parse.py
ssl.py gh-118658: Return consistent types from get_un/verified_chain in SSLObject and SSLSocket (#118669) 2024-08-16 22:27:44 +02:00
stat.py
statistics.py
string.py
stringprep.py
struct.py
subprocess.py
symtable.py
tabnanny.py
tarfile.py
tempfile.py
textwrap.py
this.py
threading.py
timeit.py
token.py
tokenize.py
trace.py
traceback.py gh-123123: Fix display of syntax errors covering multiple lines (#123131) 2024-08-19 15:09:03 +00:00
tracemalloc.py
tty.py
turtle.py Fix print usage in turtle doctests (#122940) 2024-08-13 19:39:12 +03:00
types.py
typing.py gh-119180: Improvements to ForwardRef.evaluate (#122210) 2024-08-11 23:42:57 +00:00
uuid.py Fix typos in comments and docstring (#122720) 2024-08-07 07:39:16 +01:00
warnings.py
wave.py
weakref.py
webbrowser.py
zipapp.py
zipimport.py