Shantanu
823592e100
Update stubtest for final checking ( #7312 )
...
Co-authored-by: hauntsaninja <>
2022-02-19 18:53:15 -08:00
Alex Waygood
3567aaa93f
Fix positional-only differences in sqlite3 ( #7222 )
2022-02-15 13:01:26 -08:00
Alex Waygood
2878050ffc
Add @final to several stdlib classes that cannot be subclassed at runtime ( #7213 )
2022-02-14 14:46:30 -08:00
Alex Waygood
7ccbbdb30a
stdlib: Improve many __iter__ and constructor methods ( #7112 )
2022-02-02 19:14:57 +01:00
Shantanu
b88a6f19cd
Upgrade black version ( #7089 )
2022-01-30 16:27:06 -08:00
Nikita Sobolev
9a89e09753
Removed unused # noqa: F403 ( #7032 )
2022-01-25 09:21:11 +01: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
Sebastian Rittau
3fb2bcd4c1
Restore stubtest 0.930 ( #6663 )
2021-12-22 20:18:19 -08:00
Akuli
c8c5519fa6
sqlite3: stubtest fixes ( #6441 )
2021-11-29 11:07:20 -08:00
Pavel Karateev
73d598eaa8
Add sqlite_errorcode and sqlite_errorname to sqlite3.Error in Python 3.11 ( #6425 )
2021-11-28 13:52:32 +02:00
Nikita Sobolev
cb64e814a1
Adds missing constants to sqlite3.dbapi2 ( #6279 )
2021-11-12 12:14:37 +01:00
Akuli
994b69ef8f
Use lowercase tuple where possible ( #6170 )
2021-10-14 17:18:19 -07:00
David Robertson
498f1aa41d
Mark sqlite3.Cursor.rowcount as an int ( #6150 )
2021-10-11 14:54:30 +02: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
Anton Grübel
d68701c0ec
Use _typeshed.Self with __enter__ ( #5723 )
...
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2021-07-04 21:10:01 +03:00
Sebastian Rittau
f0bf6eebbd
AnyStr cleanup ( #5487 )
...
* Replace all uses of StrPath, BytesPath, and AnyPath in Python 2 stubs.
* Add StrOrBytesPath as preferred alias for AnyPath.
* Replace all remaining AnyPath instances with StrOrBytesPath.
* Mark AnyPath as obsolete.
Part of #5470
2021-05-17 20:45:48 +02:00
Sebastian Rittau
e5abd08f93
Replace PathLike unions with aliases from _typeshed ( #5467 )
...
Standardize on 'from os import PathLike'
2021-05-16 21:38:00 +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
Shantanu
ae60825818
sqlite3: fix argument names, positional only ( #5300 )
...
Co-authored-by: hauntsaninja <>
2021-05-02 12:32:19 -07:00
hatal175
a98e3e3ff9
Replace some type with Type[] ( #5254 )
...
* Replace some type with Type[]
* Change aggregate_class to be Callable
2021-04-26 07:31:16 -07:00
hatal175
fbf21995e3
Various stubtest fixes ( #5230 )
2021-04-18 09:30:00 -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