8000 Always use hash by djmitche · Pull Request #27783 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Always use hash #27783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2,184 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
2184 commits
Select commit Hold shift + click to select a range
187785e
[3.8] bpo-36589: Fix the error handling in curses.update_lines_cols()…
serhiy-storchaka Jan 1, 2021
b863607
[3.8] bpo-39068: Fix race condition in base64 (GH-17627) (GH-24022)
serhiy-storchaka Jan 1, 2021
6dffa67
[3.8] bpo-26407: Do not mask errors in csv. (GH-20536) (GH-24021)
serhiy-storchaka Jan 1, 2021
2e8b1c9
bpo-42809: Improve pickle tests for recursive data. (GH-24060)
miss-islington Jan 2, 2021
645174a
[3.8] [3.9] bpo-42789: Don't skip curses tests on non-tty. (GH-24009)…
serhiy-storchaka Jan 3, 2021
82794ca
[3.8] [3.9] bpo-42681: Fix range checks for color and pair numbers in…
serhiy-storchaka Jan 4, 2021
ed2d3d1
Update Sphinx version for macOS installer build. (GH-24082) (GH-24088)
miss-islington Jan 4, 2021
f24ac45
bpo-41837: Update macOS installer build to use OpenSSL 1.1.1i. (GH-24…
miss-islington Jan 4, 2021
218ed0b
Revert "[3.8] [doc] Fix erroneous backslashes in signatures and names…
JulienPalard Jan 4, 2021
a87bf5f
Do not remove x bit from published directories (GH-24101)
miss-islington Jan 4, 2021
0ccac5f
bpo-40810: Fix CheckTraceCallbackContent for SQLite pre 3.7.15 (GH-20…
miss-islington Jan 4, 2021
d05b470
bpo-42508: Keep IDLE running on macOS (GH-23577) (#23670)
miss-islington Jan 5, 2021
3b6dcb8
Fix broken NEWS markup (GH-24110)
miss-islington Jan 5, 2021
a087a97
[3.8] bpo-32631: IDLE: Enable zzdummy example extension module (GH-14…
terryjreedy Jan 5, 2021
e2c847e
[3.8] [3.9] bpo-42681: Fix test_curses failures related to color pair…
serhiy-storchaka Jan 5, 2021
f27451d
[3.8] bpo-42584: Update macOS installer to use SQLite 3.34.0 (GH-2367…
Jan 5, 2021
86b1207
bpo-41837: Updated Windows installer to include OpenSSL 1.1.1i (GH-24…
zooba Jan 6, 2021
03a079f
bpo-38413: Remove outdated section about multithreading in sqlite3 (G…
miss-islington Jan 6, 2021
28611c2
bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965)
miss-islington Jan 6, 2021
db91714
bpo-42584: Update Windows installer to use SQLite 3.34.0 (GH-23675)
zooba Jan 6, 2021
ca8e96d
bpo-42811: Update importlib.utils.resolve_name() docs to use __spec__…
miss-islington Jan 7, 2021
5ded7ef
bpo-33065: Fix problem debugging user classes with __repr__ method (G…
miss-islington Jan 10, 2021
187f76d
[3.8] bpo-40052: Fix alignment issue in PyVectorcall_Function() (GH-2…
encukou Jan 12, 2021
f08c664
[3.8] bpo-42531: Teach importlib.resources.path to handle packages wi…
wkschwartz Jan 16, 2021
ece5dfd
closes bpo-42938: Replace snprintf with Python unicode formatting in …
miss-islington Jan 18, 2021
648b729
bpo-42005: profile and cProfile catch BrokenPipeError (GH-22643)
miss-islington Jan 20, 2021
8f334db
bpo-36769: Document that fnmatch.filter supports any kind of iterable…
miss-islington Jan 20, 2021
ebb2f26
Fix typos in unittest documentation (GH-24194)
miss-islington Jan 20, 2021
844ec0b
bpo-42780: Fix set_inheritable() for O_PATH file descriptors on Linux…
cptpcrd Jan 21, 2021
34f3f4a
bpo-40304: Correct type(name, bases, dict) doc (GH-19553)
miss-islington Jan 22, 2021
dce86c2
closes bpo-43011: Fix DeprecationWarnings in test_ctypes (GH-24305)
miss-islington Jan 23, 2021
63ebba0
bpo-43013: Update idlelib code to 3.x (GH-24315) (#24317)
miss-islington Jan 24, 2021
96bcf6f
[3.9] bpo-33289: Return RGB triplet of ints instead of floats from tk…
miss-islington Jan 25, 2021
7370be3
bpo-43013: Fix old tkinter module names in idlelib (GH-24326)
miss-islington Jan 25, 2021
c10180e
[3.8] bpo-42384: pdb: correctly populate sys.path[0] (GH-23338) (#24320)
hexagonrecursion Jan 25, 2021
d863dee
[3.8] bpo-42383: pdb: do not fail to restart the target if the curre…
hexagonrecursion Jan 26, 2021
a178473
[3.8] bpo-41841: Prepare IDLE NEWS for 3.8.8 (GH-24344)
terryjreedy Jan 26, 2021
6f0346d
bpo-43008: Make IDLE respect sys.excepthook (GH-24302)
miss-islington Jan 27, 2021
81b23a9
bpo-29076: Add fish support to macOS installer (GH-23302) (GH-23938)
miss-islington Jan 28, 2021
901a983
bpo-23544: Disable IDLE Stack Viewer when running user code (GH-17163…
miss-islington Jan 29, 2021
cf88382
bpo-43008: Add 'Patch by Ken Hilton' (GH-24370)
miss-islington Jan 29, 2021
c644db4
Fixed typo in turtle.rst (GH-24371)
miss-islington Jan 29, 2021
0b93a55
Fixing typos in turtle.rst (GH-24376)
miss-islington Jan 29, 2021
de76ce5
bpo-43059: Remove reference to legacy external sqlite3 repository (GH…
miss-islington Jan 31, 2021
229ef39
bpo-43030: Fixed a compiler warning in Py_UNICODE_ISSPACE with signed…
miss-islington Jan 31, 2021
7ca947e
[3.8] bpo-43016: Rewrite tests for curses (GH-24312). (GH-24399) (GH-…
serhiy-storchaka Jan 31, 2021
931263b
[3.9] bpo-41604: Don't decrement the reference count of the previous …
miss-islington Jan 31, 2021
aab84a5
bpo-43016: Fix test_curses on platform without cursesw (GH-24405) (GH…
miss-islington Feb 1, 2021
0869a71
bpo-41748: Handles unquoted attributes with commas (GH-24072)
miss-islington Feb 1, 2021
12ec8ce
Add link to Microsoft docs for limitations in Windows Store package (…
miss-islington Feb 3, 2021
20d4375
Fix typo (GH-23019)
miss-islington Feb 3, 2021
d29dbb1
bpo-42773: fix tests not being run on pushes (GH-24004)
miss-islington Feb 3, 2021
c370596
build(deps): bump actions/upload-artifact from v2.2.1 to v2.2.2 (GH-2…
miss-islington Feb 4, 2021
b479687
Simple typo fix (GH-24448)
miss-islington Feb 5, 2021
920bf6a
bpo-16781: In 'exec' doc, add 'nonlocal' to 'yield' and 'return' (GH-…
miss-islington Feb 7, 2021
c8a48c6
[3.8] bpo-41824: Add versionadded for typing.ForwardRef docs (#24224)…
Fidget-Spinner Feb 9, 2021
822f7c2
[3.8] bpo-41824: Fix indentation issue in ForwardRef docs (#24495)
Fidget-Spinner Feb 9, 2021
4230bd5
bpo-43200: Fix link to shutil.copy() in the shutil doc (GH-24505)
miss-islington Feb 13, 2021
7777ae2
bpo-43204: Fix LibTomCrypt URL in md5module.c and sha*module.c commen…
miss-islington Feb 14, 2021
e3110c3
[3.8] bpo-42967: only use '&' as a query string separator (GH-24297) …
orsenthil Feb 15, 2021
ede1ff2
bpo-43108: Fix a reference leak in the curses module (GH-24420) (GH-2…
miss-islington Feb 15, 2021
f30aa3c
Add a warning block around the get_referrers() documentation (GH-24511)
miss-islington Feb 15, 2021
f9d7c12
bpo-42819, readline: Disable bracketed paste (GH-24108)
miss-islington Feb 15, 2021
dfd7d68
Python 3.8.8rc1
ambv Feb 16, 2021
b095520
Post 3.8.8rc1
ambv Feb 16, 2021
f03b61a
Remove all links to mingw.org (GH-24552)
miss-islington Feb 18, 2021
8a42eb1
closes bpo-43254: Fix *snprintf() man page refs. (GH-24563)
miss-islington Feb 19, 2021
024d805
Python 3.8.8
ambv Feb 19, 2021
8f4919a
Post 3.8.8
ambv Feb 19, 2021
a072788
bpo-43042: Augment tutorial sentence (GH-24514)
miss-islington Feb 20, 2021
9a12c21
Fix typo in dis module doc (GH-24509)
miss-islington Feb 20, 2021
089a21f
bpo-27646: Say that 'yield from' expression can be any iterable (GH-2…
miss-islington Feb 21, 2021
6ddb255
bpo-43283: Rearrange some IDLE doc paragraphs. (GH-24604)
miss-islington Feb 21, 2021
6e2f144
bpo-43260: io: Prevent large data remains in textio buffer. (GH-24592)
methane Feb 22, 2021
9dd018e
bpo-23882: Doc: Clarify unittest discovery document (GH-21560)
miss-islington Feb 22, 2021
bdf0fec
bpo-43283: Add IDLE doc paragraph about print speed (GH-24615) (GH-24…
miss-islington Feb 24, 2021
653e17b
[3.8] bpo-41841: prepare for 3.8.9 (GH-24635)
terryjreedy Feb 24, 2021
2a9e6ab
bpo-43293: Doc: move note about GIL to top of threading module (GH-24…
miss-islington Feb 24, 2021
69906c5
bpo-43316: gzip: CLI uses non-zero return code on error. (GH-24647)
miss-islington Feb 25, 2021
07ab490
bpo-43316: gzip: Fix sys.exit() usage. (GH-24652)
miss-islington Feb 26, 2021
346afeb
bpo-36346: Document removal schedule of deprecate APIs (GH-20879) (#2…
miss-islington Mar 1, 2021
4ebd637
closes bpo-43266: Improve array formatting. (GH-24573) (GH-24585)
miss-islington Mar 1, 2021
e2f6ed8
bpo-41837: Update macOS installer build to use OpenSSL 1.1.1j. (GH-24…
miss-islington Mar 1, 2021
643939a
closes bpo-43349: Fix tuning(7) manpage hyperlink. (GH-24680)
miss-islington Mar 1, 2021
6900a51
[3.8] [doc] Document VIRTUAL_ENV environment variable (GH-21970) (GH-…
miss-islington Mar 1, 2021
7101d15
bpo-42840: Document providing kwargs to type. (GH-24173)
miss-islington Mar 1, 2021
9c6c5da
[3.8] Pin test runner to Ubuntu 18 to un-break CI (GH-24715) (GH-24717)
miss-islington Mar 3, 2021
59e8576
bpo-42782: Fail fast for permission errors in shutil.move() (GH-24001)
miss-islington Mar 3, 2021
0064d56
[3.8] bpo-37193: Remove thread objects which finished process its req…
miss-islington Mar 4, 2021
213c155
bpo-43396: Normalise naming in sqlite3 doc examples (GH-24746)
miss-islington Mar 4, 2021
e12a9e2
bpo-43407: Clarify comparisons of time.monotonic() et al results (GH-…
miss-islington Mar 6, 2021
4715be8
[3.8] bpo-43406: Fix possible race condition where ``PyErr_CheckSigna…
pitrou Mar 6, 2021
0ecfe5f
Put contextvars docs into the concurrency category (GH-24760)
miss-islington Mar 6, 2021
6d42733
bpo-43415: Fix typo on dataclasses.rst (GH-24789) (GH-24791)
miss-islington Mar 8, 2021
5ca02c4
bpo-3329: Fix typo in PyObjectArenaAllocator doc (GH-24795)
miss-islington Mar 9, 2021
e893807
bpo-43446: Fix markup in sqlite3 footnote (GH-24806)
miss-islington Mar 9, 2021
a6d0182
[3.8] bpo-43439: Add audit hooks for gc functions (GH-24794). (GH-24810)
pablogsal Mar 10, 2021
ac5e23c
bpo-43406: Fix test_signal.test_stress_modifying_handlers() (GH-24815)
miss-islington Mar 10, 2021
1a5001c
bpo-43423 Fix IndexError in subprocess _communicate function (GH-24777)
miss-islington Mar 12, 2021
8cadc2c
[3.8] bpo-27820: Fix AUTH LOGIN logic in smtplib.SMTP (GH-24118) (#24…
orsenthil Mar 13, 2021
db2762c
Update link to Django's Context class. (GH-24805) (#24842)
miss-islington Mar 13, 2021
9f935fa
Update client.py (GH-24827)
miss-islington Mar 13, 2021
1e7a47a
[3.8] bpo-43439: Wrapt the tuple in the audit events for the gc modul…
pablogsal Mar 14, 2021
59f2741
bpo-43199: Briefly explain why no goto (GH-24852)
miss-islington Mar 15, 2021
d42a332
[3.8] [doc] Document logging.basicConfig default format (GH-23710) (G…
andresdelfino Mar 15, 2021
233f58f
Fix typo in the word "spaghetti" (GH-24866)
miss-islington Mar 15, 2021
664d1d1
[3.8] bpo-43285 Make ftplib not trust the PASV response. (GH-24838) (…
gpshead Mar 15, 2021
9eda0df
[3.8] bpo-43285: Whats New entry for 3.8.9. (GH-24889)
gpshead Mar 16, 2021
dc8558e
bpo-43506: Doc: Update removal schedule for Py_UNICODE encoder APIs (…
miss-islington Mar 16, 2021
9bdb580
bpo-43353: Document that logging.getLevelName() accepts string repres…
felixxm Mar 17, 2021
5051167
bpo-41561: Add workaround for Ubuntu's custom security level (GH-24915)
miss-islington Mar 18, 2021
93b0da7
bpo-43577: Fix deadlock with SSLContext._msg_callback and sni_callbac…
miss-islington Mar 21, 2021
14a5db1
Clarify attribute docs on types.ModuleType (GH-24974)
miss-islington Mar 23, 2021
455583b
bpo-43620: Remove reference to os.sep from os.path.join() doc (GH-250…
miss-islington Mar 26, 2021
9de6451
bpo-39616: clarify SSLContext.check_hostname effect (GH-18484)
miss-islington Mar 27, 2021
6fcebbb
bpo-39231: correct tutorial annotations section (GH-25029)
miss-islington Mar 27, 2021
e516290
[3.8] bpo-43617: Check autoconf-archive package in configure.ac (GH-2…
tiran Mar 27, 2021
24ba0ea
[3.8] bpo-31907: [doc] clarify that str.format() does not support arb…
miss-islington Mar 28, 2021
7e38d33
bpo-42988: Remove the pydoc getfile feature (GH-25015)
miss-islington Mar 29, 2021
dae1963
bpo-35930: Raising an exception raised in a "future" instance will cr…
miss-islington Mar 29, 2021
e9092b2
bpo-43659: Fix test_curses on AIX (GH-25074)
miss-islington Mar 29, 2021
3b6e61e
bpo-35883: Py_DecodeLocale() escapes invalid Unicode characters (GH-2…
miss-islington Mar 29, 2021
20b2f2b
bpo-43562: fix test_ssl to skip on unreachable network (GH-24937) (GH…
miss-islington Mar 29, 2021
ba7f863
bpo-43660: Fix crash when displaying exceptions with custom values fo…
miss-islington Mar 29, 2021
6af3a94
bpo-33164: blake2: Fix Coverity scan (GH-25060)
miss-islington Mar 30, 2021
5486b10
bpo-43637: Fix a possible memory leak in winreg.SetValueEx() (GH-25038)
miss-islington Mar 30, 2021
9ac2630
[3.8] bpo-43631: Update to OpenSSL 1.1.1k (GH-25024) (GH-25089)
tiran Mar 30, 2021
c1079cd
bpo-43399: Fix ElementTree.extend not working on iterators (GH-24751)
miss-islington Mar 30, 2021
e92923b
bpo-42225: IDLE - document two unix-related problems. (GH-25078)
miss-islington Mar 31, 2021
e143eea
bpo-37945: Fix test_locale.test_getsetlocale_issue1813() (GH-25110) (…
miss-islington Mar 31, 2021
a2fb286
Fix grammar in enum documentation. (GH-24689)
miss-islington Apr 1, 2021
4ea8b24
Doc: io: Remove "In-memory streams" section (GH-24927)
miss-islington Apr 1, 2021
154f86f
bpo-43700: Replace Zulip badge with Discourse badge (GH-25141)
miss-islington Apr 2, 2021
a743f81
Python 3.8.9
ambv Apr 2, 2021
2049bb2
[3.9] bpo-26053: Fix args echoed by pdb run command (GH-25149)
miss-islington Apr 2, 2021
ff7dc7f
Merge tag 'v3.8.9' into 3.8
ambv Apr 2, 2021
a44771f
Post 3.8.9
ambv Apr 2, 2021
06653f8
bpo-43705: Document that SyntaxError's offsets are 1-indexed (GH-25153)
miss-islington Apr 2, 2021
0f7c77e
Fix typo in turtledemo.two_canvases. (GH-25194)
miss-islington Apr 5, 2021
bdee2a3
bpo-36470: Allow dataclasses.replace() to handle InitVars with defaul…
miss-islington Apr 5, 2021
b132be8
bpo-43176: Fix processing of empty dataclasses (GH-24484)
miss-islington Apr 6, 2021
76c4a9f
[3.8] Fix blurb for bpo-43176. (GH-25215) (GH-25218)
miss-islington Apr 6, 2021
9a988b8
bpo-43745: Actually updates Windows release to OpenSSL 1.1.1k. (GH-25…
miss-islington Apr 6, 2021
e7654b6
bpo-43075: Fix ReDoS in urllib AbstractBasicAuthHandler (GH-24391)
miss-islington Apr 7, 2021
d0e858d
Improve CDN purge script (GH-25251)
miss-islington Apr 7, 2021
9f57873
bpo-42999: Expand and clarify pathlib.Path.link_to() documentation. (…
zooba Apr 7, 2021
4554ab4
[3.8] bpo-36540: Improve doc of function definition regarding positio…
gousaiyang Apr 7, 2021
05d0fcd
Fix broken test for MutableSet.pop() (GH-25209) (GH-25270)
miss-islington Apr 7, 2021
754dc35
[3.8] bpo-43087: Fix error in ctypes "Incomplete Types" doc (GH-24404)
miss-islington Apr 8, 2021
20d56bd
bpo-39674: Fix collections ABC deprecation notice (GH-25281)
Anthchirp Apr 8, 2021
49b7ab1
Add CI step to check changes in the exported ABI (GH-25232)
pablogsal Apr 9, 2021
4e710d1
[3.8] bpo-43791: Skip TLS 1.0/1.1 tests under OpenSSL 3.0.0 (GH-25304…
miss-islington Apr 9, 2021
a28398e
[3.8] bpo-43789: OpenSSL 3.0.0 Don't call passwd callback again in er…
miss-islington Apr 9, 2021
e18ebd9
bpo-43794: OpenSSL 3.0.0: set OP_IGNORE_UNEXPECTED_EOF by default (GH…
miss-islington Apr 9, 2021
70f2ca7
[3.8] bpo-43788: Generate version specific _ssl_data.h (GH-25300) (GH…
tiran Apr 9, 2021
ffb05bb
bpo-38820: OpenSSL 3.0.0: Use supported hashing algos in doc test (GH…
miss-islington Apr 9, 2021
eed7686
bpo-43105: Importlib now resolves relative paths when creating module…
zooba Apr 9, 2021
291d38d
Add ignore file for the abidump check (GH-25322)
pablogsal Apr 9, 2021
3a3c046
bpo-43739: Add type declaration Doc/extending/extending.rst example (…
miss-islington Apr 10, 2021
328d66c
Fix description of behaviour of an exception class in 'from' clause (…
miss-islington Apr 11, 2021
04425a9
bpo-41561: Fix testing with OpenSSL 1.0.2 (GH-25355)
miss-islington Apr 12, 2021
f396a1a
[3.8] bpo-42248: [Enum] ensure exceptions raised in ``_missing_`` are…
ethanfurman Apr 12, 2021
b71aaa0
[3.8] bpo-43799: OpenSSL 3.0.0: declare OPENSSL_API_COMPAT 1.1.1 (GH-…
tiran Apr 13, 2021
47a894d
bpo-43816: Add extern "C" to Include/cpython/pyctype.h (GH-25365)
miss-islington Apr 13, 2021
a607815
[3.8] bpo-43811: Test multiple OpenSSL versions on GHA (GH-25360) (GH…
miss-islington Apr 13, 2021
6ac1ea2
bpo-43777: Drop description of "pip search" command from tutorial (GH…
miss-islington Apr 14, 2021
a746fce
bpo-37741: make importlib.metadata docs discoverable through a module…
miss-islington Apr 15, 2021
b405647
[3.8] bpo-43723: Backport IDLE doc change (GH-25174)
terryjreedy Apr 16, 2021
582917f
[3.9] bpo-43723: Revert IDLE doc change (GH-25174)
miss-islington Apr 16, 2021
816da33
bpo-43842: Fix race condition in test_logging SMTP test (GH-25436) (G…
vstinner Apr 16, 2021
d5b80eb
bpo-42967: coerce bytes separator to string in urllib.parse_qs(l) (GH…
miss-islington Apr 16, 2021
f77ca86
[3.8] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899…
tiran Apr 17, 2021
303ffb7
Fix typo in a dataclasses comment. (GH-25454)
miss-islington Apr 17, 2021
602eefe
bpo-43472: Ensure PyInterpreterState_New audit events are raised when…
miss-islington Apr 21, 2021
f7bc441
bpo-26227: Fixes decoding of host names on Windows from ANSI instead …
miss-islington Apr 21, 2021
ef63328
bpo-43284: Update platform.win32_ver to use _syscmd_ver instead of sy…
miss-islington Apr 22, 2021
400bd9a
bpo-38822: Fixed os.stat failing on inaccessible directories. (GH-25527)
miss-islington Apr 22, 2021
1575ea0
bpo-35306: Avoid raising OSError from pathlib.Path.exists when passed…
miss-islington Apr 22, 2021 8000
9f0b3a9
bpo-38822: Check specifically for a drive, not just a colon (GH-25540)
miss-islington Apr 22, 2021
c6b50ab
Reformat idlelib colorizer (GH-25479)
miss-islington Apr 23, 2021
faad2bd
bpo-43856: Add a versionadded directive to the importlib.metadata doc…
jaraco Apr 23, 2021
82b6c09
[3.8] bpo-43920: Make load_verify_locations(cadata) error message con…
tiran Apr 23, 2021
e92d110
bpo-43607: Fix urllib handling of Windows paths with \\?\ prefix (GH-…
miss-islington Apr 23, 2021
fc82f3f
[3.8] bpo-43930: Update bundled pip to 21.1 and setuptools to 56.0.0 …
sbidoul Apr 24, 2021
c70f268
bpo-43534: Make dialogs in turtle.textinput() and turtle.numinput() t…
miss-islington Apr 25, 2021
6077efa
[3.9] bpo-43655: Tkinter and IDLE dialog windows are now recognized a…
miss-islington Apr 25, 2021
d6322c9
BaseHTTPRequestHandler, that path includes query (GH-25597)
miss-islington Apr 25, 2021
c3b63a5
Fix a typo in datamodel reference document (GH-24930)
miss-islington Apr 25, 2021
ff22c1b
Remove mention of dst parameter from description of os.lstat() (GH-24…
miss-islington Apr 25, 2021
62e7646
Fix copy.Error casing in documentation GH-22004 (#25612)
miss-islington Apr 26, 2021
28d3f7a
Fix id of 'Internet Message Format' RFC in email doc GH-25614
miss-islington Apr 26, 2021
f28a59c
Fix broken links and improve stand-alone tools list in FAQ GH-25610
miss-islington Apr 26, 2021
9ca20fd
bpo-43534: Fix the turtle module working with multiple root windows G…
miss-islington Apr 26, 2021
6d4556f
Quick pydoc update to smtplib.py (GH-22292) (GH-25616)
miss-islington Apr 26, 2021
c5ce186
documentation: clarification about the function remove in os library …
miss-islington Apr 26, 2021
7b30348
Update asyncio-subprocess.rst (GH-21680) (GH-25622)
miss-islington Apr 26, 2021
10ee266
[3.8] bpo-38820: Old OpenSSL 3.0.0 releases are in /old/3.0/ (GH-2562…
miss-islington Apr 26, 2021
9b5f30e
Doc: Fix the array.fromfile method doc (GH-22037) (GH-25631)
miss-islington Apr 26, 2021
081bfe4
bpo-43938: improve dataclasses.FrozenInstanceError documentation (GH-…
miss-islington Apr 26, 2021
e1203e8
bpo-42924: Fix incorrect copy in bytearray_repeat (GH-24208) (#24212)
miss-islington Apr 26, 2021
727bed6
[3.8] bpo-34463: Make python tracebacks identical to C tracebacks for…
iritkatriel Apr 26, 2021
2760a67
bpo-17305: Link to the third-party idna package. (GH-25208) (#25211)
miss-islington Apr 26, 2021
b570fea
bpo-41661: Document os.path.relpath() exception on Windows with diffe…
miss-islington Apr 26, 2021
196b8f3
Fix thread locks in zlib module may go wrong in rare case (#22132)
animalize Apr 26, 2021
10ad7eb
[3.8] bpo-28577: Special case added to IP v4 and v6 hosts for /32 and…
JamoBox Apr 26, 2021
a808aab
Use the zero argument form of super() in examples for Python3 docs. (…
miss-islington Apr 26, 2021
1d7a537
[doc] Remove duplicated operator.itemgetter example (GH-24178) (#25647)
miss-islington Apr 27, 2021
e013d8d
bpo-43492: Update macOS installer to use SQLite 3.35.5 (GH-25640)
miss-islington Apr 27, 2021
7f7cfc4
[3.8] bpo-43492: Upgrade Windows installer to use SQLite 3.35.5 (GH-2…
Apr 27, 2021
77db337
bpo-43962: Fix _PyInterpreterState_IDIncref() (GH-25683) (GH-25686)
vstinner Apr 28, 2021
ff7266e
bpo-43959: clarify the documentation of the PyContextVar C-API (GH-25…
miss-islington Apr 28, 2021
b52cc7c
bpo-43960: test_pdb resets breakpoints to make tests deterministic (G…
miss-islington Apr 28, 2021
cc1dcb6
[doc] Do some polishing in IDEs section (GH-22070) (GH-25704)
miss-islington Apr 29, 2021
e010031
[doc] Be more clear on super() regarding multiple base classes method…
miss-islington Apr 29, 2021
ea6ec96
[3.8] bpo-42589: Change URL for 'from' link when used in a raised exc…
sblondon Apr 30, 2021
e377ecf
bpo-43935: Fix typo in Turtle.back() docstring (GH-25581)
miss-islington Apr 30, 2021
606bb1c
bpo-43971: Add spaces around annotated arg default '=' (GH-25702)
miss-islington May 1, 2021
6034c4a
[3.8] bpo-43993: Update vendored pip to 21.1.1 (GH-25761). (GH-25783)
sbidoul May 1, 2021
3519ac4
Fixing doc for callback for lambda (GH-25779) (GH-25789)
miss-islington May 1, 2021
ce081fb
Fix exceptions mentioned in os.setxattr() docs (GH-25742) (GH-25795)
miss-islington May 1, 2021
d8ec61f
Fix broken name in build.yml (GH-25759) (GH-25797)
miss-islington May 2, 2021
b29d0a5
[3.8] bpo-41100: Support macOS 11 Big Sur and Apple Silicon Macs (#25…
ned-deily May 2, 2021
78e5588
bpo-44009: Provide "python3.x-intel64" for Apple Silicon Macs (GH-25810)
ned-deily May 2, 2021
db3ce79
bpo-32745: Fix a regression in the handling of ctypes' c_wchar_p type…
miss-islington May 2, 2021
10665ac
bpo-43434: Move sqlite3.connect audit events to sqlite3.Connection.__…
May 2, 2021
3d8993a
Python 3.8.10
ambv May 3, 2021
8ab272f
bpo-42800: Add audit events for f_code and tb_frame (GH-24182)
miss-islington May 3, 2021
705c615
Merge tag 'v3.8.10' into 3.8
ambv May 3, 2021
44f6b9a
Post 3.8.10
ambv May 3, 2021
515a7bc
[3.8] bpo-43882 - urllib.parse should sanitize urls containing ASCII …
miss-islington May 5, 2021
f396864
bpo-44022: Fix http client infinite line reading (DoS) after a HTTP 1…
miss-islington May 6, 2021
8a12f46
bpo-40297: Fix test_socket.CANTest.testSendFrame (GH-19548) (#25957)
miss-islington May 7, 2021
378211f
bpo-44070: No longer eagerly makes import filenames absolute, except …
zooba May 12, 2021
4844abd
[3.8] bpo-44061: Fix pkgutil.iter_modules regression when passed a pa…
ambv May 12, 2021
af5fb67
bpo-38323: Skip SubprocessMultiLoopWatcherTest as they can hang the t…
miss-islington Jun 12, 2021
71ba16b
bpo-44229: Ignore spurious EPROTOTYPE on macOS in test_ssl (GH-26893)…
miss-islington Jun 24, 2021
634da2d
[3.8] bpo-43882 - Mention urllib.parse changes in Whats new section. …
orsenthil Jun 28, 2021
c3ffbbd
Python 3.8.11
ambv Jun 28, 2021
0abf56c
Add gitlab pipeline
julien-lebot Jul 21, 2021
80a4cb0
Properly named gitlab pipeline file
julien-lebot Jul 21, 2021
f49d508
Fix build directory path
julien-lebot Jul 21, 2021
46f0d00
Fix build path var
julien-lebot Jul 21, 2021
97cabd1
Fix zip
julien-lebot Jul 22, 2021
c0e3646
Fix zip x86
julien-lebot Jul 22, 2021
eecdeff
Merge pull request #7 from DataDog/julien.lebot/add_gitlab_pipeline
julien-lebot Jul 22, 2021
668b39b
Merge tag 'v3.8.11' into 3.8.x
djmitche Aug 16, 2021
0a49ece
Merge pull request #8 from DataDog/merge-3-8-11
djmitche Aug 16, 2021
4c01142
build and ship as 3.8.11, not 3.8.10
djmitche Aug 16, 2021
ff8f468
Merge pull request #9 from DataDog/update-gitlab-version-numbers
djmitche Aug 16, 2021
f9eed5b
Always use the hash to name zips
djmitche Aug 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bpo-42780: Fix set_inheritable() for O_PATH file descriptors on Linux (
…GH-24172) (GH-24277)

(cherry picked from commit 7dc71c4)
  • Loading branch information
cptpcrd authored Jan 21, 2021
commit 844ec0ba6606b60a59b7da82c54c1e646424259c
27 changes: 27 additions & 0 deletions Lib/test/test_os.py
Original file line number Diff line number Diff line change
Expand Up @@ -3513,6 +3513,33 @@ def test_set_inheritable_cloexec(self):
self.assertEqual(fcntl.fcntl(fd, fcntl.F_GETFD) & fcntl.FD_CLOEXEC,
0)

@unittest.skipUnless(hasattr(os, 'O_PATH'), "need os.O_PATH")
def test_get_set_inheritable_o_path(self):
fd = os.open(__file__, os.O_PATH)
self.addCleanup(os.close, fd)
self.assertEqual(os.get_inheritable(fd), False)

os.set_inheritable(fd, True)
self.assertEqual(os.get_inheritable(fd), True)

os.set_inheritable(fd, False)
self.assertEqual(os.get_inheritable(fd), False)

def test_get_set_inheritable_badf(self):
fd = support.make_bad_fd()

with self.assertRaises(OSError) as ctx:
os.get_inheritable(fd)
self.assertEqual(ctx.exception.errno, errno.EBADF)

with self.assertRaises(OSError) as ctx:
os.set_inheritable(fd, True)
self.assertEqual(ctx.exception.errno, errno.EBADF)

with self.assertRaises(OSError) as ctx:
os.set_inheritable(fd, False)
self.assertEqual(ctx.exception.errno, errno.EBADF)

def test_open(self):
fd = os.open(__file__, os.O_RDONLY)
self.addCleanup(os.close, fd)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix os.set_inheritable() for O_PATH file descriptors on Linux.
7 changes: 7 additions & 0 deletions Python/fileutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,13 @@ set_inheritable(int fd, int inheritable, int raise, int *atomic_flag_works)
return 0;
}

#ifdef __linux__
if (errno == EBADF) {
// On Linux, ioctl(FIOCLEX) will fail with EBADF for O_PATH file descriptors
// Fall through to the fcntl() path
}
else
#endif
if (errno != ENOTTY && errno != EACCES) {
if (raise)
PyErr_SetFromErrno(PyExc_OSError);
Expand Down
0