Comments (6)
Thanks for testing the beta!
Perhaps related to #118888?
from cpython.
I am rather sure this is a duplicate.
@gaogaotiantian
from cpython.
I had read PEP 667, looks logically nice until that effect, but how to rewrite my code ?`
ha, this way:
d={}
a="""def py_helloa():
"hello world"
return ("Hello, a World !");""";
exec(a, globals(), locals());
ae=eval('py_helloa');
print(ae())
def test():
b="""def py_hellob():
"hello world"
return ("Hello, b World !");""";
exec(b, globals(), d);
be=eval('py_hellob', d);
print(be())
test()
from cpython.
seems to work in Python-3.12 too...
from cpython.
so I did a fix to work on Python-3.13.0b1 for my package, but it's not clear if I should have done it now, with #118921
from cpython.
Further discussion should be on the original issue #118888.
from cpython.
Related Issues (20)
- Incompatibility between _decimal and _pydecimal: tp_name for Decimal
- Python float calculation error HOT 2
- IDLE: Menu fonts too small HOT 1
- `get_origin(str|None) != get_origin(Union[str,None])` HOT 4
- Break up _pyrepl tests HOT 1
- '\040' instead of space in repl history on macOS with 3.13 or main branch HOT 2
- Unexpected name mangling behavior with generics HOT 1
- Resolve deprecation warnings in Docs/tools
- REPL cursor is rendered offset in VSCode on WSL HOT 1
- Add c-api to set callback function on enter and exit of PyContext
- '_PyLong_NumBits': identifier not found in 3.13 HOT 3
- Out-of-memory when loading a Plist
- Make `Py_BEGIN_CRITICAL_SECTION()` and `Py_END_CRITICAL_SECTION()` public in the non-limited C API
- Add a ctypes.util function to list loaded shared libraries
- Add UOp Pair Compatibility to PyStats
- Adding >1 new line within a codeblock doesn't correctly match the indentation HOT 1
- Increase coverage of test_pyrepl HOT 1
- Deadlock in `pool_in_threads.py` (`test_multiprocessing_pool_circular_import`) in free-threaded build HOT 1
- Invalid corner cases (resulting in nan+nanj) in complex division HOT 4
- `argparse.BooleanOptionalAction` does not yield mutually exclusive options HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpython.