Comments (3)
Also, lack of explicit 3.4 support in PythonEngine.pas is contributing to
PyScripter failing to support 3.4.
Original comment by [email protected]
on 22 Jun 2014 at 2:17
from python4delphi.
The missing PyCFunction_New is an issue with Python 3.4, you can find more
details here: http://bugs.python.org/issue21354
Anyway, as you can see from the source code this is just an alias for
PYCFunction_NewEx (look here:
https://github.com/python/cpython/blob/master/Objects/methodobject.c#L19-L48).
So I made a small patch to support Python 3.4 and to replace PyCFunction_New
with PyCFunction_NewEx. In the patch you also have support for new versions of
Delphi (XE4, XE5, XE6, XE7).
The patch was tested with XE5, XE7 and Python 2.7.x and 3.4.x.
Original comment by [email protected]
on 6 Jan 2015 at 1:28
Attachments:
from python4delphi.
Fixed in version control.
Original comment by pyscripter
on 20 Mar 2015 at 8:17
- Changed state: Fixed
from python4delphi.
Related Issues (20)
- Running Demos from Delphi-12 HOT 1
- Pagecontrol.ActivePage wrapper function causes AV error HOT 8
- "demo33 -- three interpreter" causes the thread to hang. HOT 7
- floating point division by zero HOT 1
- python dll HOT 1
- VarPyIterate raises EPyStopIteration exception with message 'Stop Iteration' HOT 2
- numpy and TTask HOT 8
- Running python code in Delphi threads issue HOT 1
- Pyhton4Delphi and streamlit HOT 3
- How to specify the path to Python libraries? HOT 4
- Run the .py file immediately with parameters HOT 8
- How can I output the results of a py script? HOT 9
- OnSendUniData event does not work HOT 4
- Wrongly throwing an exception from the wrapping object HOT 2
- A little problem HOT 2
- Error in ExtractPythonObjectFrom when creating Enum? HOT 1
- [dcc64 fatal error] PythonVcl.dpk: F2084 Internal Error on RAD Studio 12.1 HOT 6
- Minor: Typo in error message
- Pandas with Python 3.12 HOT 12
- using python4delphi via compiled DLL, avoids reading variables from python to delphi HOT 1
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 python4delphi.