Commit Graph

6889 Commits

Author SHA1 Message Date
Padraic Fanning
1b5133350b Fix macOS compilation error (v1.66) 2022-12-17 13:12:12 -05:00
Padraic Fanning
268bbd8414 Fix new (v1.66) Clippy warnings on Windows 2022-12-17 13:12:12 -05:00
Padraic Fanning
5701061e63 Fix new (v1.66) Clippy warnings 2022-12-17 13:12:11 -05:00
not_joon
16804297ab fix typo py_serde 2022-12-08 12:36:45 +09:00
yt2b
f70b8bfdf9 Refactor ExecutingFrame (#4308)
* Add jump_if function

* Add jump_if_or_pop function
2022-12-06 17:07:31 +02:00
Jeong YunWon
d935fbc445 Fix nightly clippy warnings 2022-12-05 12:18:16 +09:00
yt2b
a5ef816c41 Replace bool variable with SymbolFlags 2022-11-28 00:46:10 +09:00
Jeong YunWon
ec3648981d Merge pull request #4293 from discord9/update_crossbeam
depend: Update crossbeam-utils to "0.8.9" instead of "=0.8.9"
2022-11-26 00:42:12 +09:00
Steve Shi
f54b5556e2 Add Supporting for PyAtomicRef<Option<_>> and PyAtomicRef<PyObject> (#4286)
* introduce PyObjectAtomicRef

* impl Debug for PyObjectAtomicRef

* add supporting for PyAtomicRef<Option<_>>

* add supporting for PyAtomic<PyObject>

* impl Send Sync
2022-11-24 13:35:56 +02:00
Discord9
290e8e077b depend: update crossbeam-utils 2022-11-24 12:17:50 +08:00
Discord9
754b28c086 refactor: use Lazy for static 2022-11-24 12:17:07 +08:00
Dimitris Fasarakis Hilliard
d07547860b Fix issues with flame-it. 2022-11-23 18:57:53 +02:00
misilelaboratory
270b2ba98f fix: cargo fmt 2022-11-19 21:54:17 +09:00
misilelaboratory
80404d3bd5 fix: deprecated function 2022-11-19 12:31:59 +09:00
Jeong YunWon
17944d3eae Merge pull request #4272 from oow214/iter_combi_reduce
Add `combinations.__reduce__ `
2022-11-19 01:05:33 +09:00
Jim Fasarakis-Hilliard
eb337e564f Merge pull request #4273 from discord9/fix_dict
Allow retry if `as_mut` fail when insert Dict
2022-11-13 09:57:19 +02:00
Discord9
6a66ae20b5 refactor: use let-else 2022-11-12 20:39:20 +08:00
Discord9
4b92ff5fff log: remove warning 2022-11-12 20:12:40 +08:00
Kim, YeonWoo
dd93ec3c41 Add combinations.__reduce__ 2022-11-11 16:41:20 +09:00
seryoungshim17
5608808d0f Add itertool.combinations.__reduce__ method
Add result in struct PyItertoolsCombinations
2022-11-11 16:33:41 +09:00
Jeong YunWon
9b109962a6 no return 2022-11-10 15:39:57 +09:00
Jeong YunWon
499b34cee0 Apply let-else statements 2022-11-10 15:39:31 +09:00
Discord9
d4d50a339d feat: allow retry if as_mut fail 2022-11-10 10:39:41 +08:00
Dimitris Fasarakis Hilliard
9d303a21d6 Fix errors from update to rust 1.65 2022-11-04 20:57:27 +02:00
Kim, YeonWoo
cc809f3237 Fix repr for union 2022-10-29 15:52:00 +09:00
dvermd
af04e3e92c add format precision for string 2022-10-26 21:30:52 +02:00
dvermd
f2bfb78d3c Fix ast types' _fields and use 0-based column 2022-10-27 03:09:38 +09:00
Kim, YeonWoo
b5aa8c8284 Add StopIteration type to marshal 2022-10-25 20:48:14 +09:00
Kim, YeonWoo
b35330b63a Add _fields attribute to ast 2022-10-24 00:59:49 +09:00
Jeong YunWon
38b169e863 Merge pull request #4217 from oow214/type_annotations
Add annotations for type
2022-10-22 15:50:22 +09:00
Kim, YeonWoo
e8755a75c6 Add set annotations for type 2022-10-22 01:50:58 +09:00
Kim, YeonWoo
c85b93abf6 Add get annotations for type 2022-10-22 01:49:46 +09:00
jeffwang0516
df6d442ca8 Add method.__reduce__ 2022-10-21 14:29:19 +08:00
Dan Näsman
78586f0275 Chain reduce (#4232) 2022-10-21 15:04:25 +09:00
Jeong YunWon
2868e874c9 Merge pull request #4235 from dannasman/zip_longest_reduce
Add reduce and setstate for zip_longest
2022-10-20 18:02:19 +09:00
Devon Hollowood
052b87b6e7 Fix compatibility bug for min/max builtins
This was as simple as fixing the error messages produced when zero
arguments are passed.
2022-10-19 22:34:15 -07:00
Dan Nasman
0706d8ea73 fix clippy issues 2022-10-19 21:07:41 +03:00
Dan Nasman
f6e423c479 add reduce and setstate for zip_longest 2022-10-19 20:59:05 +03:00
Jeong YunWon
1f9d8524ff Merge pull request #4225 from joohongpark/fix-float-fromhex
Fix class method of a float subclass
2022-10-17 15:10:10 +09:00
Jeong YunWon
6d140fb0e7 Merge pull request #4223 from youknowone/nightly-clippy
Fix nightly clippy warnings
2022-10-17 13:28:53 +09:00
Charlie Marsh
610d408b4b Add end locations to all nodes (#4192) 2022-10-17 13:18:30 +09:00
Jeong YunWon
00dc025463 Merge pull request #4228 from gilteunchoi/remove-old-doc-remark
remove most of old __doc__ remarks
2022-10-17 11:59:51 +09:00
Steve Shi
2c5cacf9f2 Refactor Mapping Protocol (#4222) 2022-10-17 09:51:22 +09:00
gilteun
227034d36b remove most of old __doc__ remarks 2022-10-17 09:00:01 +09:00
joohongpark
8c18208fe6 Update vm/src/builtins/float.rs
Co-authored-by: Snowapril <sinjihng@gmail.com>
2022-10-17 02:12:36 +09:00
joohongpark
abb994d410 Fix class method 2022-10-16 11:59:05 +09:00
Steve Shi
30aeb8bee5 Introduce PyAtomicRef and impl for PyObject.typ (#3828)
* introduce PyAtomicRef

* refactor PyObject.typ use PyAtomicRef

* add documents

* add swap_to_temporary_refs

* replace AtomicCell with PyAtomic

* fix name conflict
2022-10-15 21:53:12 +02:00
Jeong YunWon
d94f638784 Fix nightly clippy warnings 2022-10-16 02:38:50 +09:00
Jeong YunWon
b437aa315a Merge pull request #4216 from gilteunchoi/class-doc-fixed
class-doc-fixed
2022-10-16 00:37:26 +09:00
Jeong YunWon
1cb7f4dcf8 Merge pull request #4214 from youknowone/platform-clippy
Add platform-dependent clippy running to CI
2022-10-15 17:13:42 +09:00