Re: Unable to install or operate PIP on Windows 10

2020-03-29 Thread Mike Dewhirst
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

Re: How to uninstall Python3.7 in Windows using cmd ?

2020-03-29 Thread Mike Dewhirst
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

Re: How to uninstall Python3.7 in Windows using cmd ?

2020-03-28 Thread Mike Dewhirst
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,

Re: Python question

2020-03-12 Thread Mike Dewhirst
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

[issue39857] subprocess.run: add an extra_env kwarg to complement existing env kwarg

2020-03-10 Thread Mike Frysinger
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

RE: Python download for windows

2020-03-09 Thread Mike Dewhirst
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

[issue39857] subprocess.run: add an extra_env kwarg to complement existing env kwarg

2020-03-04 Thread Mike Frysinger
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

[issue3548] subprocess.pipe function

2020-03-04 Thread Mike Frysinger
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

[issue25960] Popen.wait() hangs when called from a signal handler when os.waitpid() does not

2020-02-24 Thread Mike Frysinger
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

[issue25960] Popen.wait() hangs when called from a signal handler when os.waitpid() does not

2020-02-24 Thread Mike Frysinger
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

[issue25960] Popen.wait() hangs when called from a signal handler when os.waitpid() does not

2020-02-24 Thread Mike Frysinger
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

Python 101 2nd Edition book

2020-02-18 Thread Mike Driscoll
-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

[issue39580] Check for COMMAND_LINE_INSTALL variable in Python_Documentation.pkg

2020-02-07 Thread Mike Solin
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

Problems with Python install on Windows 10

2020-01-13 Thread Mike Weaver
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

[issue38812] Comparing datetime.time objects incorrect for TZ aware and unaware

2019-11-17 Thread Mike
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 > > __

[issue38812] Comparing datetime.time objects incorrect for TZ aware and unaware

2019-11-15 Thread Mike
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

Re: Logistic Regression Define X and Y for Prediction

2019-11-14 Thread Mike C
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

Logistic Regression Define X and Y for Prediction

2019-11-12 Thread Mike C
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

[issue38749] sqlite3 driver fails on four byte unicode strings coming from JSON_EXTRACT

2019-11-08 Thread mike bayer
mike bayer added the comment: silly me thinking python devs had better access to SQLite devs :) -- ___ Python tracker <https://bugs.python.org/issue38

[issue38749] sqlite3 driver fails on four byte unicode strings coming from JSON_EXTRACT

2019-11-08 Thread mike bayer
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

[issue38749] sqlite3 driver fails on four byte unicode strings coming from JSON_EXTRACT

2019-11-08 Thread mike bayer
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

[issue38746] HTML5 named character references not consistent

2019-11-08 Thread Mike Raider
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

[issue38587] __set_name__ missing from descriptor howto documentation

2019-10-24 Thread Mike Driscoll
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

[issue38550] hashlib missing algorithms

2019-10-21 Thread Mike Gilbert
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

[issue38550] hashlib missing algorithms

2019-10-21 Thread Mike Gilbert
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

[issue38550] hashlib missing algorithms

2019-10-21 Thread Mike Gilbert
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

[issue38550] hashlib missing algorithms

2019-10-21 Thread Mike Gilbert
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

[issue38550] hashlib missing algorithms

2019-10-21 Thread Mike Gilbert
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

[issue36054] Way to detect CPU count inside docker container

2019-10-01 Thread Mike
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

[issue37567] Python compiles empty bytecode files when out of virtual memory on windows

2019-07-11 Thread Mike Lovelace
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

[issue37533] Possible Unicode handling issue in python.

2019-07-09 Thread mike lojkovic
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

[issue34903] strptime %d handling of single digit day of month

2019-06-17 Thread Mike Gleen
Change by Mike Gleen : -- pull_requests: +13990 pull_request: https://github.com/python/cpython/pull/14149 ___ Python tracker <https://bugs.python.org/issue34

[issue37010] Review performance of inspect.getfullargspec

2019-05-22 Thread mike bayer
mike bayer added the comment: thanks for creating this issue Nick! -- nosy: +zzzeek ___ Python tracker <https://bugs.python.org/issue37010> ___ ___ Python-bug

[issue36751] Changes in the inspect module for PEP 570

2019-05-16 Thread mike bayer
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

[issue36751] Changes in the inspect module for PEP 570

2019-05-16 Thread mike bayer
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

[issue36751] Changes in the inspect module for PEP 570

2019-05-16 Thread mike bayer
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.

[issue36751] Changes in the inspect module for PEP 570

2019-05-13 Thread mike bayer
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

[issue36751] Changes in the inspect module for PEP 570

2019-05-13 Thread mike bayer
Change by mike bayer : -- nosy: +zzzeek ___ Python tracker <https://bugs.python.org/issue36751> ___ ___ Python-bugs-list mailing list Unsubscribe:

ANN: The release of Tkintertoy 1.1.0

2019-05-06 Thread Mike Callahan
://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

[issue11588] Add "necessarily inclusive" groups to argparse

2019-04-22 Thread Mike Auty
Change by Mike Auty : -- nosy: +ikelos ___ Python tracker <https://bugs.python.org/issue11588> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36334] pathlib.Path unexpected (wrong) behaviour when combining paths in a for loop

2019-03-17 Thread Mike Davies
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

ANN: Creating GUI Applications with wxPython

2019-01-14 Thread Mike Driscoll
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

[issue35148] cannot activate a venv environment on a Swiss German windows

2018-12-19 Thread Mike Pagel
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

[issue35398] SQLite incorrect row count for UPDATE

2018-12-03 Thread mike bayer
Change by mike bayer : -- nosy: +zzzeek ___ Python tracker <https://bugs.python.org/issue35398> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35148] cannot activate a venv environment on a Swiss German windows

2018-11-25 Thread Mike Pagel
Change by Mike Pagel : -- nosy: +mpagel ___ Python tracker <https://bugs.python.org/issue35148> ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Overwhelmed by the Simplicity of Python. Any Recommendation?

2018-11-04 Thread Mike C
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

[issue24303] OSError 17 due to _multiprocessing/semaphore.c assuming a one-to-one Pid -> process mapping.

2018-10-31 Thread Mike Frysinger
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

[issue24303] OSError 17 due to _multiprocessing/semaphore.c assuming a one-to-one Pid -> process mapping.

2018-10-30 Thread Mike Frysinger
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

[issue34903] strptime %d handling of single digit day of month

2018-10-06 Thread Mike Gleen
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

[issue34903] strptime %d handling of single digit day of month

2018-10-05 Thread Mike Gleen
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

[issue34903] strptime %d handling of single digit day of month

2018-10-05 Thread Mike Gleen
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.

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2018-09-09 Thread Mike Thompson
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

Re: Why list.reverse() modifies the list, but name.replace() does not

2018-09-05 Thread Mike C
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

Re: Why list.reverse() modifies the list, but name.replace() does not modify the string?

2018-09-03 Thread Mike C
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

Re: version

2018-06-01 Thread Mike McClain
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): > >

Re: version

2018-06-01 Thread Mike McClain
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

Re: ... (ellipsis)

2018-06-01 Thread Mike McClain
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

version

2018-05-31 Thread Mike McClain
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

... (ellipsis)

2018-05-31 Thread Mike McClain
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

Re: '_' and '__'

2018-05-29 Thread Mike McClain
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

'_' and '__'

2018-05-26 Thread Mike McClain
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

Re: decorat{or,ion}

2018-05-23 Thread Mike McClain
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

Re: decorat{or,ion}

2018-05-19 Thread Mike McClain
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

Re: decorat{or,ion}

2018-05-19 Thread Mike McClain
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

decorat{or,ion}

2018-05-18 Thread Mike McClain
? 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

Re: object types, mutable or not?

2018-05-17 Thread Mike McClain
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

Re: stock quotes off the web, py style

2018-05-16 Thread Mike McClain
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

Re: stock quotes off the web, py style

2018-05-16 Thread Mike McClain
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

stock quotes off the web, py style

2018-05-15 Thread Mike McClain
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

Re: object types, mutable or not?

2018-05-15 Thread Mike McClain
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

object types, mutable or not?

2018-05-13 Thread Mike McClain
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

[issue25257] In subject line email library inserts unwanted space after a thousands comma in a number

2018-03-27 Thread Mike Edmunds
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

[issue32998] regular expression regression in python 3.7

2018-03-05 Thread mike bayer
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

[issue32998] regular expression regression in python 3.7

2018-03-05 Thread mike bayer
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

[issue32998] regular expression regression in python 3.7

2018-03-05 Thread mike bayer
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

[issue32998] regular expression regression in python 3.7

2018-03-05 Thread mike bayer
mike bayer <mike...@zzzcomputing.com> added the comment: can you point me to the documentation? -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32998] regular expression regression in python 3.7

2018-03-05 Thread mike bayer
mike bayer <mike...@zzzcomputing.com> added the comment: correction, that's fedora 26, not 27 -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32998] regular expression regression in python 3.7

2018-03-05 Thread mike bayer
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

[issue32976] linux/random.h present but cannot be compiled

2018-03-01 Thread Mike Schmidt
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

[issue32795] subprocess.check_output() with timeout does not exit if child process does not generate output after timeout

2018-02-08 Thread Mike Lewis
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

[issue32795] subprocess.check_output() with timeout does not exit if child process does not generate output after timeout

2018-02-08 Thread Mike Lewis
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

ANN: ReportLab Book Kickstarter

2018-01-31 Thread Mike Driscoll
-with-python Thanks, Mike -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/

Where are the moderators?

2018-01-18 Thread Mike Driscoll
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

[issue25394] CoroWrapper breaks gen.throw

2017-11-30 Thread Mike Nerone
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

[issue32007] nis module fails to build against glibc-2.26

2017-11-11 Thread Mike Gilbert
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/

Re: [Tutor] request.post in If condition

2017-10-30 Thread Mike Miller
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

[issue31822] Document that urllib.parse.{Defrag, Split, Parse}Result are namedtuples

2017-10-19 Thread Mike Frysinger
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

[issue31769] configure includes user CFLAGS when detecting pthreads support

2017-10-11 Thread Mike Gilbert
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

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Mike Gilbert
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://

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Mike Gilbert
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

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Mike Gilbert
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

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Mike Gilbert
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

[issue9842] Document ... used in recursive repr of containers

2017-09-15 Thread Mike Hoy
Changes by Mike Hoy <veo...@gmail.com>: -- nosy: +vexoxev ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue9842> ___ ___ Python

[issue31483] ButtonPress event not firing until button release Python 3.6.1

2017-09-15 Thread Mike McDonnal
Mike McDonnal added the comment: OS Version - Windows 7 Pro -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31483> ___ ___ Pyth

[issue31483] ButtonPress event not firing until button release Python 3.6.1

2017-09-15 Thread Mike McDonnal
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

[issue2190] MozillaCookieJar ignore HttpOnly cookies

2017-08-27 Thread Mike Thomas
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

[issue31153] Update docstrings of itertools functions

2017-08-27 Thread Mike Hoy
Changes by Mike Hoy <veo...@gmail.com>: -- nosy: +vexoxev ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31153> ___ ___ Python

[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2017-08-18 Thread mike bayer
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

EuroSciPy 2017 - Call for Contributions extended to July 2

2017-06-30 Thread Mike Müller
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

2017-06-30 Thread Mike Müller
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

<    1   2   3   4   5   6   7   8   9   10   >