K. Lange
|
1530e5338f
|
Remove a debug output line from debug.c that was tripping format string warnings
|
2021-03-09 18:29:23 +09:00 |
|
K. Lange
|
e3e1fbb13a
|
Wrap hardcoded docstrings behind a macro so they can be removed from builds
|
2021-03-09 17:58:38 +09:00 |
|
K. Lange
|
fc9f55efb1
|
Enable rline for input()
|
2021-03-09 13:26:51 +09:00 |
|
K. Lange
|
7fd6ac6007
|
Fixup signal handling and add input() in main interpreter
|
2021-03-09 12:47:24 +09:00 |
|
K. Lange
|
eb711ac3a9
|
Bail early in more fileio functions on interrupt
|
2021-03-09 12:33:53 +09:00 |
|
K. Lange
|
fa185ce460
|
Clear signal flag before raising exception for it
|
2021-03-09 12:30:49 +09:00 |
|
K Lange
|
05892e91bc
|
Add zip(), fixup stack oddness with map(), enumerate()
|
2021-03-08 18:11:18 +09:00 |
|
K. Lange
|
5dfbf8ec17
|
Various cleanups
|
2021-03-08 16:36:12 +09:00 |
|
K. Lange
|
90f4c75127
|
Add enumerate()
|
2021-03-08 14:49:17 +09:00 |
|
K. Lange
|
36b2f40582
|
Really make sure we're breaking out of the right loop in list.extend() on exception
|
2021-03-08 14:48:59 +09:00 |
|
K. Lange
|
9229bc0899
|
Attach a dummy __doc__ for -c option so strings don't throw syntax error
|
2021-03-08 11:08:33 +09:00 |
|
K. Lange
|
e6ef1ea1e4
|
Add bin()
|
2021-03-08 10:52:57 +09:00 |
|
K. Lange
|
cebac67366
|
Add filter()
|
2021-03-08 10:28:24 +09:00 |
|
K. Lange
|
68cc31e24d
|
Add map()
|
2021-03-08 10:05:06 +09:00 |
|
K. Lange
|
0c9d0cff91
|
list.extend needs to bail earlier on exception (tbf everything does)
|
2021-03-08 10:03:43 +09:00 |
|
K Lange
|
57a5b891db
|
Add a handful of missing builtins
|
2021-03-07 23:39:12 +09:00 |
|
K. Lange
|
ab1fa2c4fe
|
Fix str.join() when argument is an iterable and not a native sequence
|
2021-03-07 22:37:00 +09:00 |
|
K. Lange
|
1809ebf99e
|
Okay quite a bit was wrong with that, but now it's right
|
2021-03-06 18:00:14 +09:00 |
|
K. Lange
|
0c08398e4a
|
Fix stack stupidity with generators
|
2021-03-06 17:20:02 +09:00 |
|
K. Lange
|
8dddcfa2e0
|
Don't use a leaky call to realpath in findInterpreter
|
2021-03-06 16:22:54 +09:00 |
|
K. Lange
|
35b4032de3
|
Support chained 'for's in generator expressions
|
2021-03-06 15:32:30 +09:00 |
|
K. Lange
|
0f6b74ff5b
|
Generator expressions as direct function arguments
|
2021-03-06 11:19:34 +09:00 |
|
K. Lange
|
e97e42afc9
|
Replace tuple comprehensions with generator expressions
|
2021-03-06 11:13:49 +09:00 |
|
K Lange
|
5d36129778
|
Financial contributions are welcome.
|
2021-03-05 11:41:04 +09:00 |
|
K. Lange
|
11f78e62bb
|
Concede defeat the language identification battle; we're _A_ Python?
|
2021-03-05 11:39:10 +09:00 |
|
K Lange
|
6a9668041f
|
Ship my own wcwidth for Windows and fix up the magic incantations to make UTF-8 in/out work
|
2021-03-04 22:01:23 +09:00 |
|
K. Lange
|
2fafc06203
|
Fix bad allocation size for generator objects
|
2021-03-04 18:45:12 +09:00 |
|
K. Lange
|
7aa4d3ce99
|
yield keyword; generator functions
|
2021-03-04 18:09:07 +09:00 |
|
K. Lange
|
5b6e3cbff1
|
Remove long-deprecated __list, __dict, __inrepr attributes
|
2021-03-04 14:23:32 +09:00 |
|
K. Lange
|
88c6d27569
|
Use a thread status flag to indicate interrupt status instead of trying to raise from the signal handler
|
2021-03-04 08:28:32 +09:00 |
|
K. Lange
|
37353c2b88
|
Move and expose dumpStack for use in debuggers
|
2021-03-04 08:28:32 +09:00 |
|
K Lange
|
3daf95bd47
|
(win32) only link static deps on the core library
|
2021-03-03 23:37:44 +09:00 |
|
K. Lange
|
a89c2bacef
|
Formalize the debugger interface and clean it up; add nice debugger to main interpreter executable
|
2021-03-03 20:52:32 +09:00 |
|
K. Lange
|
9ecbc894ed
|
Build against tcmalloc on win32
|
2021-03-03 10:41:11 +09:00 |
|
K. Lange
|
e06a132a21
|
Resolve link resolution issue on Darwin
|
2021-03-03 10:36:44 +09:00 |
|
K Lange
|
9faec7b318
|
Threading support in mingw win32 builds
|
2021-03-02 23:24:52 +09:00 |
|
K. Lange
|
f6558fd3fa
|
Fixup debugger bugs; add 'p' command
|
2021-03-02 16:29:15 +09:00 |
|
K. Lange
|
b943e5e9e3
|
Add a locals() function
|
2021-03-02 16:24:49 +09:00 |
|
K. Lange
|
59bb19b3cb
|
Attach more instruction operands to examine() results
|
2021-03-02 10:27:24 +09:00 |
|
K. Lange
|
b1d32fb606
|
Rudimentary hookable breakpoints/debugger
|
2021-03-01 23:20:25 +09:00 |
|
K. Lange
|
4b7cf2ec27
|
Fix operator precedence for unary 'not'
|
2021-03-01 14:56:40 +09:00 |
|
K. Lange
|
a65f2dcf81
|
Add 'assert' statement
|
2021-03-01 11:55:51 +09:00 |
|
K. Lange
|
5ce03ebcf5
|
(docs) change header link for generated doc pages
|
2021-02-28 23:04:36 +09:00 |
|
K. Lange
|
ebf94603a4
|
Fix incorrect offsets in closure instructions
|
2021-02-28 17:23:02 +09:00 |
|
K. Lange
|
8cf67cf7b2
|
Add static analysis methods to 'dis' module
|
2021-02-28 16:39:36 +09:00 |
|
K. Lange
|
c39063412e
|
Separate code objects into a different type at runtime
|
2021-02-28 16:39:25 +09:00 |
|
K. Lange
|
8ffd629250
|
Fix wrong KWARGS value when an argument after an expansion starts with an identifier
|
2021-02-27 20:10:49 +09:00 |
|
K Lange
|
4c94aab5c1
|
win32 build fixes
|
2021-02-26 22:18:40 +09:00 |
|
K. Lange
|
adfd8a6492
|
Fix bug with resizing local table when assigning names to exceptions
|
2021-02-26 15:28:03 +09:00 |
|
K. Lange
|
c50352d5a2
|
Add mkdir, stat to os module
|
2021-02-26 10:26:21 +09:00 |
|