[issue41085] Array regression test fails

2020-06-22 Thread William Pickard
New submission from William Pickard : Here's the verbose stack trace of the failing test: == FAIL: test_index (test.test_array.LargeArrayTest) -- Traceback

[issue25095] test_httpservers hangs since Python 3.5

2020-05-23 Thread William Pickard
William Pickard added the comment: I've made the changes you've requested. -- ___ Python tracker <https://bugs.python.org/issue25095> ___ ___ Python-bugs-list m

[issue25095] test_httpservers hangs since Python 3.5

2020-05-22 Thread William Pickard
William Pickard added the comment: I'll get to it Saturday. -- ___ Python tracker <https://bugs.python.org/issue25095> ___ ___ Python-bugs-list mailin

[issue40243] Unicode 3.2 numeric uses decimal_changed instead of numeric_changed

2020-04-10 Thread William Meehan
Change by William Meehan : -- keywords: +patch pull_requests: +18812 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19457 ___ Python tracker <https://bugs.python.org/issu

[issue40243] Unicode 3.2 numeric uses decimal_changed instead of numeric_changed

2020-04-09 Thread William Meehan
Change by William Meehan : -- components: Unicode nosy: ezio.melotti, vstinner, wmeehan priority: normal severity: normal status: open title: Unicode 3.2 numeric uses decimal_changed instead of numeric_changed type: behavior versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7

[issue18819] tarfile fills devmajor and devminor fields even for non-devices

2020-02-01 Thread William Chargin
William Chargin added the comment: My pleasure. Is there anything else that you need from me to close this out? It looks like the PR is approved and in an “awaiting merge” state, but I don’t have access to merge it. -- ___ Python tracker <ht

[issue29435] Allow to pass fileobj to is_tarfile

2020-01-22 Thread William Woodruff
William Woodruff added the comment: Thanks to you to! -- ___ Python tracker <https://bugs.python.org/issue29435> ___ ___ Python-bugs-list mailing list Unsub

[issue39389] gzip metadata fails to reflect compresslevel

2020-01-22 Thread William Chargin
William Chargin added the comment: My pleasure; thanks for the triage and review! -- ___ Python tracker <https://bugs.python.org/issue39389> ___ ___ Python-bug

[issue29435] Allow to pass fileobj to is_tarfile

2020-01-20 Thread William Woodruff
Change by William Woodruff : -- keywords: +patch pull_requests: +17482 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18090 ___ Python tracker <https://bugs.python.org/issu

[issue18819] tarfile fills devmajor and devminor fields even for non-devices

2020-01-20 Thread William Chargin
William Chargin added the comment: I've just independently run into this and sent a patch as a pull request. Happily, once this is fixed, the output of `tarfile` is bit-for-bit compatible with the output of GNU `tar(1)`. PR: <https://github.com/python/cpython/pull/18080> -

[issue18819] tarfile fills devmajor and devminor fields even for non-devices

2020-01-20 Thread William Chargin
Change by William Chargin : -- versions: +Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue18

[issue18819] tarfile fills devmajor and devminor fields even for non-devices

2020-01-20 Thread William Chargin
Change by William Chargin : -- pull_requests: +17472 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18080 ___ Python tracker <https://bugs.python.org/issu

[issue39389] gzip metadata fails to reflect compresslevel

2020-01-20 Thread William Chargin
William Chargin added the comment: PR URL, for reference: <https://github.com/python/cpython/pull/18077> -- ___ Python tracker <https://bugs.python.org/i

[issue39389] gzip metadata fails to reflect compresslevel

2020-01-20 Thread William Chargin
William Chargin added the comment: Sure, PR sent (pull_request17470). -- ___ Python tracker <https://bugs.python.org/issue39389> ___ ___ Python-bugs-list mailin

[issue39389] gzip metadata fails to reflect compresslevel

2020-01-20 Thread William Chargin
Change by William Chargin : -- keywords: +patch pull_requests: +17470 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/18077 ___ Python tracker <https://bugs.python.org/issu

[issue39389] gzip metadata fails to reflect compresslevel

2020-01-19 Thread William Chargin
William Chargin added the comment: (The commit reference above was meant to be git558f07891170, not a Mercurial reference. Pardon the churn; I'm new here. :-) ) -- ___ Python tracker <https://bugs.python.org/issue39

[issue39389] gzip metadata fails to reflect compresslevel

2020-01-19 Thread William Chargin
Change by William Chargin : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue39389> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue39389] gzip metadata fails to reflect compresslevel

2020-01-19 Thread William Chargin
New submission from William Chargin : The `gzip` module properly uses the user-specified compression level to control the underlying zlib stream compression level, but always writes metadata that indicates that the maximum compression level was used. Repro: ``` import gzip blob = b"The

[issue29435] Allow to pass fileobj to is_tarfile

2020-01-17 Thread William Woodruff
William Woodruff added the comment: I'll take a stab at this. It looks like `Tarfile.open` takes an optional keyword that should make this straightforward. -- nosy: +yossarian ___ Python tracker <https://bugs.python.org/issue29

[no subject]

2020-01-04 Thread William Johnsson
Hello! My name is William and im 14 years old and live in sweden. Im pretty new to programing in python and i need some help with code, (That’s why i’m here). But i couldn’t really find what i was searching for on the internet. I’m trying to write code that can check only the first line

[issue26227] Windows: socket.gethostbyaddr(name) fails for non-ASCII hostname

2019-12-14 Thread William Dias
William Dias added the comment: Shouldn't this issue be solved for Python 3.7.5? Or do I have to manually apply the patch? I have a windows 8.1 x64 PC whose hostname contains special characters. When creating a socket, the gethostbyaddr() method raises a UnicodeDecodeError: 'utf-8' codec

[issue38552] Colored Prompt broken in REPL in Windows in 3.8

2019-10-21 Thread William Minchin
New submission from William Minchin : I have a Python startup file that colorizes my prompt. This worked on Python 3.7, but breaks on Python 3.8. I'm on Windows using Powershell 6.2.3, but `cmd` does the same. Maybe related, but the colorization also failed on Python 3.7 if a virtual

[issue37381] Script using ProactorEventLoop does not exit cleanly when subprocesses are spawned.

2019-06-23 Thread William D. Jones
Change by William D. Jones : -- title: Script using ProactorEventLoop does not exit cleanly on Windows with multiple subprocesses -> Script using ProactorEventLoop does not exit cleanly when subprocesses are spawned. ___ Python tracker <

[issue37381] Script using ProactorEventLoop does not exit cleanly on Windows with multiple subprocesses

2019-06-23 Thread William D. Jones
William D. Jones added the comment: Update: It turns out multiple spawned subprocesses are NOT required. If I replace "(short_fut, _) = await spawn()" with "short_fut = asyncio.ensure_future(asyncio.sleep(4))", t

[issue37381] Script using ProactorEventLoop does not exit cleanly on Windows with multiple subprocesses

2019-06-23 Thread William D. Jones
New submission from William D. Jones : On Windows 7, when using ProactorEventLoop, when asyncio.subprocess.terminate is called on the last subprocess when multiple subprocesses are spawned*, the last subprocess will never exit, and the Python interpreter will never exit. Spawning

Re: [Tutor] Questions

2019-04-08 Thread William Ray Wing via Python-list
-Q filings of individual > companies by putting in a ticker (preferably in excel, but an be done > elsewhere). Trying to figure out how to even start setting this up. > > Thank you! > > On Sun, Apr 7, 2019 at 8:57 PM William Ray Wing <mailto:w...@mac.com>> wrote: >

Re: Levenberg-Marquardt non-linear least-squares fitting in Python [follow-on]

2019-03-28 Thread William Ray Wing via Python-list
Below I’ve included the code I ran, reasonably (I think) commented. Note the reference to the example. The data actually came from a pandas data frame that was in turn filled from a 100 MB data file that included lots of other data not needed for this, which was a curve fit to a calibration

Re: Levenberg-Marquardt non-linear least-squares fitting in Python

2019-03-28 Thread William Ray Wing via Python-list
> On Mar 28, 2019, at 7:54 AM, Madhavan Bomidi wrote: > > Hi, > > I have x and y variables data arrays. These two variables are assumed to be > related as y = A * exp(x/B). Now, I wanted to use Levenberg-Marquardt > non-linear least-squares fitting to find A and B for the best fit of the >

Re: the python name

2019-01-04 Thread William Ray Wing via Python-list
> On Jan 4, 2019, at 11:34 AM, Avi Gross wrote: > > [BYTE] > As I joked in an earlier message, I remember using a version of FORTRAN > called WATFOR. Yes, there was a WATFIV. > > Yah - WATFOR was Waterloo FORTRAN, an interpreted FORTRAN that was used a lot in intro classes. No matter

Re: the python name

2019-01-04 Thread William Ray Wing via Python-list
On 3/01/19 2:03 PM, Avi Gross wrote: > Challenge: Can we name any computer language whose name really would suggest > it was a computer language? > I think the name is the least important aspect of a computer language. I’d like to propose that classic FORTRAN (FORmulaTRANslator) came/comes

[issue5614] Malloc errors in test_io

2018-10-09 Thread William Schwartz
William Schwartz added the comment: In Jupyter Notebook, I tried to pass a large amount of data (about 2.3 GB) to Statsmodels's KDEUnivariate.fit (https://www.statsmodels.org/dev/generated/statsmodels.nonparametric.kde.KDEUnivariate.fit.html#statsmodels.nonparametric.kde.KDEUnivariate.fit

Re: Creating Win .exe file from *.py on Linux

2018-10-02 Thread William Ray Wing via Python-list
> On Oct 2, 2018, at 3:03 PM, John Doe wrote: > > Hello World > > Is it possible to create on Linux win .exe file from *.py file? > -- > https://mail.python.org/mailman/listinfo/python-list As was pointed out here a day or so ago, the answer is yes, but it is a two step process. First

Re: How to change '\\' to '\'

2018-10-01 Thread William Ray Wing via Python-list
> On Oct 1, 2018, at 10:17 PM, Jach Fong wrote: > > Thanks for your info about how Windows supports the forward slash. > > I don't quit sure what is the meaning of "top posting" in your mail. > If its meaning (forgive me if I was wrong) is where the reply was put > in mail, I have reason of

[issue34862] No longer builds on OpenBSD due to missing definition of convert_sched_param

2018-10-01 Thread William Orr
Change by William Orr : -- keywords: +patch pull_requests: +9050 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34862> ___ ___ Py

[issue34862] No longer builds on OpenBSD due to missing definition of convert_sched_param

2018-10-01 Thread William Orr
New submission from William Orr : [ worr on locke ] ( cpython ) % make -j15 [0] gcc -pthread -fno-strict-aliasing -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -pipe -std=c99 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers

[issue25095] test_httpservers hangs since Python 3.5

2018-09-25 Thread William Pickard
Change by William Pickard : -- pull_requests: +8966 ___ Python tracker <https://bugs.python.org/issue25095> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26000] Crash in Tokenizer - Heap-use-after-free

2018-09-23 Thread William Bowling
William Bowling added the comment: > Is this still reproducible? On master (Python 3.8) with a debug build it > throws a SyntaxError. I don't have Python 3.5 installed to check this though Looks like it's fixed in master and 3.6.6 but still happening in

[issue34642] time.ctime() uses %3d instead of %.2d to format.

2018-09-11 Thread William Chaseling
William Chaseling added the comment: It's easy to get around using .replace(' ', ' '), but it's still a bit annoying. -- ___ Python tracker <https://bugs.python.org/issue34

[issue34642] time.ctime() uses %3d instead of %.2d to format.

2018-09-11 Thread William Chaseling
New submission from William Chaseling : time.ctime() returns _asctime from a C module. _asctime returns a PyUnicode_FromFormat() result using "%s %s%3d %.2d:%.2d:%.2d %d" as the string formatter. This works: 'Wed Sep 12 22:30:00 2018' Except when day <10, because it uses %3d in

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-11 Thread William Grzybowski
Change by William Grzybowski : -- pull_requests: +8608 ___ Python tracker <https://bugs.python.org/issue34604> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-10 Thread William Grzybowski
William Grzybowski added the comment: I can do it if you feel the need. Can this same issue be used? Will the new PR require another NEWS entry? -- ___ Python tracker <https://bugs.python.org/issue34

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-08 Thread William Grzybowski
William Grzybowski added the comment: What is the policy to amend a new commit to master for %R? Create a new PR? Wont that cause problem with NEWS entry? -- ___ Python tracker <https://bugs.python.org/issue34

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-07 Thread William Grzybowski
Change by William Grzybowski : -- pull_requests: +8559 ___ Python tracker <https://bugs.python.org/issue34604> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-07 Thread William Grzybowski
Change by William Grzybowski : -- pull_requests: +8558 ___ Python tracker <https://bugs.python.org/issue34604> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-07 Thread William Grzybowski
Change by William Grzybowski : -- keywords: +patch pull_requests: +8552 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34604> ___ _

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-07 Thread William Grzybowski
New submission from William Grzybowski : Issue was spotted by @vstinner while reviewing https://github.com/python/cpython/pull/7081 pwd.getpwnam and grp.getgrnam are susceptible to mojibake as they are using encoded bytes instead of unicode in the error message. -- components

[issue29620] unittest.TestCase.assertWarns raises RuntimeEror if sys.modules changes size

2018-08-20 Thread William Schwartz
William Schwartz added the comment: I am also running into this problem. I'm not 100%, but I'm pretty sure that looping over sys.modules and accessing __warningregistry__ on each module triggers one of my module's __getattr__ functions (PEP 562), which in turn uses setuptools entry points

[issue25095] test_httpservers hangs since Python 3.5

2018-08-01 Thread William Pickard
William Pickard added the comment: My computer was running BitDefender Total Security 2018 (At the time, currently running the 2019 edition) and MalwareBytes 3 Premium. BitDefender has both a built-in firewall and a web protection module while MalwareBytes has a web protection module

Re: Matplotlib 3D limitations, please recommend alternative

2018-07-04 Thread William Ray Wing via Python-list
> On Jul 4, 2018, at 5:53 PM, John Ladasky wrote: > > I'm a regular Matplotlib user. Normally, I graph functions. I just > attempted to graph an icosahedral surface using the plot_trisurf() methods of > Matplotlib's Axes3D. I have discovered that Matplotlib is basically > hard-wired for

[issue23548] TypeError in event loop finalizer, new in Python 3.4.3

2018-06-19 Thread William Woodall
William Woodall added the comment: Just an update to my previous post. We ran into this issue again, but only noticed later because we do not see this problem on Ubuntu Bionic with Python 3.6.5, but we did see it again when we tested later on Ubuntu Xenial with Python 3.5.1. See: https

Re: [pypy-dev] A quick question for you!

2018-06-19 Thread William ML Leslie
u only need to use gc.enable() if you have earlier run gc.disable(). -- William Leslie Notice: Likely much of this email is, by the nature of copyright, covered under copyright law. You absolutely MAY reproduce any part of it in accordance with the copyright law of the nation you are reading thi

Re: Scanner freakishness [was Re: Python list vs google group]

2018-06-16 Thread William Ray Wing
> On Jun 16, 2018, at 9:10 AM, Steven D'Aprano > wrote: > > On Sat, 16 Jun 2018 11:54:15 +1000, Chris Angelico wrote: > >> On Sat, Jun 16, 2018 at 11:00 AM, Jim Lee wrote: > >>> I once had a Mustek color scanner that came with a TWAIN driver. If >>> the room temperature was above 80

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-05-24 Thread William Scullin
William Scullin <wscul...@gmail.com> added the comment: Hi Kenneth: I can recreate this issue on Haswell, Skylake-X, and KNL running SLES 12, Clear Linux, and Centos 7.5. I've tried 18.1 and 18.2. It's still present across the board with Intel C/C++ 18.0.2.199. On the Centos 7.5.1804

[issue33625] Release GIL for grp.getgr{nam, gid} and pwd.getpw{nam, uid}

2018-05-24 Thread William Grzybowski
William Grzybowski <willia...@gmail.com> added the comment: I have updated the PR to used the re-entrant versions. Let me know what you guys think. Thanks! -- title: Disable GIL on getpwnam and getpwuid -> Release GIL for grp.getgr{nam,gid} and pwd.getp

[issue33625] Disable GIL on getpwnam and getpwuid

2018-05-23 Thread William Grzybowski
Change by William Grzybowski <willia...@gmail.com>: -- keywords: +patch pull_requests: +6711 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue33625] Disable GIL on getpwnam and getpwuid

2018-05-23 Thread William Grzybowski
New submission from William Grzybowski <willia...@gmail.com>: Hello, Currently the GIL is not disabled when calling pwd.getpwnam nor pwd.getpwuid. It could be the C library call may take some time for completion, especially when using third-party modules on the system (nss-ldap, nss

Re: please test the new PyPI (now in beta)

2018-03-30 Thread William Ray Wing
> On Mar 28, 2018, at 10:50 AM, sumana.hariharesw...@gmail.com wrote: > > [byte] > : I ask you the usual list of troubleshooting questions. What OS and browser > are you using, what plugins and particularly interesting preferences are you > using, and so on. (When I turn off JavaScript in

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-03-28 Thread William Scullin
New submission from William Scullin <wscul...@gmail.com>: When building Python 3.6.X and later with icc (18.0.0.128 or 18.0.1.163), there's an error building the _sha3 module with any optimization level other than -O0: building '_sha3' extension icc -pthread -fPIC -Wsign-compare -Wunrea

Re: please test the new PyPI (now in beta)

2018-03-28 Thread William Ray Wing
> On Mar 28, 2018, at 10:50 AM, sumana.hariharesw...@gmail.com wrote: > > [byte] > > People who literally don't see the list of ways to filter on the left-hand > side of https://pypi.org/search/ I do see the list of filters, but I only get it AFTER I’ve entered my first search term. I

[issue32928] _findvs failing on Windows 10 (Release build only)

2018-02-24 Thread William Pickard
William Pickard <lollol22...@gmail.com> added the comment: The powershell module that interacts with the API works if I don't supply "-All", supplying said option produces the same issue that is plagues me when _findvs.f

[issue32928] _findvs failing on Windows 10 (Release build only)

2018-02-24 Thread William Pickard
William Pickard <lollol22...@gmail.com> added the comment: Looks like something wierd about my computer as the powershell module that interacts with the API also has the issue with Windows reporting "File not found" for a 2nd instance (maybe Community edition of VS) -

[issue32928] _findvs failing on Windows 10 (Release build only)

2018-02-23 Thread William Pickard
William Pickard <lollol22...@gmail.com> added the comment: Use, when distutils calls findall in the module, it results in the OSError being thrown. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32928] _findvs failing on Windows 10 (Release build only)

2018-02-23 Thread William Pickard
New submission from William Pickard <lollol22...@gmail.com>: The distutils module _findvs is failing on my Windows 10 PRO machine with the following error: OSError: Error 80070002 Note: Building Python 3.6 in debug for some reason doesn't cause the error. -- components: Dis

[issue32423] The Windows SDK version 10.0.15063.0 was not found

2018-02-02 Thread William Woodall
William Woodall <wjww...@gmail.com> added the comment: I can confirm this bug using both VS 2015 and VS 2017 on Windows 10. The patch provided by isuruf works for me too. -- nosy: +wjwwood ___ Python tracker <rep...@bugs.python.or

RE: Trace back error just trying to run a simple import of requests

2018-02-01 Thread William Sewell
It is allright. I just cannot account for the sudden change. In my usual path everything worked fine. Now, I have to navigate to where the Python executable, even though I have added the path to the Windows path. Please close my case. Dr. William Sewell Direct Line: 385.428.5377 Toll Free

RE: Trace back error just trying to run a simple import of requests

2018-02-01 Thread William Sewell
@01D39B71.014E8850] Dr. William Sewell Direct Line: 385.428.5377 Toll Free: 877.435.7948 ext 5377 Course Instructor, IT WGU will be closed President's Day, February 19th. Mountain Time Office hours: Sun 3:00 PM - 8:00 PM, Mon 6:30 AM - 3:30 PM, Tue 9:30 AM - 6:30 PM, Wed 9:00 AM - 5:00 PM, Thu 6:30 AM

[issue25095] test_httpservers hangs since Python 3.5

2018-01-30 Thread William Pickard
Change by William Pickard <lollol22...@gmail.com>: -- versions: +Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue25095] test_httpservers hangs since Python 3.5

2018-01-27 Thread William Pickard
William Pickard <lollol22...@gmail.com> added the comment: Alright, the PR is ready for review. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue25095] test_httpservers hangs since Python 3.5

2018-01-27 Thread William Pickard
William Pickard <lollol22...@gmail.com> added the comment: Ok, I found another way to apply the solution to this issue, that is by adding the "Connection" header (with value of "close") to the client's request instead of the server's response. I'm going to use this

[issue27682] wsgiref: Windows Error 10053, ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

2018-01-20 Thread William Hingston
William Hingston <will.hings...@gmail.com> added the comment: I'm still seeing this with Python 3.6.3 Django 2.0.1 Windows 10 Pro Version 1709 Was this determined to be a Django bug? -- nosy: +William Hingston ___ Python tracke

[issue25095] test_httpservers hangs since Python 3.5

2018-01-05 Thread William Pickard
William Pickard <lollol22...@gmail.com> added the comment: I have tried value 0 for "Content-Length" (along with "text/plain" for "Content-Type"), it was when I said I tried both "Content-Length" and "Content-Type", while I haven't tried

[issue25095] test_httpservers hangs since Python 3.5

2018-01-05 Thread William Pickard
William Pickard <lollol22...@gmail.com> added the comment: It hangs for me on Windows 10 Professional running on a MSI gaming laptop for debug and PGO builds (Python 3.6) -- ___ Python tracker <rep...@bugs.python.org> <https://

[issue25095] test_httpservers hangs since Python 3.5

2018-01-05 Thread William Pickard
William Pickard <lollol22...@gmail.com> added the comment: Martin, your suggestion will never work as if you look at the trace back posted terry.reedy and my test print statements, both the client and server get stuck waiting to read data their respective socket, hence the deadlock.

[issue25095] test_httpservers hangs since Python 3.5

2018-01-04 Thread William Pickard
Change by William Pickard <lollol22...@gmail.com>: -- title: test_httpservers hangs on 3.5.0, win 7 -> test_httpservers hangs since Python 3.5 type: crash -> performance ___ Python tracker <rep...@bugs.python.org> <https://bugs.

[issue25095] test_httpservers hangs on 3.5.0, win 7

2018-01-04 Thread William Pickard
Change by William Pickard <lollol22...@gmail.com>: -- keywords: +patch pull_requests: +4969 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue25095] test_httpservers hangs on 3.5.0, win 7

2018-01-04 Thread William Pickard
William Pickard <lollol22...@gmail.com> added the comment: Scratch the previous message about the possible cause, I found the true cause, getresponse() is waiting for a specific header, one that BaseHTTPRequestHandler.send_error sends and BaseHTTPRequestHandler.send_response() d

Re: Goto (Posting On Python-List Prohibited)

2017-12-30 Thread William Ray Wing
> On Dec 30, 2017, at 7:46 AM, Peter J. Holzer wrote: > > On 2017-12-29 19:09:35 -0500, Dennis Lee Bieber wrote: >> On Fri, 29 Dec 2017 23:12:22 +, bartc declaimed the >> following: >>> Looking at 14 million lines of Linux kernel sources, which are in C,

Re: plot map wit box axes

2017-12-24 Thread William Ray Wing
> On Dec 23, 2017, at 3:27 PM, breamore...@gmail.com wrote: > > On Friday, December 22, 2017 at 3:42:58 PM UTC, jorge@cptec.inpe.br wrote: >> Hi, >> >> I use the PYTHON and IDL. In IDL I can plot a grid map like a this >> figure (mapa.png). Please, I would like know how can I plot my

Re: Any good explanations on pd.merge(df,df2, on=['Code', 'Region'])

2017-11-08 Thread William Ayd
Assuming df and df2 are dataframes you are essentially doing a SQL-like join of the two objects where the records within match on both the Code and Region columns Sent from my iPhone -- https://mail.python.org/mailman/listinfo/python-list

[issue31844] HTMLParser: undocumented not implemented method

2017-10-31 Thread William Ayd
William Ayd <william@gmail.com> added the comment: And assuming that subclass requirement is intentional we could add an optional keyword argument to the HTMLParser that indicates what to do with errors, much like how encoding issues are handled within codecs. For backwards compati

[issue31844] HTMLParser: undocumented not implemented method

2017-10-31 Thread William Ayd
William Ayd <william@gmail.com> added the comment: Would we be open to setting the meta class of the ParserBase to ABCMeta and setting error as an abstract method? That at the very least would make the expectation clearer for subclasses. I haven’t contributed to Python before but a

Re: Python noob having a little trouble with strings

2017-10-28 Thread William Ray Wing
OSX has been shipping with Python 2.7 for several years. I’m not sure why you are seeing 2.6. Bill > On Oct 27, 2017, at 2:48 AM, Lutz Horn wrote: > > On Thu, Oct 26, 2017 at 07:59:10PM -0700, randyli...@gmail.com wrote: >> Hi Bob, thanks for responding. I'm not sure

Re: Let's talk about debuggers!

2017-10-25 Thread William Ray Wing
> On Oct 25, 2017, at 9:07 AM, Thomas Jollans wrote: > > [byte] > What options are there for Python (that work)? What text editors (and > IDEs) have a decent integrated debugger or debugging plugin? I rather like WingIDE (the name is a coincidence). It allows

Re: How to track usage within a desktop python application

2017-10-08 Thread William Ray Wing
> On Oct 8, 2017, at 8:38 PM, Ryan Holmes wrote: > > I maintain a desktop python application that is used by a decent number of > folks (I would assume 10k+, though it's hard to know since it's based on > number of downloads rather than number of unique users). I

[issue30805] asyncio: race condition with debug and subprocess

2017-06-29 Thread William Grzybowski
New submission from William Grzybowski: If a process is schedule to run in the event loop with debug disabled and debug is then enabled before the process finishes it will result in a traceback: debug_log undefined. [2017/06/29 14:39:13] (ERROR) asyncio.default_exception_handler():1261 - Ta sk

[issue30720] re.sub substitution match group contains wrong value after unmatched pattern was processed

2017-06-20 Thread William Budd
William Budd added the comment: Doh! This has a really easy solution, doesn't it; just replace "." with "[^<]": re.compile('([^<]*?)', flags=re.DOTALL). Sorry about the noise. -- ___ Python tracker <rep...@bugs.python

[issue30720] re.sub substitution match group contains wrong value after unmatched pattern was processed

2017-06-20 Thread William Budd
William Budd added the comment: I now see you're right of course. Not a bug after all. Thank you. I mistakenly assumed that the group boundary ")" would delimit the end of the non-greedy match group. I.e., ".*?" versus ".*?". I don't see a way to accomplish the

[issue30720] re.sub substitution match group contains wrong value after unmatched pattern was processed

2017-06-20 Thread William Budd
William Budd added the comment: I don't understand... Isn't the "?" in ".*?" supposed to make the ".*" matching non-greedy, hence matching the first "" rather than the last ""? -- ___ Python tracke

[issue30720] re.sub substitution match group contains wrong value after unmatched pattern was processed

2017-06-20 Thread William Budd
New submission from William Budd: pattern = re.compile('(.*?)', flags=re.DOTALL) # This works as expected in the following case: print(re.sub(pattern, '\\1', 'foo\n' 'bar123456789\n')) # which outputs

Re: closing image automatically in for loop , python

2017-04-12 Thread William Ray Wing
> On Apr 12, 2017, at 7:18 AM, Masoud Afshari wrote: > > Dear all > > I have several *.sfd files which created by a simulation code. I wrote a > program containing a for Loop which reads each time one .sfd file and plot > the requested Parameters. I have two request:

Re: Python and the need for speed

2017-04-10 Thread William Ray Wing
> On Apr 10, 2017, at 8:25 AM, Mikhail V wrote: > > On 10 April 2017 at 02:21, Gregory Ewing wrote: >> >> >> >> My take on the idea of making Python less dynamic in order >> to improve speed is that you'll end up with a language that,

Re: Who are the "spacists"?

2017-03-17 Thread William Ray Wing
> On Mar 17, 2017, at 8:52 PM, Mikhail V wrote: > > So Python supports both spaces and tabs for indentation. > > I just wonder, why not forbid spaces in the beginning of lines? > How would one come to the idea to use spaces for indentation at all? > That convention

Re: The ternaery operator

2017-03-16 Thread William Mayor
> > I think it would be nice to have a way of getting the 'true' > value as the return with an optional value if false. The desire > comes about when the thing I'm comparing is an element of a collection: > >drugs['choice'] if drugs['choice'] else 'pot' > > Then I'm tempted to do: > >

problems installing pylab

2017-02-21 Thread Robert William Lunnon
Dear Python I am trying to install pylab alongside python 3.6. However when I type python -m pip install pylab I get the message No module named site In the documentation [documentation for installing python modules in python 3.6.0 documentation] it says: The above example assumes that the

Re: Context

2017-02-03 Thread William Ray Wing
> On Feb 3, 2017, at 8:10 AM, Antonio wrote: > > From: Antonio > Sent: Friday, February 3, 2017 1:02 PM > To: python-list@python.org > Subject: Context > > I have python version 3.6.0 installed into my desktop)windows 7) but the >

Re: Choosing a Python IDE. what is your Pythonish recommendation? I do

2017-01-06 Thread William Ray Wing
> On Jan 4, 2017, at 3:44 PM, Dietmar Schwertberger <maill...@schwertberger.de> wrote: > > On 04.01.2017 15:41, William Ray Wing wrote: >> I use Wing, and I think you will like it. It *is* pythonic, and for what it is worth, offers remote debugging as one of its more re

Re: Choosing a Python IDE. what is your Pythonish recommendation? I do

2017-01-06 Thread William Ray Wing
> On Jan 4, 2017, at 1:54 AM, Antonio Caminero Garcia wrote: > > On Tuesday, January 3, 2017 at 4:12:34 PM UTC-8, Dietmar Schwertberger wrote: >> On 02.01.2017 12:38, Antonio Caminero Garcia wrote: >> You did not try Wing IDE? It looks less like a spacecraft. Maybe you >>

Re: Choosing a Python IDE. what is your Pythonish recommendation? I do not know what to choose.

2017-01-04 Thread William Ray Wing
> On Jan 4, 2017, at 3:44 PM, Dietmar Schwertberger <maill...@schwertberger.de> > wrote: > > On 04.01.2017 15:41, William Ray Wing wrote: >> I use Wing, and I think you will like it. It *is* pythonic, and for what it >> is worth, offers remote debugging as

Re: Choosing a Python IDE. what is your Pythonish recommendation? I do not know what to choose.

2017-01-04 Thread William Ray Wing
> On Jan 4, 2017, at 1:54 AM, Antonio Caminero Garcia > wrote: > > On Tuesday, January 3, 2017 at 4:12:34 PM UTC-8, Dietmar Schwertberger wrote: >> On 02.01.2017 12:38, Antonio Caminero Garcia wrote: >> You did not try Wing IDE? It looks less like a spacecraft. Maybe you

[issue29135] run_proces logs the command without escaping parmaeters such that the coammns logged are not valid

2017-01-02 Thread William Gianopoulos
William Gianopoulos added the comment: It seems it is part of the Mozilla build system. I closed this issue. -- resolution: -> not a bug status: open -> closed ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

<    1   2   3   4   5   6   7   8   9   >