Message258143
| Author |
vstinner |
| Recipients |
vstinner |
| Date |
2016年01月13日.14:12:38 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1452694359.9.0.138018664432.issue26098@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Patch version 2 fixes some bugs and add more tests.
More notes about the patch:
* RuntimeError is raised if guard check() result is greater than 2
* RuntimeError is raised if guard init() result is greater than 1
* (hum, maybe 'res < 0' check must be replaced with 'res == -1', but I'm not sure that that it's worth it.)
* If PyFunction_Specialize() is called with a code object or a Python code, it creates a new code object and copies the code name and first line number in the new code object to ease debugging
TODO: keywords are currently not supported in PyGuard.__call__(). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年01月13日 14:12:40 | vstinner | set | recipients:
+ vstinner |
| 2016年01月13日 14:12:39 | vstinner | set | messageid: <1452694359.9.0.138018664432.issue26098@psf.upfronthosting.co.za> |
| 2016年01月13日 14:12:39 | vstinner | link | issue26098 messages |
| 2016年01月13日 14:12:39 | vstinner | create |
|