Alex Waygood
3ab250eec8
Use PEP 604 syntax wherever possible ( #7493 )
2022-03-16 16:01:33 +01:00
Alex Waygood
f4ae363b56
stdlib: correct many pos-or-kw arg names in dunder methods ( #7451 )
2022-03-07 16:40:03 +01:00
eggplants
342e384fb1
Add threading._profile_hook ( #7427 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-03-02 23:47:02 +02:00
Alex Waygood
a0b41959ec
stdlib: fix many attributes which are read-only at runtime but read-write in the stub ( #7395 )
2022-02-27 16:23:09 -08:00
Alex Waygood
1317fa7af9
Fix positional-only differences in threading.local ( #7227 )
...
Last one of these, I think.
2022-02-15 07:16:20 -08:00
Alex Waygood
65002d2e69
threading: Semaphore.__exit__ & _RLock.__exit__ always return None (#7195 )
...
`_RLock.__exit__`: 1d6ce67c29/Lib/threading.py (L199)
`Semaphore.__exit__`: 1d6ce67c29/Lib/threading.py (L487)
2022-02-13 17:41:17 -08:00
Alex Waygood
348c38a0dd
Improve __all__ definitions for threading and _dummy_threading modules ( #7135 )
2022-02-05 08:07:02 -08:00
Shantanu
b88a6f19cd
Upgrade black version ( #7089 )
2022-01-30 16:27:06 -08:00
Alex Waygood
a40d79a4e6
Use lowercase type everywhere ( #6853 )
2022-01-08 16:09:29 +01:00
Alex Waygood
505ea72641
Never explicitly inherit from object in Python 3-only stubs ( #6777 )
2022-01-02 07:24:48 +01:00
Alex Waygood
a69ef8f1ad
Clean up threading.pyi ( #6525 )
...
- Adds comments to aliases in the `threading` module to indicate that they're deprecated.
- Adds two missing aliases, for consistency.
- Closes #6494
2021-12-06 16:21:27 -08:00
Shantanu
0bad0691be
threading: fixes for _DummyThread and _RLock ( #6437 )
...
Co-authored-by: hauntsaninja <>
2021-11-28 20:11:54 -08:00
Alex Waygood
9d57201d8b
threading: add gettrace and getprofile functions ( #6407 )
...
Added in https://bugs.python.org/issue42251
2021-11-27 21:13:44 -08:00
Akuli
ce11072dbe
Big diff: use lower-case list and dict ( #5888 )
2021-08-08 09:26:35 -07:00
Akuli
ee487304d7
Big diff: Use new "|" union syntax ( #5872 )
2021-08-08 11:05:21 +02:00
Sebastian Rittau
6a9c89e928
Replace 'Text' with 'str' in py3 stdlib ( #5466 )
2021-05-16 07:10:48 -07:00
Akuli
17dcea4a68
Akuli and srittau: Remove Python 2 branches from Python 3 stubs ( #5461 )
...
* run script and do some manual changes (Akuli)
* do the whole thing manually (srittau)
* merge changes (Akuli)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
2021-05-15 15:33:39 +03:00
hatal175
c9d996fe55
Various stubtest exceptions ( #5227 )
2021-04-17 07:03:28 -07:00
Ivan Levkivskyi
16ae4c6120
Re-organize directory structure ( #4971 )
...
See discussion in #2491
Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com >
2021-01-27 12:00:39 +00:00