On Wednesday, March 24, 2021 at 1:02:48 AM UTC+11, Chris Angelico wrote:
> > ../Objects/exceptions.c:2538: `ECONNREFUSED' undeclared (first use in this
> > function)
> >
> Ah, this sounds like an issue with your lower-level networking
> support. Does PDOS have BSD sockets? Does it have WinSock?
On 23Mar2021 16:37, Tomasz Rola wrote:
>On Tue, Mar 23, 2021 at 10:40:01AM -0400, Avi Gross via Python-list wrote:
>[...]
>> I am a tod concerned as to where any of the variables x, y or z have been
>> defined at this point. I have not seen a BEGIN {...} pattern/action or
>> anywhere these have be
On Tue, Mar 23, 2021 at 12:40 PM Skip Montanaro
wrote:
> I've not attempted to make any changes to calling conventions. It
> occurred to me that the LOAD_METHOD/CALL_METHOD pair could perhaps be
> merged into a single opcode, but I haven't really thought about that.
> Perhaps there's a good reaso
On Tuesday, March 23, 2021 at 10:19:46 PM UTC+11, Paul Edwards wrote:
> Objects/exceptions.c: ADD_ERRNO(ConnectionRefusedError, ECONNREFUSED);
>
> Those errno are non-standard (non-C90) and I assume
> other platforms can't cope with that either. But I can't
> see how other platforms are circum
> a) You're working with CPython bleeding edge.
> b) You find that (bleeding edge) adding extra chore.
> c) Nobody told you to work on bleeding (nor boss, nor a maintainer who
> said "I'll merge it once you've done"),
>
> Then: why do you complicate your task by working on bleeding edge?
> Could ta
On Tue, Mar 23, 2021 at 10:40:01AM -0400, Avi Gross via Python-list wrote:
> Alberto,
>
[...]
> I am a tod concerned as to where any of the variables x, y or z have been
> defined at this point. I have not seen a BEGIN {...} pattern/action or
> anywhere these have been initialized but they are set
On Tue, Mar 23, 2021 at 3:20 PM Michael Torrie wrote:
> On 3/23/21 5:19 AM, Paul Edwards wrote:
> > Thanks for the tip. I don't actually need it to be
> > light. I just need it to be C90-compliant.
>
> I guess the point with MicroPython is that since it can build on all
> sorts of microcontroller
On 3/23/21 5:19 AM, Paul Edwards wrote:
> Thanks for the tip. I don't actually need it to be
> light. I just need it to be C90-compliant.
I guess the point with MicroPython is that since it can build on all
sorts of microcontrollers, a) it has a simpler build system and b) it is
definitely statica
Alberto,
To convert any algorithm to python (or anything else) you have to understand
it. Do you know what AWK is doing? And does the darn thing work already in
awk? Why do you need to convert it? My suspicion is that it has errors and
if so, it is NOT about converting at all.
I will not solve th
On Tue, Mar 23, 2021 at 11:21 PM Paul Edwards wrote:
>
> On Tuesday, March 23, 2021 at 10:19:46 PM UTC+11, Paul Edwards wrote:
> > My latest problem is this:
> >
> > Objects/exceptions.c: ADD_ERRNO(ConnectionRefusedError, ECONNREFUSED);
>
> Sorry, I forgot to include the actual error:
>
> ../Objec
On Tuesday, March 23, 2021 at 10:19:46 PM UTC+11, Paul Edwards wrote:
> My latest problem is this:
>
> Objects/exceptions.c: ADD_ERRNO(ConnectionRefusedError, ECONNREFUSED);
Sorry, I forgot to include the actual error:
../Objects/exceptions.c:2538: `ECONNREFUSED' undeclared (first use in this
Hi to everyone I have an awk script that calculate minimum distances between
points
## atom type frag - atom type surface
#!/bin/bash
FILE1=$1.lammpstrj
if [ -f $FILE1 ];
then
awk 'function sq(x) {
return x * x;
}
function dist(x1, y1, z1, x2, y2, z2) {
return sqrt(sq(x1 - x2) + sq(y1
On Tuesday, March 23, 2021 at 9:44:03 PM UTC+11, Gisle Vanem wrote:
> Why not try to port MicroPython instead? Much lighter.
> I've ported it to MSDOS/djgpp with some success.
Thanks for the tip. I don't actually need it to be
light. I just need it to be C90-compliant.
The assembler I mentioned
Edwards wrote:
I don't wish to run configure, I want to hand-construct
the makefile. PDOS is a very simple system, so I only
want to produce a single executable, no DLLs etc. I
don't need extensions to work or anything, all I need
to be able to do is run asma.
Why not try to port MicroPython i
Hello. I have a new operating system called PDOS
which works on both PC and mainframe, which
can be found here:
http://pdos.sourceforge.net/
I know nothing about Python, my focus is on C90,
but I wish to run this mainframe assembler, asma,
which was written in Python, not C:
https://github.com/s
15 matches
Mail list logo