On 22/06/22 4:42 am, MRAB wrote:
On 2022-06-21 03:52, Avi Gross via Python-list wrote:
This leads to the extremely important question of what would an
implementation of Python, written completely in C++, be called?
C++Python
CPython++
C+Python+
DPython
SeaPython?
SeeSeaSiPython
CincPython?
On 21Jun2022 17:02, Paulo da Silva wrote:
>I have a datetime, not a date.
Then you need a date. I would break the datetime into a date and a time,
then do the months stuff to the date, then compose a new datetime from
the result.
>Anyway, the use of calendar.monthrange simplifies the task a lo
On Tuesday, June 21, 2022 at 2:09:27 PM UTC+1, Grant Edwards wrote:
> On 2022-06-21, Chris Angelico wrote:
>
> > Not sure why it's strange. The point is to distinguish "CPython" from
> > "Jython" or "Brython" or "PyPy" or any of the other implementations.
> > Yes, CPython has a special place b
On Tue, 21 Jun 2022 14:22:29 +0300, Brian Karinga
declaimed the following:
>I have been trying to download and install the latest version of python on
>my windows device. However, when I run the program, three options arise.
>These are:
>
>Modify
>Repair
>Uninstall
>
You are (re-)running
On 2022-06-21 at 17:04:45 +,
Avi Gross via Python-list wrote:
> My problem with that idea is, believe it or not, that it is too negative.
> What you meant to be seen as a dash is a minus sign to me. And both C and C++
> not only have both a pre and post autoincrement variable using ++x and
Inside my Windows virtual machine only entering `py` as the command
brings up the repl, if that helps.
Kind Regards,
Sam Ezeh
On Tue, 21 Jun 2022 at 18:15, Igor Korot wrote:
>
> Hi,
>
> On Tue, Jun 21, 2022 at 11:43 AM Brian Karinga wrote:
> >
> > Hello,
> >
> > I hope this email finds you well
Hi,
On Tue, Jun 21, 2022 at 11:43 AM Brian Karinga wrote:
>
> Hello,
>
> I hope this email finds you well.
>
> I have been trying to download and install the latest version of python on
> my windows device. However, when I run the program, three options arise.
> These are:
>
> Modify
> Repair
> U
If we want to be humorous, RPython would obviously either be written in R,
which really is not designed well for such purposes, or would be some kind of
synthesis that already exists that allows you to run R and python code
interchangeably on sort of shared data that I sometimes do in RSTUDIO.
On 2022-06-21 03:38, Paulo da Silva wrote:
Às 02:33 de 21/06/22, Chris Angelico escreveu:
On Tue, 21 Jun 2022 at 11:13, Paulo da Silva
wrote:
Às 20:01 de 20/06/22, Paulo da Silva escreveu:
Às 18:19 de 20/06/22, Stefan Ram escreveu:
The same personality traits that make people react
Às 05:44 de 21/06/22, Paul Bryan escreveu:
Here's how my code does it:
import calendar
def add_months(value: date, n: int):
"""Return a date value with n months added (or subtracted if
negative)."""
year = value.year + (value.month - 1 + n) // 12
month = (value.month - 1 + n) % 12 + 1
On Tue, 21 Jun 2022 19:53:51 +1200, Greg Ewing
declaimed the following:
>Although if it were called RPython, no doubt a new debate would
>flare up over whether the "R" stands for "Rust" or "Reference"...
Or does RPython refer to a Python integrated into the R statistics
system?
On Tue, 21 Jun 2022 01:53:38 +0100, Paulo da Silva
declaimed the following:
>I still find very strange, to not say weird, that a compiler or
>interpreter has a name based in the language it was written. But, again,
>is just my opinion and nothing more.
>
The whole purpose for that was
On 2022-06-21 03:52, Avi Gross via Python-list wrote:
This leads to the extremely important question of what would an implementation
of Python, written completely in C++, be called?
C++Python
CPython++
C+Python+
DPython
SeaPython?
SeeSeaSiPython
CincPython?
FYI, there's a language called D,
Hello,
I hope this email finds you well.
I have been trying to download and install the latest version of python on
my windows device. However, when I run the program, three options arise.
These are:
Modify
Repair
Uninstall
I have executed the modify and repair options several times but nothing
jsch...@sbcglobal.net wrote at 2022-6-20 13:49 -0500:
>I coded an application with a 64-bit executable using cython with the embed
>option and gcc and I received a traceback showing the path to my python
>installation. Is that normal or does that mean the application is going
>outside of my execut
On 21/06/22 8:37 pm, Christian Gollwitzer wrote:
Am 20.06.22 um 22:47 schrieb Roel Schroeven:
"CPython is a descendant of Pyscript built on Pyodide, a port of
CPython, or a Python distribution for the browser and Node.js that is
based on Webassembly and Emscripten."
To me, this sentence is so
Am 20.06.22 um 22:47 schrieb Roel Schroeven:
indication that www.analyticsinsight.net is wrong on that point. Frankly
that website seems very low quality in general. In that same article
they say:
"CPython is a descendant of Pyscript built on Pyodide, a port of
CPython, or a Python distributi
tOn Tue, 21 Jun 2022 02:52:28 + (UTC), Avi Gross
declaimed the following:
>
>I don't even want to think fo what sound a C# Python would make.
A musical hiss on a frequency of 277.183Hz (for the C# above middle-C)
--
Wulfraed Dennis Lee Bieber AF6VN
On 21/06/22 9:27 pm, Paul Rubin wrote:
What? I never heard of such a dispute. The PSF got after someone about
it? Sheesh.
Upon further research, it seems it wasn't the *Python* trademark that
was at issue. From the Jython FAQ page:
1.2 How does Jython relate to JPython?
Jython is the su
Il 21/06/2022 04:56, Paulo da Silva ha scritto:
Às 03:20 de 21/06/22, MRAB escreveu:
On 2022-06-21 02:33, Chris Angelico wrote:
On Tue, 21 Jun 2022 at 11:13, Paulo da Silva
wrote:
Às 20:01 de 20/06/22, Paulo da Silva escreveu:
> Às 18:19 de 20/06/22, Stefan Ram escreveu:
[snip]
After all
On 21/06/22 2:56 pm, Paulo da Silva wrote:
Let's say they reimplement "reference python" CPython in Rust. What is
better? Change the "reference python" CPython name to RPython, for
example, or let it as CPython?
The C implementation would still be called CPython, and the new
implementation mig
Hi all,
Need help with below query on python logging module.
I have a main process which makes use of different other modules. And these
modules also use other modules. I need to log all the logs into single log
file. Due to use of TimedRotatingFileHandler, my log behaves differently after
mid
On 21/06/22 2:52 pm, Avi Gross wrote:
This leads to the extremely important question of what would an implementation
of Python, written completely in C++, be called?
(Pronounced with a comical stutter) "C-p-p-python!")
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
On 21/06/22 2:38 pm, Paulo da Silva wrote:
Notice that they are, for example, Jython and not JPython.
Jython *was* originally called JPython, but that was judged to be
a trademark violation and they were made to change it.
I don't know how MicroPython has escaped the same fate to date.
--
Gre
On Mon, Jun 20, 2022 at 9:45 PM Paul Bryan wrote:
> Here's how my code does it:
>
>
> import calendar
>
> def add_months(value: date, n: int):
> """Return a date value with n months added (or subtracted if
> negative)."""
> year = value.year + (value.month - 1 + n) // 12
> month = (value.mo
On 6/20/22, Paulo da Silva wrote:
>
> Yes, but that does not necessarily means that the C has to refer to the
> language of implementation. It may well be a "core" reference to
> distinguish that implementation from others with different behaviors.
If the reference implementation and API ever swi
On 2022-06-21, Chris Angelico wrote:
> Not sure why it's strange. The point is to distinguish "CPython" from
> "Jython" or "Brython" or "PyPy" or any of the other implementations.
> Yes, CPython has a special place because it's the reference
> implementation and the most popular, but the one thin
On 6/21/22 12:29 AM, Paulo da Silva wrote:
Hi!
I implemented a part of a script to subtract n months from datetime.
Basically I subtracted n%12 from year and n//12 from the month adding
12 months when it goes<=0. Then used try when converting to datetime
again. So, if the day is for example 31
On Tue, 21 Jun 2022 at 09:22, Wolfgang Grafen wrote:
> I am an experienced Python user and struggle with following statement:
>
> >>> from tklib import *
> Traceback (most recent call last):
> File "", line 1, in
> ModuleNotFoundError: No module named 'tklib'
[...]
> I did not find a python mo
29 matches
Mail list logo