> 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, but
t statically compiled.
>
> (Yes, I know Cython, RPython, Julia, Rust...)
Have a look at Apple’s Swift. It reminds me of python as I read it.
I have not done more the read the language reference docs.
Sadly it seems that it has not been ported to none Apple platforms.
Barry
>
> Since
n38.dll was not found. What
>> should I do in order to use the Python interpreter?
I have never had to reboot windows when installing python.
Was I lucky?
Barry
>>
>> Thank you!
>
>
> It's WIndows, did you try to reboot ?
>
> It seems to solve a lot of prob
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 message tit
em appears.
> 1 PC works the other fails.
> I even tried "HTMLsession" which renders javascript. Same problem.
>
Sounds like the service you are accessing has a rate limit or other form of
defence.
And your requests are triggering the defences. What happens if you browse to
the
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>
ow do you check that the key is present?
Are you aware that there is one registry for 32 bit code and a separate
registry for 64 bit code.
if you run a 32 bit program to write the registry it will not be seen by 64 bit
code for example.
Barry
>
> Code:
> ===
&
[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 one implementation and two ways to
use
nk, but
> I've to check on a list of 20-3 symlinks to delete it and avoid
> duplicates...
Don’t you have control of the code that is adding the symlinks?
Barry
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
> 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:
> 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
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 function interface
Barry A. Warsaw added the comment:
Thanks for keeping the first 'F' in FLUFL! :D
--
___
Python tracker
<https://bugs.python.org/issue41251>
___
___
Python-bug
Search for PyQt mailing list will get you to
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Barry
> On 8 Jul 2020, at 21:17, artis.pain...@gmail.com wrote:
>
> I might be wrong but since I have not found anygroup newsgroup dedicated to
> PyQt5.
>
> My small p
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/desc
hich 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 files leaves it i
that start with "Config".
Barry
--
https://mail.python.org/mailman/listinfo/python-list
s 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 "int&qu
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
problem i
://linux.die.net/man/3/strdup that tells you to use free() to delete
memory allocated by strdup.
You must remember the result of strdup and free it at an appropriate time.
Barry
>
> ---
> import ctypes
>
> libc = ctypes.cdll.LoadLibrary('libc.so.6')
> strdup = libc
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
Barry A. Warsaw added the comment:
I don't think there's really anything more to do here. I'm closing the issue.
Let's open a new one if needed at some future point.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -&g
ue in
> windows and thus Microsoft made DirectX.
Maybe the c runtime but not direct x that’s typically for games.
Barry
>
>> On Tue, 26 May, 2020, 11:14 pm Meet Agrawal, wrote:
>>
>> I have tried and installed the python application a lot of times but after
>> th
nce 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
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
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
s appears to be in the
>> same location as the system distutils?")
>>>>> distutils.__path__
>> ['/home/robin/LOCAL/3.9b1/lib/python3.9/distutils']
>>>>> distutils.__file__
>> '/home/robin/LOCAL/3.9b1/lib/python3.9/distutils/__init__.py'
>
> is this a bug or have I built python 3.9.0b1 wrongly?
I think that is correct __file__ value. What are you expecting to see?
Barry
> --
> Robin Becker
>
> --
> https://mail.python.org/mailman/listinfo/python-list
--
https://mail.python.org/mailman/listinfo/python-list
hen 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
> <https://mail.pytho
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
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue40453>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry Alan Scott added the comment:
Anthony,
Now that everything is opened using open_code that returns bytes its
not clear to me why this breaks for you.
Further the data must be bytes for the codings to be figured out.
Removing the b'\n' may be reasonable, but not for the reason given.
I
> 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
imple 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
te a file 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
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 new locat
> 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
Barry Alan Scott added the comment:
I have pushed the fix onto https://github.com/python/cpython/pull/19595
with an API test case and the changes to keep the debain subclassing
working.
I'm new the the work flow. Let me know if I need to change anything
Change by Barry Alan Scott :
--
pull_requests: +18931
pull_request: https://github.com/python/cpython/pull/19595
___
Python tracker
<https://bugs.python.org/issue40
> 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
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/boxes et
> 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 analysis
> 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:
>>>
>>
Barry Alan Scott added the comment:
I have the fix coded and tested.
I run out of git knowledge to update the PR branch so that I can push the fix.
I'll work on it more later in the day.
--
___
Python tracker
<https://bugs.python.org/issue40
Change by Barry Alan Scott :
--
pull_requests: +18895
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/19549
___
Python tracker
<https://bugs.python.org/issu
cs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-dialogboxindirectparamw>
I assume you are a C++ developer and can look at the stack of the thread.
What is the thread doing? Is it in python code? Is it in windows code?
Barry
> .
>
> Eren
>
>> Am Mi., 15. Apr. 2020
Barry Alan Scott added the comment:
Regarding test case. I will need to know what pymindeps is doing to be able to
design a suitable test case.
--
___
Python tracker
<https://bugs.python.org/issue40
Barry Alan Scott added the comment:
I need to see the code of pymindeps to understand what you are doing and how to
fix this. Can you post a URL to the source please?
Are you aware that load_module() changed in other ways that are required to fix
the bug?
You may have to change yout
rnal 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=em
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
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
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 doing? waiting for
Barry Alan Scott added the comment:
io.open_code() used in the patch.
--
components: -Windows
___
Python tracker
<https://bugs.python.org/issue40260>
___
___
New submission from Barry Alan Scott :
modulefinder.py does not open source files in "rb" which
prevents compile() from applying the encoding rules.
This first showed up for me on Windows with Python 3.8.
Here is my test case and the results on Windows with 3.8.
import mo
Barry McLarnon added the comment:
Issue still exists in 3.7 and below, as it was part of a different function
before. Current PR doesn't resolve the original issue that was raised.
--
versions: +Python 3.5, Python 3.6
___
Python tracker
<ht
t;> 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!
>>
>> ChrisA
>
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
Change by Barry McLarnon :
--
components: +Library (Lib) -Tests
___
Python tracker
<https://bugs.python.org/issue40126>
___
___
Python-bugs-list mailin
Barry McLarnon added the comment:
After further investigation, it seems this was fixed in
https://github.com/python/cpython/commit/436c2b0d67da68465e709a96daac7340af3a5238
However, this fix was as part of an unrelated changeset and in a different
function in 3.8+, and was never rolled back
n 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
New submission from Barry McLarnon :
The error handling in mock.decorate_callable (3.5-3.7) and
mock.decoration_helper (3.8-3.9) is incorrectly implemented. If the error
handler is triggered in the loop, the `patching` variable is out of scope and
raises an unhandled `UnboundLocalError
> 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
e 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
of names as 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
>
> --
> 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
> 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 network tr
;> 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 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
nded 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
s expectations.
I'd look at the network traffic with wireshark to see if there is anything
different between edge and the other browsers.
Aside: headers are case blind, but usually written capitalised. Some buggy
software expects that its capitalised.
I wonder if it will start work
then list, rest run macOS python 3.8
Barry
--
https://mail.python.org/mailman/listinfo/python-list
r 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:2424:
> All features are either constant or ignored.
Hopeful the author documented the
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 g
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
> 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,
the python 3 way. If you do not have to care about python 2 then this
is the form to use.
Barry
>
>> Am Do., 12. März 2020 um 12:58 Uhr schrieb MRAB >> :
>>
>>> On 2020-03-12 10:54, joseph pareti wrote:
>>> The following code that uses a class 'Fahrzeug'
t 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 Barry Scott wrote:
>>
>>
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 looking for?
Barry
>
> They have the same __getattribute__ me
y 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 that prevent the
is code 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)
> skipping '
PGP
> signature as that would certainly ensure security. And I generally use
> python for making apps. Thank you.
Have a look at PyQt5. It OO and cross platform with few quirks.
Barry
>
>> On Wed, Feb 26, 2020, 10:21 PM M.-A. Lemburg wrote:
>>
>> We are happy to anno
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue39791>
___
___
Python-bugs-list mailing list
Unsubscribe:
.
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
ks 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
> 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
but cannot find the
email/webpage that I read.
These days I assume that __del__ will almost never be useful and use exploit
calls to tell an object I am finished with it and it can do its resource clean
up.
Barry
>
> Frank Millman
>
> --
> 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
m not
> being able to move the central widget by using
> self.centralwidget.setGeometry . The error is cannot find reference. Please
> advise.
Sounds like you have discover layouts yet.
Have read about them: https://doc.qt.io/qt-5/examples-layouts.html
Barry
> --
> https://mail.python
ex 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
> On 16 Jan 2020, at 16:12, nerdynels...@gmail.com wrote:
>
> Still hoping a Python developer can weigh in on this or point me where to
> get this issue addressed.
Does this tell you what you want to know?
https://docs.python.org/3/c-api/buffer.html
Barry
> --
> https
uck reading the docs on the import system.
Use python -vv then import you module. Python will print debug messages showing
where it looks for the modules. Usually that helps find the problem with the
PYTHONPATH.
Barry
>
> Thanks!
> -Patrick
> --
> https://mail.python.org/mailman/listinfo/python-list
--
https://mail.python.org/mailman/listinfo/python-list
so 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
> On 7 Jan 2020, at 01:48, Abdur-Rahmaan Janhangeer
> wrote:
>
>
>
>
>> On Tue, 7 Jan 2020, 01:57 Barry Scott, wrote:
>>
>>
>> Please cover the pro's and con's of the alernatives that have been raised as
>> comments
>> on
s write up about the horror that is zip file name handling.
https://marcosc.com/2008/12/zip-files-and-encoding-i-hate-you/
This has been a pain point at work.
Barry
>
> -CHB
>
>
>
>
>
>> On Mon, Jan 6, 2020 at 5:50 PM Abdur-Rahmaan Janhangeer
>> wrote:
>&g
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
> 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
l 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 above is ope
> 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
>
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.
I prefer to follow the a top-down design approach. Start with what is impo
on multiple threads. When your code does lots of I/O and uses extensions it’s
not the limiting factor. I guess you app will spent if time waiting of
PostgreSQL etc.
Barry
>
> In case further information is required do let me know.
>
> Thanks
> onlinejudge95
> --
>
arfiles need a binary stream.
I searched for “python 3 binary stdout” and found this
stack over flow question that has suggested fixes.
https://stackoverflow.com/questions/908331/how-to-write-binary-data-to-stdout-in-python-3#908440
Barry
>
> Sincerely,
> Rainer
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
501 - 600 of 3394 matches
Mail list logo