This isn't an error.
This is just a normal Python Header message announcing that you are
using Python 3.11.3
The rest is just information from the build system : The build Id, the
date/time the build was made, and the version of the compiler.
There is nothing to fix.
-- Original Me
To me __init__ is a method, but that is implemented internally as
function associated to a class
When you use A.__init__ on it's own and inspect it, then it will show
that it is a function object - this is expected. The implementation
internals of the runtime don't need to have a special i
This is exactly as expected.
Strip removes any of the characters in the passed string from both the
front and the end of the string being stripped.
The letter 'T' from the start of 'The meaning of life' does not appear
in the word 'meaning' so nothing is removed from the start of the
stri
On 10/05/2022 15:04, Dan Stromberg wrote:
On Tue, May 10, 2022 at 3:15 AM Chris Angelico wrote:
> It is often the case that developer write Code in Python and
then convert to a C extension module for performance regions.
>
> A C extension module has a lot of boiler plate code
Why not do :
def TempsOneDayDT(date:datetime.date):
return TempsOneDay(date.year, date.month, date.day)
No repeat of code - just a different interface to the same
functionality.
-- Original Message --
From: "Michael F. Stemper"
To: python-list@python.org
Sen
On 27/03/2022 15:59, dn wrote:
What is code coverage?
In the simplest words, code coverage is a measure of exhaustiveness of a
test suite. 100% code coverage means that a system is fully tested.
Sorry, but that is a gross over-simplification.
100% coverage means that you have tested all of th
On 26/11/2021 07:13, Ulli Horlacher wrote
But consider another possibility that your compiler software is compromised
Then https://www.python.org/ftp/python/3.10.0/python-3.10.0-amd64.exe
is infected. I doubt this.
But you aren't using python3.10 to 'compile' the code to the executable
that
Have you tried using Nuitka - rather than pyInstalller - it means you
distribute a single executable and the Python run time library (which
they probably have already), and it has the advantage that it is a bit
quicker than standard python.
Rather than bundle the source code and interpreter in