all
D:\Users\mike/downloads/Pillow-6.0.0-cp37-cp37m-win_amd64.whl
Don't worry about my slashes and backslashes. That part of the above
line is copied from a requirements file assembled by batch file. Pip
doesn't care about the angle of the slash.
I think numpy people use Anaconda to install
On 29/03/2020 10:24 pm, Terry Reedy wrote:
On 3/29/2020 12:17 AM, Mike Dewhirst wrote:
On 29/03/2020 5:06 am, Terry Reedy wrote:
On 3/27/2020 8:07 AM, deepalee khare wrote:
How to Uninstall Python3.7.3 using cmd ? i tried using cmd: Msiexec
/uninstall C:\Python37\python.exe But it gives me
On 29/03/2020 5:06 am, Terry Reedy wrote:
On 3/27/2020 8:07 AM, deepalee khare wrote:
How to Uninstall Python3.7.3 using cmd ? i tried using cmd: Msiexec
/uninstall C:\Python37\python.exe But it gives me below error: enter
image description here
Python is not currently installed with msi,
On 12/03/2020 1:47 pm, DL Neil via Python-list wrote:
On 12/03/20 3:03 AM, Rhodri James wrote:
On 11/03/2020 04:06, Michael Torrie wrote:
On 3/10/20 6:49 PM, Souvik Dutta wrote:
What about moving on to a social media app completely made in
pythoj for
python?
No thanks. I don't want to be on
Mike Frysinger added the comment:
personally i still like having the extra_env setting explicitly broken out, but
i agree that those operators help ease the majority of the pain. i hadn't come
across them before as they aren't in Python 2.
i wouldn't be upset if people declined the FR
HilaryPython isn't an ordinary program as understood by (most) Windows users.It
needs a command-prompt in which to run interactively. In other words, after
successful installation, open a command prompt (aka DOS prompt) and type
"python". It should open, announce itself and display its
New submission from Mike Frysinger :
a common idiom i run into is wanting to add/set one or two env vars when
running a command via subprocess. the only thing the API allows currently is
inherting the current environment, or specifying the complete environment.
this means a lot of copying
Mike Frysinger added the comment:
this would have been nice to have more than once in my personal projects, and
in build/infra tooling for Chromium OS. our alternatives so far have been the
obvious ones: use subprocess.run to capture & return the output, then manually
Mike Frysinger added the comment:
if threading.active_count() returns 1, then you know there's one thread, and
you're it, so it's not racey, and a lock ins't needed.
thinking a bit more, what if the code just use a recursive lock ? that would
restore the single threaded status quo without
Mike Frysinger added the comment:
to be clear, there is no Python or OS restriction that you're aware of for your
earlier statement ? you just want to make it into a new Popen restriction that
didn't previously exist ?
we came across this bug as we upgraded our existing Python 2.7 codebase
Mike Frysinger added the comment:
> fundamentally: this shouldn't work anyways.
>
> You are calling wait() from a signal handler.
> That is a blocking operation.
> You cannot do that from a signal handler.
what definition/spec are you referring to here ? is this a Python l
-2nd-edition-kickstarter-is-live/
Feel free to ask any questions that you might have as well.
Thanks,
Mike
--
https://mail.python.org/mailman/listinfo/python-list
New submission from Mike Solin :
Hello Python developers!
I'm looking to deploy Python 3 silently to the Macs that I manage, so I can use
Python for various scripts. I'm using Munki to accomplish this. However, the
Python_Documentation.pkg subpackage includes this code in the postinstall
cessed by the system
"C:\Users\Mike\AppData\Local\Microsoft\WindowsApps\python.exe"
If I search in that directory, I find a to python.exe. I have
added that directory to my Path. I can see Python 3.8.1 in the Control
Panel. I've rebooted. Reinstalled. Tried just about everything - but cannot
Mike added the comment:
Ok. I'll file a bug on pytz. Thanks!
On Sat, Nov 16, 2019 at 11:18 PM Karthikeyan Singaravelan <
rep...@bugs.python.org> wrote:
>
> Change by Karthikeyan Singaravelan :
>
>
> --
> nosy: +p-ganssle
>
> __
New submission from Mike :
import pytz
import datetime
tzaware_time1 = datetime.time(7,30,tzinfo=pytz.timezone("America/Denver"))
tzaware_time2 = datetime.time(7,30,tzinfo=pytz.utc)
tzunaware_time = datetime.time(7, 30)
# This fails with exception: TypeError: can't compare of
Hi Jason,
I will try it out... Nothing in the documentation tells a person.
Thanks
From: Python-list on behalf
of Jason Friedman
Sent: Wednesday, November 13, 2019 7:19 PM
Cc: python-list@python.org
Subject: Re: Logistic Regression Define X and Y for
Hi All,
I have the below code.
X = df.iloc[:, [4, 403]].values
y = df.iloc[:, 404].values
Dummy Data looks like:
host Mnemonic
12.234.13.6 start
22.22.44.67 something
23.44.44.14 begin
When I define the X and Y values for prediction in the train and test
mike bayer added the comment:
silly me thinking python devs had better access to SQLite devs :)
--
___
Python tracker
<https://bugs.python.org/issue38
mike bayer added the comment:
Hi where did you report it?I don't see it on the mailing list or in their
fossil tracker.
--
___
Python tracker
<https://bugs.python.org/issue38
New submission from mike bayer :
When using unicode characters inside of JSON strings, values retrieved via the
JSON_EXTRACT SQLite function fail to be decoded by the sqlite3 driver if they
include four-byte unicode characters.
Version information for my build, which is Fedora 30:
Python
New submission from Mike Raider :
In the file
cpython/blob/master/Lib/html/entities.py
the HTML5 named character references (line 264) do not look consistent.
Some references have a semicolon at the end, some not, and some have both
variants.
Is there a reason
New submission from Mike Driscoll :
I noticed that __set_name__ is not mentioned in
https://docs.python.org/3/howto/descriptor.html even though it was added in
https://www.python.org/dev/peps/pep-0487/ and mentioned here
https://docs.python.org/3/whatsnew/3.6.html#pep-487-descriptor-protocol
Mike Gilbert added the comment:
Ok, so this appears to be working correctly on master. Just the 3.7 branch is
broken.
I think this is because we use OBJ_NAME_do_all instead of EVP_MD_do_all in 3.7.
I think backporting https://github.com/python/cpython/pull/16083 to 3.7 would
resolve
Mike Gilbert added the comment:
I see that generate_hash_name_list() calls EVP_MD_do_all() which calls
OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_DIGESTS, NULL);
I'm not sure why that doesn't do the job here.
--
___
Python tracker
<ht
Mike Gilbert added the comment:
Then the OpenSSL documentation is wrong, or Python is subsequently doing
something to disable some algorithms.
--
___
Python tracker
<https://bugs.python.org/issue38
Change by Mike Gilbert :
--
keywords: +patch
pull_requests: +16418
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16873
___
Python tracker
<https://bugs.python.org/issu
New submission from Mike Gilbert :
After upgrading to Python 3.7.5, several algorithms are unavailable in the
hashlib module.
This seems to have been caused by the "fix" for
https://bugs.python.org/issue33936. I will submit a PR with a more appropriate
change shortly.
Py
Mike added the comment:
Is this issue still being worked on as a core feature? I needed a solution for
this using 2.7.11 to enable some old code to work properly/nicely in a
container environment on AWS Batch and was forced to figure out what OpenJDK
was doing and came up with a solution
New submission from Mike Lovelace :
On a system under heavy load last night Windows ran out of virtual memory, and
it appears that python interpreted that as the pyc files did not exist and
attempted to recreate them. In recreating them, it created essentially empty
files, which caused
New submission from mike lojkovic :
Encode error on character '\u2193' was suggested by a tribler developer might
indicate a problem with python's handling of unicdoe in specific cases.
https://github.com/Tribler/tribler/issues/4666
--
components: Unicode
messages: 347578
nosy
Change by Mike Gleen :
--
pull_requests: +13990
pull_request: https://github.com/python/cpython/pull/14149
___
Python tracker
<https://bugs.python.org/issue34
mike bayer added the comment:
thanks for creating this issue Nick!
--
nosy: +zzzeek
___
Python tracker
<https://bugs.python.org/issue37010>
___
___
Python-bug
mike bayer added the comment:
Just did some benchmarks, and while Signature has apparently had a big speedup
in Python 3.6, it is still much less performant than either the Python 2.7 or
Python 3.3 implementations, anywhere from 6-18 times slower approximately
depending on the function
mike bayer added the comment:
> We are talking again and again that we have a lot of old things in the
> standard library but it seems that removing them is also a problem.
I agree that the reason we have these deprecation warnings is so that we do get
notified and we do fix them. I
mike bayer added the comment:
> A deprecating warning doesn't hurt: you are still able to run your code.
this is very much untrue in modern testing environments, as it is common that
test suites fail on deprecation warnings, especially in libraries, to ensure
downstream compatibility.
mike bayer added the comment:
if a function continues to work correctly throughout the span of a Python X
version, why does it need to be removed? I have a foggy memory but I don't
seem to recall functions that were technically redundant being aggressively
deprecated in the 2.x series
Change by mike bayer :
--
nosy: +zzzeek
___
Python tracker
<https://bugs.python.org/issue36751>
___
___
Python-bugs-list mailing list
Unsubscribe:
://tkintertoy.readthedocs.io/en/latest/
Includes a reference and tutorial.
Download: https://pypi.org/project/tkintertoy/
Enjoy,
Mike Callahan
https://www.github.com/mcalla314/tkintertoy/;>Tkintertoy
1.1.0 - A light-weight package for creating simple GUIs built on
Tkinter and Ttk. (3-May-19)
--
ht
Change by Mike Auty :
--
nosy: +ikelos
___
Python tracker
<https://bugs.python.org/issue11588>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Mike Davies :
I wish to create a list of pathlib.Paths by combining two lists of
pathlib.Paths. I use two for loops to make every combination.
However the output is not what one would expect (see no 'Program Files' is
visible in the output).
## INPUT:
pa
s included with the book.
You can read more about it here if you are interested:
https://www.blog.pythonlibrary.org/2019/01/14/creating-gui-applications-with-wxpython-kickstarter/
Feel free to ask me questions about it too.
Thanks,
Mike
--
https://mail.python.org/mailman/listinfo/python-list
Mike Pagel added the comment:
Dear developers on the nosy list: Would it be possible that someone does a
quick review of my related fix in https://github.com/python/cpython/pull/10696?
It is extremely simple and has minimal side effects, but would relieve us from
getting this annoying error
Change by mike bayer :
--
nosy: +zzzeek
___
Python tracker
<https://bugs.python.org/issue35398>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Mike Pagel :
--
nosy: +mpagel
___
Python tracker
<https://bugs.python.org/issue35148>
___
___
Python-bugs-list mailing list
Unsubscribe:
Same here. Debugging in Python is annoying, I like to step through my code line
by line, it's impossible to do it with object-oriented programming language.
Also, there's no good REPL IDE.
Spyder barely works with some basic features. PyCharm, the most popular, takes
too long to start, and you
Mike Frysinger added the comment:
that's highlighting the SemLock._make_name func which doesn't have retry logic
in it. did you mean to highlight SemLock.__init__ which has a retry loop that
looks similar to the C code ?
https://github.com/python/cpython/blob
Mike Frysinger added the comment:
it does seem like the patch was never applied to any python 3 branch :/
--
___
Python tracker
<https://bugs.python.org/issue24
Mike Gleen added the comment:
Thanks for the quick response. I would be happy to write a pull request for
the doc change. I've never done this before so it'll take a little while to
get my head around the process, but the "Helping with Documentation"
chapter seems good.
Mike
On
Mike Gleen added the comment:
Sorry for the omission. This refers to datetime.datetime.strptime. The
documentation I referenced is: https://docs.python.org/3/library/datetime.html;
I did not test 2.7.
--
___
Python tracker
<ht
New submission from Mike Gleen :
strptime correctly parses single digit day-of-month values (at least in the
case of "%d %b %Y") which is the behavior I want. However, the documentation
seems to say that the field must be two digits with a leading zero if
necessary.
Mike Thompson added the comment:
I am a teacher, and this feature would really help me teach Python to my
students. Especially when I am teaching the course remotely.
--
nosy: +mthompsonwhs
___
Python tracker
<https://bugs.python.org/issue17
Yes, I forgot that strings are immutable. I can't change anything in the
string. Silly me!
Thank you very much, I appreciate it. I guess sometimes it just take an
outsider to take you outside the box. And all is answered. :)
From: Python-list on behalf
of Mark
Yes, I forgot that strings are immutable. I can't change anything in the
string. Silly me!
Thank you very much, I appreciate it. I guess sometimes it just take an
outsider to take you outside the box. And all is answered. :)
From: Python-list on behalf
of
On Fri, Jun 01, 2018 at 08:02:27AM -0700, Mike McClain wrote:
> On Thu, May 31, 2018 at 07:44:35PM -0700, Mike McClain wrote:
>
> > Is there a way in a script to know which version of python is being
> > run so I can write:
> > If (version == 2.7):
> >
On Thu, May 31, 2018 at 07:44:35PM -0700, Mike McClain wrote:
> Is there a way in a script to know which version of python is being
> run so I can write:
> If (version == 2.7):
> do it this way
> elsif (version == 3.2):
> do it another way
>
Thanks fo
On Thu, May 31, 2018 at 11:00:13PM -0400, Terry Reedy wrote:
> On 5/31/2018 10:26 PM, Mike McClain wrote:
> > I'm having understanding the use if the ellipsis.
> >I keep reading that it is used in slices
>
> By numpy for numpy multidimensional arrays, which have their own
of the errors were because I had used 'print' without parens
which 2.7 liked but 3.2 doesn't.
Is there a way in a script to know which version of python is being
run so I can write:
If (version == 2.7):
do it this way
elsif (version == 3.2):
do it another way
Thanks,
Mike
--
I Don't
error' but still doesn't give me
anything usable.
Is the ellipsis really useable in anything other than documentation or
does it actually have a function in python?
If the latter would someone please provide an example showing how it
is used?
Thanks,
Mike
--
I Don't care how little your country
To the many who responded, many thanks.
I,too, found Nick Coghlan's answer iluminating.
Mike
--
There are always gossips everywhere you go and few of them
limit themselves to veracity when what they consider a good
story is available to keep their audience entertained.
- MM
--
https
In their discussion of 'List replication operator'
Steven D'Aprano and Ben Finney used these '_' and '__'.
Steve said, "[[] for _ in range(5)]".
Ben said, "[ [] for __ in range(5) ]".
These aren't listed separately in the index, where might I find
written discussion of
On Mon, May 21, 2018 at 09:11:02AM +0200, dieter wrote:
< lots if good info snipped >
Hi dieter,
I'm still working my way through the info you posted
and making sense of it (mostly)
but didn't want to wait any longer to say 'Thanks.'
Thanks,
Mike
--
Even duct tape can't fix
On Sat, May 19, 2018 at 07:22:28AM +, Steven D'Aprano wrote:
> On Fri, 18 May 2018 18:31:16 -0700, Mike McClain wrote:
>
> I *think* you are describing something like this:
Real close!
> def foo(x):
> return x + 1
>
> def bar(arg):
> a = baz(arg) # do some
On Sat, May 19, 2018 at 08:22:59AM +0200, dieter wrote:
> Mike McClain <mike.junk...@att.net> writes:
>
> An "object", in general, is something that can have attributes
> (holding the object state) and methods (defining often operations on
> the object state
?
Thanks again,
Mike
--
"Keep active but don't be afraid to occasionally indulge."
- Jeralean Talley, America's oldest living woman
--
https://mail.python.org/mailman/listinfo/python-list
f them for each.
>
Let's be fair and make that accolades.
We stand on their shoulders.
I like telling a computer what to do.
Don't you?
Enjoy,
Mike
--
Once you can accept the universe as matter expanding into nothing
that is something, wearing stripes with plaid comes easy.
- Albert Einstein
--
https://mail.python.org/mailman/listinfo/python-list
would do multiple symbols in a loop which you enter with an open
> urllib object, rather than opening a new one for each symbol inside
> the loop.
At the moment I can't see how to do that but will figure it out.
Thanks for the pointer.
Mike
--
"There are three kinds of men. The ones who
For Friedrich's, Peter's and the many other responses, many thanks.
I will get a handle on python eventually and the many teachers on this
list are making that easier.
Mike
--
"There are three kinds of men. The ones who learn by reading. The
few who learn by observation. The rest of them
get
def getAquote(symbol):
url = 'https://api.iextrading.com/1.0/stock/()/quote'.format(symbol)
reply = module.get(url)
return my_parse(reply)
Thanks,
Mike
--
Men occasionally stumble over the truth, but most of them pick
themselves up and hurry off as if nothing ever happened
On Sun, May 13, 2018 at 07:10:11PM -0400, Richard Damon wrote:
> On 5/13/18 4:02 PM, Mike McClain wrote:
> > I'm new to Python and OOP.
> > Python en 2.7.14 Documentation The Python Language Reference
> > 3. Data model
> > 3.1. Objects, values and types
> > An o
zip(obj[0::2],obj[1::2]) )
>>> type (obj)
>>> obj
{'a': '1', 'b': '2'}
At what level does my understanding break down?
Thanks,
Mike
--
One reason experience is such a good teacher
is that she doesn't allow dropouts.
--
https://mail.python.org/mailman/listinfo/python-list
Mike Edmunds <medmu...@gmail.com> added the comment:
Here's a workaround for Python 2.7:
```
class HeaderBugWorkaround(email.header.Header):
def encode(self, splitchars=' ', **kwargs): # only split on spaces, rather
than splitchars=';, '
return email.header.Header.encod
mike bayer <mike...@zzzcomputing.com> added the comment:
for those watching this would be the findall() case which is consistent between
pythons:
import re
for reg in [
'VARCHAR(30) COLLATE "en_US"',
'VARCHAR(30)'
]:
print(re.findall(r'(?: COLLATE.*)?$', reg
mike bayer <mike...@zzzcomputing.com> added the comment:
for now the quickest solution is to add "count=1" so that it only replaces once.
--
___
Python tracker <rep...@bugs.python.org>
<https://b
mike bayer <mike...@zzzcomputing.com> added the comment:
also, removing the "?" is not an option for me. I need the brackets to be
placed prior to the "COLLATE" subsection, but unconditionally even if the
"COLLATE" section is not present. Looking at
mike bayer <mike...@zzzcomputing.com> added the comment:
can you point me to the documentation?
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
mike bayer <mike...@zzzcomputing.com> added the comment:
correction, that's fedora 26, not 27
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
New submission from mike bayer <mike...@zzzcomputing.com>:
demo:
import re
inner = 'VARCHAR(30) COLLATE "en_US"'
result = re.sub(
r'((?: COLLATE.*)?)$',
r'FOO\1',
inner
)
print(inner)
print(result)
in all Python versions prior to 3.7:
VARCHAR(30
New submission from Mike Schmidt <mikeschm...@schmidtgracen.com>:
I am attempting to install python 3.6.4 to my home directory on a linux cluster
where I do not have root access. A warning, "linux/random.h present but cannot
be compiled", was emitted from the config process r
Mike Lewis <mike.le...@mavenwireless.com> added the comment:
Example of the output:
$ ./timeout.py
Subprocess with idle stdout at timeout: start at 1518081130.44
Timed out at: 1518081135.45, 5 seconds
Generating stdout from subprocess: start at 1518081135.45
Timed out at: 1518081136
New submission from Mike Lewis <mike.le...@mavenwireless.com>:
When using a timeout with check_output(), the call does not terminate unless
the child process generates output after the timeout. Looking at the code, it
appears there is a second call to communicate() after the timeo
-with-python
Thanks,
Mike
--
https://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
Hi,
What happened to the moderators? I have always liked this forum, but there's so
much spam now. Is there a way to become a moderator so this can be cleaned up?
Thanks,
Mike
--
https://mail.python.org/mailman/listinfo/python-list
Mike Nerone <m...@nerone.org> added the comment:
This was fixed in Python 3.6. See https://github.com/python/asyncio/issues/429
--
nosy: +Manganeez
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
New submission from Mike Gilbert <floppymas...@gmail.com>:
The nis extension module fails to build against glibc-2.26 with the
"obsolete-rpc" option disabled.
Downstream bug report: https://bugs.gentoo.org/631488
glibc-2.26 release notes:
https://sourceware.org/ml/libc-alpha/
What do you mean when you say it is not hitting? Is there a specific error,
or are you saying it simply isn't posting to your site?
Mike
On Mon, Oct 30, 2017, 8:21 AM sourav voip <voipdev.sou...@gmail.com> wrote:
> Hi All,
>
> I'm trying to hit request.post with condition using i
Mike Frysinger <vap...@users.sourceforge.net> added the comment:
specifically, the docs for these classes:
https://docs.python.org/2/library/urlparse.html#results-of-urlparse-and-urlsplit
https://docs.python.org/3/library/urllib.parse.html#urlparse-result-object
> The result obj
Change by Mike Gilbert <floppymas...@gmail.com>:
--
title: configure includes user CFLAGS testing detecting pthreads support ->
configure includes user CFLAGS when detecting pthreads support
___
Python tracker <rep...@bugs.python
Mike Gilbert <floppymas...@gmail.com> added the comment:
To resolve this, I suggest clearing CFLAGS/CXXFLAGS before performing the
ptheads check, and restoring them afterward.
--
___
Python tracker <rep...@bugs.python.org>
<https://
Change by Mike Gilbert <floppymas...@gmail.com>:
Added file: https://bugs.python.org/file47215/configure.log
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
Change by Mike Gilbert <floppymas...@gmail.com>:
Added file: https://bugs.python.org/file47216/build.log
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
New submission from Mike Gilbert <floppymas...@gmail.com>:
When testing for ptheads support in the compiler, configure includes the CFLAGS
value from the environment.
If CFLAGS contains -pthread, or an option which implies -pthread (like
-fopenmp), this will cause configure to not i
Changes by Mike Hoy <veo...@gmail.com>:
--
nosy: +vexoxev
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue9842>
___
___
Python
Mike McDonnal added the comment:
OS Version - Windows 7 Pro
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31483>
___
___
Pyth
New submission from Mike McDonnal:
On my version of python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC
v.1900 64 bit (AMD64)]
As well as on 3.6.2 for some other users I have spoken to there seams to be an
issue with the event for pressing the mouse button down.
The event or do
Mike Thomas added the comment:
Can this issue be reopened? As Jérémie stated, curl uses this format and
outputs cookie files using the #HttpOnly_ prefix. I also found at least one
project that is working around lack of this support:
https://code.google.com/archive/p/git-repo/
https
Changes by Mike Hoy <veo...@gmail.com>:
--
nosy: +vexoxev
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31153>
___
___
Python
mike bayer added the comment:
> Here is a pure Python PoC patch that allows unbounded Queue and LifoQueue to
> have reentrant put().
per http://bugs.python.org/msg275377 guido does not want an RLock here.
--
___
Python tracke
Call for Contributions
--
There are only 2 days left to submit a talk, tutorial, or poster for
EuroSciPy 2017 (https://www.euroscipy.org/2017/).
Don't miss the change to talk about what you do with Python in science.
Submit your proposal today:
PyCon.DE 2017 - Early Bird Deadline July 2, 2017
There are only 2 days left to by a ticket at the earl bird rate for PyCon.DE.
https://de.pycon.org/#tickets
About PyCon.DE
--
The next PyCon.DE will be held from 25-27th October 2017 at
201 - 300 of 3413 matches
Mail list logo