|
python3.8 AmigaOS4 in development |
Posted on: 2/11 15:45
#1 |
---|---|---|
Just popping in
![]() ![]() Joined:
2012/7/16 18:57 From Istanbul
Posts: 198
|
@all
Amigasoft.net shared a screenshot of Python3.8 for AmigaOS4 on his facebook page. https://ibb.co/64dCfmK |
|
_________________
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex |
||
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/11 15:47
#2 |
---|---|---|
Site Builder
![]() ![]() Joined:
2006/12/2 23:57 From Athens/Dublin
Posts: 777
|
OMG... that's awesome.... that will be one of the best news I heard lately.
|
|
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/11 16:12
#3 |
---|---|---|
Just popping in
![]() ![]() Joined:
2020/11/17 12:08 From Slough
Posts: 153
|
Will be grateful for his collaboration with existing Python team. Anyone got email for him?
|
|
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/11 16:59
#4 |
---|---|---|
Just popping in
![]() ![]() Joined:
2017/10/28 11:03 From Netherlands
Posts: 130
|
Thats fantastic!!!
|
|
_________________
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon R7 250 / M-Audio 5.1 -> AmigaOS 4.1 FE / Ubuntu Linux Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world |
||
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/11 17:00
#5 |
---|---|---|
Just popping in
![]() ![]() Joined:
2010/10/14 18:05 Posts: 122
|
Any place to grab code for testing?
|
|
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/11 18:30
#6 |
---|---|---|
Amigans Defender
![]() ![]() Joined:
2006/12/2 13:27 From Taranto, Italy
Posts: 964
|
Well, it is a port i've made to test my new clib2 and the shared objects (plus tons of other changes).
It is working. It seems to work. For example cmath module is using the .so object and the new complex functions into clib2. There are some modules to add. However with new newlib changes should be easy to recompile it too. Mine was a test to see if dlopen/dlsym was working correctly and allow me to test my changes If it will work correctly i'll release it. However, a newlib version should be better IMHO |
|
_________________
i'm really tired... ![]() |
||
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/11 19:20
#7 |
---|---|---|
Just popping in
![]() ![]() Joined:
2020/11/17 12:08 From Slough
Posts: 153
|
We have assembled collaborators to maintain python2 and python3 for all 4 amigoid platforms with goal of common code base. It will be great if you can collaborate.
You mention new newlib, is that another one of those things os4 devs clique has had for years that mere muggles are not blessed with? |
|
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/11 20:49
#8 |
---|---|---|
Amigans Defender
![]() ![]() Joined:
2006/12/2 13:27 From Taranto, Italy
Posts: 964
|
with my clib2 version i've recompiled all .so python files. To avoid clash with os files (and not only) recompile it with newlib would be the best solution.
And i don't know what do you mean with maintain versions. I didn't change any line of code in current python version. Just passed the correct parameters to configure file because every problem I found into python is fixed it into clib2. So no specific OS4 code |
|
_________________
i'm really tired... ![]() |
||
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/11 22:02
#9 |
---|---|---|
Just popping in
![]() ![]() Joined:
2020/11/17 12:08 From Slough
Posts: 153
|
That's great that you can build it from unmodified sources. Big achievement. Surely you must have a config file you've modified, or does it even work with the autoconfig correctly?
|
|
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/11 22:10
#10 |
---|---|---|
Just popping in
![]() ![]() Joined:
2007/2/14 15:50 From Australia
Posts: 74
|
Nice. I have been wanting this for ages. Python 2.7 has been useless to me for years now.
|
|
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/11 23:38
#11 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/11/26 21:45 From a dying planet
Posts: 4025
|
@afxgroup
Just curious...does python3.8 support the Cython superset? And would it be possible to add/port that too? Thank you Great News btw |
|
_________________
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg |
||
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/12 5:19
#12 |
---|---|---|
Just popping in
![]() ![]() Joined:
2008/8/21 1:11 Posts: 98
|
Love it! Where can I send some beer money to encourage the project?
|
|
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/12 8:22
#13 |
---|---|---|
Just popping in
![]() ![]() Joined:
2006/11/30 11:59 From Lund, Sweden
Posts: 137
|
@afxgroup
Great work! There's a gcc 10.2.0 now BTW. Bleeding edge ![]() |
|
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/12 8:48
#14 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/12/4 23:15 Posts: 2265
|
AmigaOS python that comes with OS is heavily adapted to be 'Amiga like' with support for Amiga style paths and several os based modules much more under the bonnet. Buiding a loonixy python is easy (no disrespect to afxgroup). Getting the amiga stuff patched in is more of a job.
Getting clib2 shared objects working is quite cool. Though I shudder at the idea of managing two sets of incompatable shared objectrs. I wonder if it migth be a good idea to use a different suffix? .c2so perhaps? For perl I made it's modules use .pso |
|
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/12 8:52
#15 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/12/4 23:15 Posts: 2265
|
@NinjaCyborg
Quote:
Newlib has been part of the OS since absolutely ages, it was a updated with the recent Update 2 + hotfix release. |
|
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/12 9:48
#16 |
---|---|---|
Amigans Defender
![]() ![]() Joined:
2006/12/2 13:27 From Taranto, Italy
Posts: 964
|
@broadblues
if you mean use c2so for python could make sense but change the default .so suffix is a problem because you should change all configure files.. and it is a pain Regard the amiga paths i have to check because lunix now is enabled by default and into libc should do all the work internally i suppose. but i didn't check |
|
_________________
i'm really tired... ![]() |
||
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/12 10:39
#17 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/12/4 23:15 Posts: 2265
|
@afxgroup
Configure files work out shared object extenstions by themselves, or at least as an option, Windoze doesn't use .so but .dll for example Normally ofcouse (in a linux system ) there is only one runtime C library at any time so there is no issue. WRT paths etc in python. There is a whole abstraction api in os.path, a lot of the python code in the library needs the amiga specific stuff adding / updating for the more recent for version. |
|
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/12 10:44
#18 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/12/4 23:15 Posts: 2265
|
@afxgroup
Quote:
That's areally bad idea, it was kept seperate to enable use for both AmigaOS programs and unix ports. Does that mean path translation is on by default? How can you tell if /T is a volume or directory one level up then? |
|
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/12 14:17
#19 |
---|---|---|
Amigans Defender
![]() ![]() Joined:
2006/12/2 13:27 From Taranto, Italy
Posts: 964
|
@broadblues
Quote:
Yes. But there are only two coices. so and dll. and amiga is always configured as so since ages. This means patch every configure and is not fesable. And however .so are the last of the problems. In my ports (all) i always add a SOBJS foder inside the main program that fix all the possible problems because even with newlib there are always different versions and we don't have a versioning. Regard the unix. What do you mean with /T one level up? can you write me an example using existing functions? |
|
_________________
i'm really tired... ![]() |
||
|
Re: python3.8 AmigaOS4 in development |
Posted on: 2/12 14:54
#20 |
---|---|---|
Just popping in
![]() ![]() Joined:
2020/11/17 12:08 From Slough
Posts: 153
|
Since SObjs aren't shared why even bother to use instead os static link? Or write wrappers to turn them into proper .library ?
|
|