- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | Никита Сиргиенко |
|---|---|
| Recipients | Никита Сиргиенко |
| Date | 2018-12-19.14:54:20 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1545231260.91.0.788709270274.issue35536@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
System:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
Arch: x86_64
Compilier:
g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Python versions:
Python 3.6.7-1
Python 2.7.15rc1
Description:
This C++ code:
PyObject* pBuiltin = PyImport_ImportModule("builtins");
PyObject* py_globals_fun = PyObject_GetAttrString(pBuiltin,"locals");
PyObject* globals = PyObject_CallObject(py_globals_fun, NULL);
produces "SystemError: frame does not exist".
For function "globals" output is "SystemError: returned NULL without
setting an error". For python2 this code produces similar errors (descriptions
of error little different).
Another functions with arguments, like "abs", works fine.
And calling function with optional argument, like "int", "float"
works with this code (with null parameter) without problem. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-12-19 14:54:21 | Никита Сиргиенко | set | recipients: + Никита Сиргиенко |
| 2018-12-19 14:54:20 | Никита Сиргиенко | set | messageid: <1545231260.91.0.788709270274.issue35536@psf.upfronthosting.co.za> |
| 2018-12-19 14:54:20 | Никита Сиргиенко | link | issue35536 messages |
| 2018-12-19 14:54:20 | Никита Сиргиенко | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
