> On 7 Oct 2019, at 00:44, Ian Pilcher wrote:
>
> On 10/6/19 12:55 PM, Barry Scott wrote:
>> Then the answer to your question is simple. Do it in python and passt
>> logger into the C++ module.
>
> Funny thing, that's exactly where I started this journey. I
> On 7 Oct 2019, at 00:44, Ian Pilcher wrote:
>
> On 10/6/19 12:55 PM, Barry Scott wrote:
>> Then the answer to your question is simple. Do it in python and passt
>> logger into the C++ module.
>
> Funny thing, that's exactly where I started this journey. I
upgradeInstance()
I have seen code that messes around with __class__ but I think that its a
maintenance issue to do that.
Apart from the person who writes that code would have a clue what it's doing.
Barry
>
>
> In a medically-oriented situation, we have a Person() class, and
the last
moment.
So is TDD contrary to EAFP? Not as such its two sorts of social engineering.
TDD helps get the tests, EAPF give permission to take risks, necessary to
innovate.
Barry
>
> However, I quite possibly like yourself, come from a time-before - before
> TDD, and before
Ubuntu subsystem. Before
> that, doesn't something like Cygwin still exist/work?
If you are working on native Windows apps then cygwin or WSL will not help you
as they hide the Windows world from you.
Personally I write .CMD files for the windows stuff I need to mirror the
bash .sh scrip
the perf_counter.
Reseting things like timers is often a problem.
What if there are two pieces of code using the value of the perf_counter?
If one use resets the timer then the other user will be broken.
Barry
>
> Regards,
>
> Dietmar
>
> --
> https://mail.python.org/m
th to python will not change surely?
Because you are installing from a deb you know the exact path to the python you
need to use. There is no need to use the /usr/bin/env to search the path and
potential break your code, because a version of python that you do not expect
is on
the path.
Barry
--
ht
between successive
> structure members. No padding is added at the beginning or the end of the
> encoded struct."
The 'L' in struct is documented for 3.7 to use 4 bytes, but in fact uses 8, on
fedora 31. Doc bug?
>>> x=struct.pack('L',0x102030405)
>
> On 3 Dec 2019, at 01:50, Richard Damon wrote:
>
> On 12/2/19 4:25 PM, Barry Scott wrote:
>>
>>> On 2 Dec 2019, at 17:55, Rob Gaddi
>>> wrote:
>>>
>>> On 12/2/19 9:26 AM, Chris Clark wrote:
>>>> Test case:
>>
ocumentation for your packageing tool.
zipapp is part of the python standard library.
The docs only talk about packaging pure python code, not data files.
Barry
--
https://mail.python.org/mailman/listinfo/python-list
which generates
>
> UnicodeWarning: Unicode equal comparison failed to convert both arguments
> to Unicode - interpreting them as being unequal if
> sresults.has_key(textAtCursor):
What version of python are you using? Peter only managed to get the error
with python 2.
Do you get
rning&Development')
That's your top folder.
> sys.path.append('foo/Python/Learning&Development/Pratice')
>sys.path.append('foo/Python/Learning&Development/Pratice/Directory1')
>sys.path.append('foo/Python/Learning&Development/Pratic
sting
> comes. Actually the date_string cames from different contact forms inside
> websites made by different content management systems. So it could be
Can side step the issue?
I would change the web site to collect the date in a form that is not ambiguous.
For example use a Javascript
f execution
> time after I profile it by cProfile module.
>
> Are there any tips to improve this?
cProfile is telling you how long the code is waiting for epoll to return.
It is not telling that epoll is a problem.
Barry
> --
> https://mail.python.org/mailman/listinfo/pyth
it has to be above the functions it's
> decorating), but even if it's not, metaprogramming goes before the
> mainline.
"define before use" is basically email top-posting for code isn't it?
It means that the first things that you read in a module are the least
interesting.
> On 30 Dec 2019, at 15:35, Chris Angelico wrote:
>
> On Tue, Dec 31, 2019 at 1:47 AM Barry Scott wrote:
>>
>>
>>
>>> On 28 Dec 2019, at 22:49, Chris Angelico wrote:
>>>
>>> On Sun, Dec 29, 2019 at 9:37 AM DL Neil via Python-list
>
to install a .exe for Windows that
runs the tool. On macOS and linux its creates a small boot strap script.
As an example see my https://pypi.org/project/colour-text/
<https://pypi.org/project/colour-text/> project
that installs the colour-print command.
All the code for the ab
> On 3 Jan 2020, at 02:31, Abdur-Rahmaan Janhangeer
> wrote:
>
>
>
> On Fri, 3 Jan 2020, 02:50 Barry Scott, <mailto:ba...@barrys-emacs.org>> wrote:
> Expect for trivial programs you cannot distribute a single file python exe
> for windows.
>
> You
t does not include the encoding of the files
that are in the
zip file. This means that for practical purposes only ASCII filenames are
portable across
systems. Is this limitation a problem for this proposal?
Barry
--
https://mail.python.org/mailman/listinfo/python-list
tools.
Also can we stop cross posting to 2 lists please.
Pick one and keep the thread on it please.
Barry
>
> -CHB
>
>
> --
> Christopher Barker, PhD
>
> Python Language Consulting
> - Teaching
> - Scientific Software Development
> - Desktop GUI and Web Development
> - wxPython, numpy, scipy, Cython
--
https://mail.python.org/mailman/listinfo/python-list
ding get more complex have a look at GitPython that's on
PyPi. I found it was the best git python library when I did the research
my SCM workbench app.
Barry
>
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
uts.html
<https://doc.qt.io/qt-5/examples-layouts.html>
A blank line before each def would make the code easier to read.
Barry
--
https://mail.python.org/mailman/listinfo/python-list
> On 7 Feb 2020, at 05:27, Frank Millman wrote:
>
> @Barry
> I agree that __del__() is rarely useful, but I have not come up with an
> alternative to achieve what I want to do. My app is a long-running server,
> and creates many objects on-the-fly depending on user inp
al time zone. It works for Windows, macOS and unix thanks.
import datetime
import pytz
import tzlocal
def utcDatetime( timestamp ):
return pytz.utc.localize( datetime.datetime.utcfromtimestamp( timestamp ) )
def localDatetime( datetime_or_timestamp ):
if type(datetime_or_timestamp) in (int, float):
dt = utcDatetime( datetime_or_timestamp )
else:
dt = datetime_or_timestamp
local_timezone = tzlocal.get_localzone()
local_dt = dt.astimezone( local_timezone )
return local_dt
Barry
>
> Thanks
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
ech-debt legacy code.
Given the choice between a legacy python2 job and a modern python3 job
what would you choose?
Barry
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
ode that only supports python 2.
Check with the author that python 3 is supported.
Barry
>
>
> ===
> $ python setup.py build_ext -b PoissonSolver/
> running build_ext
> skipping 'PoissonSolver/MV_2D_cy/matvec2D.c' Cython extension (up-to-date)
uld be happy if anyone could shed some light on it...
threading.Lock is not reentrant and its implementation does not allow detection
of the problem
from what I recall.
In this case the code might want to use the threading.RLock that is reentrant.
Of course there may be other issues in the code th
() calls the super().fn and the second print shows that its the class A
fn that is found called.
super starts with the next class after the one it is called in. It is in C so
find C in the MRO and starts with
B. B does not have an fn(). Then it looks in A and finds fn().
Is this what you are l
ug.
It used to be the case that using the NORMAL locks was higher performance then
the ERRORCHECK or RECURSIVE locks. No idea if this is still true of that it
matters
for cpython. Maybe changing from NORMAL to ERRORCHECK would be a benefit.
Barry
>
>
> On Tue, Mar 10, 2020 at 5:07 PM Ba
> On 15 Mar 2020, at 21:05, Marco Sulla wrote:
>
> https://docs.python.org/3/library/profile.html#pstats.Stats.print_callers
And also look at print_callees. Between callers and callees you can
usually find some insight.
Barry
>
> On Sat, 14 Mar 2020 at 00:54,
oogle for a shop the right hand panel has a popular times
sections that tells you how busy the store typically is and the current busyness
estimate. Is that what you are after?
Barry
>
> Kind regards,
> Orges Leka
>
> --
> Mit freundlichen Grüßen
> Herr Dipl. Math. Orges
ushahidi.com/
<https://www.ushahidi.com/> is an alternative?
Barry
>
> The user writes anonymously without registration where (City, supermarket),
> when (Date and Time) he plans to go to the supermarket.
> If this is done by a lot of users, the first user gets to s
tregtest" is giving me error with the errorlog
Have you checked the documentation for the library you are using?
Its clear that the author knows something is wrong, hence the error:
> CatBoostError:
> c:/goagent/pipelines/buildmaster/catboost.git/catboost/libs/data/quantization.cpp:24
her the problem lies with Python or MS Edge, but as it does
> not happen with Python 3.7, I am suspecting that something changed in 3.8
> which does not match MS Edge's expectations.
I'd look at the network traffic with wireshark to see if there is anything
different
ck? Is Python 3.8 only intended work on very recent
> versions of MacOSX?
if your XCode is new enough you might be able to build it with
export MACOSX_DEPLOYMENT_TARGET=10.13
But I guess the result will not run.
Barry
>
> --
> Greg
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
> On 22 Mar 2020, at 07:56, Frank Millman wrote:
>
> On 2020-03-21 8:04 PM, Barry Scott wrote:
>>> On 21 Mar 2020, at 13:43, Frank Millman wrote:
>>>
>>> Hi all
>>>
>>> I have a strange intermittent bug.
>>>
>>&g
e
>> impact.
>
> Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64
> bit (AMD64)] on win32
Can you confirm that you have implemented Connection: keep-alive?
This means that the browser can send a 2nd GET on the same connection.
Barry
>
> Frank
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
> On 22 Mar 2020, at 09:41, Frank Millman wrote:
>
> On 2020-03-22 11:00 AM, Barry Scott wrote:
>>> On 22 Mar 2020, at 07:56, Frank Millman wrote:
>>>
>>> On 2020-03-21 8:04 PM, Barry Scott wrote:
>>>> I'd look at the netwo
vailable for reuse.
Modern browsers open many persistent connection. I recall its 8/site in the
case of chrome.
>
> If this all makes sense, I should write two versions of the client program,
> one using a single connection, and one using a pool of connections.
Is this for a test program?
You can use curl for the single connection case.
>
> All comments appreciated!
>
> Frank
Barry
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
s strings?
>
> It sounds like what you want is a separate script to process your .h file
> into a Python module containing an enum, then import that module into your
> program.
web search for "python parse C header" yields some interesting results.
Barry
>
> --
csv, which
> makes it easier to work on. But while the TCP lines include the source and
> destination ports, the HTTP lines do not, so I don't know which connection
> they belong to. If I view the data in Wireshark's gui it does show the ports,
> so the data is there somewhere. Does anyone know how to include it in the csv
> output?
There is a option to follow a single TCP or HTTP connection in Wireshark.
Right click on one pf the packets then choose Follow/HTTP stream.
The way to share the data is as a PCAP file that allows someone else to look at
the capture
with tools like wireshark and others.
>
> That's all for now. I will keep you posted.
Barry
>
> Frank
>
> --
> https://mail.python.org/mailman/listinfo/python-list
> <https://mail.python.org/mailman/listinfo/python-list>
--
https://mail.python.org/mailman/listinfo/python-list
> On 25 Mar 2020, at 06:12, Frank Millman wrote:
>
> On 2020-03-24 8:39 PM, Barry Scott wrote:
>>> On 24 Mar 2020, at 11:54, Frank Millman wrote:
>>>
>>>
>>> I decided to concentrate on using Wireshark to detect the difference
>>&g
d then you will have a registry that knows about 2 installs only one of which
you can remove.
This is not a good idea.
Barry
--
https://mail.python.org/mailman/listinfo/python-list
chcp setting.
On both 3.7 and 3.8 I see that locale.getpreferredencoding(False) returns
'cp1252'.
I have not figured out how the 3.7 code manages to use utf-8 that is required
to get things
working.
I can workaround this by setting PYTHONUTF8=1, but I want to change the
behavour from within python.
I have failed to find a way to change what is returned by
locale.getpreferredencoding(False) from
within python. Is the only way to set the PYTHONUTF8?
Barry
--
https://mail.python.org/mailman/listinfo/python-list
u can simplify this
>> code the same way.
>>
>> Something worth remembering is that all code can be buggy, so writing
>> less code usually means you have less bugs. Try to write your program
>> with less code rather than more. :)
>>
>> All the best!
>&g
Make sure that you have installed the Python debug files.
Now you can use the visual C++ debugger to attach to the process and
look at what the threads are doing.
I always have the python source code on hand to read as well.
This should give you a clue.
What is the "stuck" thread doi
system.
In the Start Menu you should find a "Python 3.8" item that has the programs you
can run in it.
Barry
> --
> https://mail.python.org/mailman/listinfo/python-list
--
https://mail.python.org/mailman/listinfo/python-list
the Windows first time users. This would help folks that
reply to the Windows first time users to have a quick way to reply
without drafting the text a reply every time.
What are your thoughts on the installer changes and reply text?
Barry
--
https://mail.python.org/mailman/listinfo/python-list
as an internal or external command,operable
> program or batch file.*
>
Try the "py" command instead.
Is there a reason to use a very old version of python?
The latest version of 3.8.
Barry
> Kindly assist.
> Regards
>
> <http://www.avg.com/email-signature?utm_medium
> On 16 Apr 2020, at 08:45, Mike Dewhirst wrote:
>
> On 16/04/2020 2:46 pm, DL Neil via Python-list wrote:
>> On 16/04/20 3:34 PM, Dennis Lee Bieber wrote:
>>> On Wed, 15 Apr 2020 19:23:43 +0100, Barry Scott
>>> declaimed the following:
>>>
>>
> On 16 Apr 2020, at 14:55, Eko palypse wrote:
>
> Barry, sorry for sending you a private message yesterday, was not intended.
>
> No, I only have rudimentary knowledge of C++,
> but it has been developing since I started using Cython.
> I haven't done any stack ana
lp with the python side of things, but speaking for myself, I've little
knowledge of computer vision. Have you thought about looking for a specialist
list on computer vision or cv2?
Barry
>
> Here is my test image, as you can see there are dotted lines and some
> text/box
> On 16 Apr 2020, at 04:34, Dennis Lee Bieber wrote:
>
> On Wed, 15 Apr 2020 19:23:43 +0100, Barry Scott
> declaimed the following:
>
>> I post some suggestion to improve the Python installer for Windows
>> to better sign post users on the next steps.
>>
&g
> On 18 Apr 2020, at 21:00, boB Stepp wrote:
>
> On Wed, Apr 15, 2020 at 2:04 PM Barry Scott wrote:
>>
>> I post some suggestion to improve the Python installer for Windows
>> to better sign post users on the next steps.
>>
>> https://mail.python.or
mmand. curl -v shows you the
request and the response.
You can then add curl options to provide authenicate data (username/password)
and how to use it --basic
and --digest for example.
Oh and the other status that needs handling is a 302 redirect. This allows a
web site to more a page
and tell you the
le with all of the dependencies (and nothing
> else)?
> (Already posted on stack overflow with no answer)
Are you after code coverage? Try this https://pypi.org/project/coverage/
Then there is cProfile, part of python stdlib, that shows what was run and how
often.
Barry
--
https://mail.pyt
not simple things
like the integer 2. All of these objects can be values and are called values.
A value is not limited to only being integers for example.
Barry
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
> On 21 Apr 2020, at 20:47, dcwhat...@gmail.com wrote:
>
> On Tuesday, April 21, 2020 at 3:16:51 PM UTC-4, Barry Scott wrote:
>>> On 21 Apr 2020, at 18:11, dc wrote:
>>>
>>> On Tuesday, April 21, 2020 at 12:40:25 PM UTC-4, Dieter Maurer wrote:
&g
a case-sensitive grep can tell
camelCase from noCamelCase.
In all cases you need to use a \b to mark the boundary of the word.
Otherwise the RE will match more than you expect, assuming a
large set of identifiers.
grep '\bsnake_case\b *.py
Barry
--
https://mail.python.org/mailman/listinfo/python-list
python and when then buffer if full it is
written out of Python into the OS.
As you found you can force a partial buffer to be written by calling flush().
Barry
>
> Thanks for the help!
>
> Dick
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
> <htt
hat DLL is part of modern Windows.
Which version of Windows are you using?
Barry
>
> Please tell me a way out.
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
it
>> is not.
> If it starts with the path separator, then it's absolute (well, absolute on
> that drive).
>
> Open a Command Prompt window and it'll open in the %HOME% folder. Then type
> "cd \" and it'll put you in the root folder.
HOME is not defined by windows.
I have theses:
HOMEDRIVE=C:
HOMEPATH=\Users\barry
USERPROFILE=C:\Users\barry
I have always use USERPROFILE in place of HOME on Windows.
Barry
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
and that I should
> hence submit this as an issue.
Can you post the a link to the issue please?
I note that
>>> pathlib.Path('/').is_absolute()
False
>>> pathlib.Path('/').resolve().is_absolute()
True
>>>
The resolve() is required and I think should not be required.
Barry
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
> objctive().
> I tried to make it global by adding global pd in Main.py
>
>
> I would appreciate any support. Thanks in advance
> Frank
Barry
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
?
Submit the .exe to Microsoft so they can update the virus definitions to remove
your false positive.
https://www.microsoft.com/en-us/wdsi/filesubmission
<https://www.microsoft.com/en-us/wdsi/filesubmission>
I did this for one of my open source projects and Microsoft fixed the false
ms to your.
You can install myy with pip.
$ python3 -m pip install mypy
I put your code in a.py and then checked it:
$ /Library/Frameworks/Python.framework/Versions/3.8/bin/mypy a.py
a.py:18: error: Argument 1 to "Property" has incompatible type "float";
expected &q
start with "Config".
Barry
--
https://mail.python.org/mailman/listinfo/python-list
t;
> which fails as the temporary file doesn't even get created.
I do not how to do this. But I would decrypt into a string in memory.
Then have netrc parse from the string.
There is no point in having an encrypted file if you are going to decrypt in to
a temp file. A deleted fi
l?highlight=property#property
<https://docs.python.org/3/library/functions.html?highlight=property#property>
which do not show your usage.
The code is here:
https://github.com/python/cpython/blob/master/Objects/descrobject.c
<https://github.com/python/cpython/blob/master/Objects/descrobje
excellent rule-of-thumb implies.
Clearly moving the 20 positional args into a tuple is basically the same code,
and the same maintenance problem.
I'd expect to see something like this:
def mail_label( person, address ):
first_name = person.first_name
# or if you want a funct
> On 13 Jul 2020, at 06:21, dn via Python-list wrote:
>
> On 12/07/20 10:10 PM, Barry Scott wrote:
>>> On 12 Jul 2020, at 00:15, DL Neil via Python-list >> <mailto:python-list@python.org>> wrote:
>>>
>>>> That does not necessarily me
> On 13 Jul 2020, at 03:20, Marco Sulla wrote:
>
> TL;DR: I tried to implement in CPython a frozendict here:
> https://github.com/Marco-Sulla/cpython
>
> Long explaining:
>
> What is a frozendict? It's an immutable dict. The type was proposed in
> the past but rejected: https://www.python.or
; sync/async variants, with requests [4] and AIOHTTP [5] as the most
> prominent. Are there any libraries out there that demonstrate good
> support for both kinds of callers without duplicating their API?
Maybe you have a sync facade that uses the async version to do
the work? That way you have
You left python list off your reply.
> On 29 Jul 2020, at 23:38, R Pasco wrote:
>
> Hi, Barry,
>
> On Wed, Jul 29, 2020 at 5:12 PM Barry <mailto:ba...@barrys-emacs.org>> wrote:
>
> > On 29 Jul 2020, at 19:50, R Pasco > <mailto:pascor22...@gmail.com>
Use the Reply or Reply-To-All feature of your email program and it will do the
rest for you.
Barry
> On 30 Jul 2020, at 20:14, R Pasco wrote:
>
> I can't find instructions for the proper way to reply to 'python list'. Is
> it simply a matter of keeping the mes
> On 8 Aug 2020, at 18:18, Marco Sulla wrote:
>
> On Sat, 8 Aug 2020 at 14:10, Barry wrote:
>>>> On 7 Aug 2020, at 23:28, Marco Sulla wrote:
>>> My idea seems to be very simple (so probably it's not simple at all):
>>> a language similar to Python,
use the persistent
connection.
If you know your way around TCP sockets and protocols this is not that hard to
write the
code to do persistent connections for a client.
Maybe look at a library like twisted? Its got all the building blocks you need
to handle
persistent connections.
Barr
e logging with the aim of debugging and maintaining
code from the outset these days. When a new bug turns up I just switch on
the appropriate stream of logs to help me fix it, add new logs as necessary.
Barry
--
https://mail.python.org/mailman/listinfo/python-list
> fix this? (I assume that's what I need to do).
>>> import unicodedata
>>> unicodedata.name('\ufeff')
'ZERO WIDTH NO-BREAK SPACE'
I guess the editor you use to compose the text is adding that to your message.
Barry
--
https://mail.python.org/mailman/listinfo/python-list
Do you mean you want to
extract the bitmap subtitle data from a MPEG video?
Barry
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
> On 29 Aug 2020, at 12:51, Muskan Sanghai wrote:
>
> On Friday, August 28, 2020 at 10:59:29 PM UTC+5:30, Chris Angelico wrote:
>> On Sat, Aug 29, 2020 at 3:24 AM Barry > <http://barrys-emacs.org/>> wrote:
>>>
>>>
>>>
>>>&g
threads.
After fork the new process has 1 thread, which is not shared with the parent.
Any extra threads are not in the new process. But the memory in the new
process will have data structures from the parents other threads.
So no you never have two processes sharing an threads.
This leads to
a directory don't need to be 'real' entries
> added to the directory using up directory slots in the directory, but
> pseudo entries created by the file system when reading a directory. To
> read a directory, you need to specify it (how else do you say you want
> to read
> On 9 Sep 2020, at 06:35, James Moe via Python-list
> wrote:
>
> python 3.6.10
> opensuse tumbleweed
> linux 5.8.4
>
> An old program based on Python (BackInTime) has recently been having
> difficulties functioning. See below.
>
> Module PyQt5 is most definitely installed. Apparently there
he word-length supports.
The limit has nothing to do with word size. The bits are passed as unsigned
char arrary.
Here is the piece expelling the limit:
select() can monitor only file descriptors numbers that are less than
FD_SETSIZE; poll(2) <https://man7.org/linux/man-pages/man2/pol
ooks like something I
> missed in my patching. Could someone please help on this.
I recently built python 2.7.18 against openssl 1.1.1g without issue.
Maybe look see what is in the cpython code that works fine.
Barry
> Thanks & Regards,
> Bhashkar
> --
> https://mail.python.org/mailm
ile in stackless to look for
> >the required fixes.
>
> Thanks Barry. Some warnings were left in code after patching cpython files.
> After fixing them, all those errors are gone.
>
> Now I have another issue. now the threading module in python is not found.
> I don'
hould go to the log file')
> logging.info('So should this')
> logging.warning('And this, too')"
>
> But between 2 execution, I have to open a new terminal to get new data in my
> file pont.txt. Do you know why ?
Each time you run it the time stamps c
!
Cheers,
-Barry (on behalf of the PSC and PSF)
signature.asc
Description: Message signed with OpenPGP
--
https://mail.python.org/mailman/listinfo/python-list
d?).
It should be noted that the developer of PyQt does it as his job, so there is
enough
work to keep him well payed.
Barry
>
> John
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
used the debugger to
find out what the CPYTHON code is expecting and worked backwards from there.
Reading the python sources helps a lot.
Barry
>
> The relevant code for this is below, between the sections
>
> === python program ===
>
> import mymod
> fro
ed.
>>
>> PyInitialize sets up threads unconditionally since 3.7.
>
> I did not realize that PyEval_ThreadsInitialized() is deprecated. However, I
> was also running under 3.6. I will move away from that once I move to a newer
> version of Python
Try calling PyEval_In
have high confidence that the code will
run the
same way on macOS and Windows.
Barry
--
https://mail.python.org/mailman/listinfo/python-list
> On 31 Oct 2020, at 16:37, Igor Korot wrote:
>
> Hi, Barry,
>
> On Sat, Oct 31, 2020, 3:39 AM Barry Scott <mailto:ba...@barrys-emacs.org>> wrote:
>
>
> > On 29 Oct 2020, at 15:54, flaskee via Python-list > <mailto:python-list@python.org&g
> On 7 Nov 2020, at 06:51, Nick Li wrote:
>
> Does anyone know how to turn a decimal number into duodecimal or if there is
> a function built-in for it?
I see lots of interesting answer in here:
https://stackoverflow.com/questions/2267362/how-to-convert-an-integer-to-a-string-in-any-base
-V
> Python 3.7.3
I do not have answers to your questions, but I would suggest that you look at
3.9
or even 3.10a2 to see if this is still the case.
Barry
>
> Arithmetics expression is folded as expected:
>
>>>> dis.dis(compile('1 * 2', filename=&
;s always the issue of how much to read before deciding.
Simple read it all, after all you have to scan all the file to do the
replacement.
>
> Elijah
> --
> ASCII with embedded escapes? could be a VT100 animation
The output of software that colours its logs maybe?
Barry
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
download it from?
Do you have more than one version of python installed?
Does the command:
py
work?
If you have python from python.org installed you should be able to list all the
version you have installed
with the command:
py -0
That is zero not oh.
Barry
> --
>
admin is swallowing the newline from pexpect within the password.
>
> I am using python 3.5 from Windows, over plink.exe, onto a rhel
> 7 server. Unfortunately, I am stuck with all the levels of indirection.
If you have windows 10 can you use Windows Subsystem for Linux (WSL)
to
support Python3.9?
It works great with 3.9. which web psge did you see the claim on?
Barry
>
> Second, pip installed itself in /usr/lib64/python2/site-packages/, not the
> python3.9/site-packages/ directory. There's not a pip3 so how do I get pip
> and all other python modules in t
401 - 500 of 696 matches
Mail list logo