[issue33329] sigaddset() can fail on some signal numbers

2019-03-01 Thread Larry Hastings
Larry Hastings added the comment: These issues also occur on Python 3.4 and 3.5. And I'm now upgraded to Ubuntu 18.10 which I guess has the new version of glibc. The regression test suite for both 3.4 and 3.5 blocks forever on three tests (multiprocessing_fork, multiprocessing_forkserver

[issue34623] _elementtree.c doesn't call XML_SetHashSalt()

2019-02-28 Thread Larry Hastings
Change by Larry Hastings : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33127] Python 2.7.14 won't build ssl module with Libressl 2.7.0

2019-02-28 Thread Larry Hastings
Larry Hastings added the comment: New changeset 56f8783e3e32ddc0cb84a96711e3861aea9895ac by larryhastings (Alex Viscreanu) in branch '3.5': [3.5] bpo-33127: Compatibility patch for LibreSSL 2.7.0 (GH-6210) (#10994) https://github.com/python/cpython/commit

[issue34791] xml package does not obey sys.flags.ignore_environment

2019-02-25 Thread Larry Hastings
Larry Hastings added the comment: New changeset 7cd08cf62086a8a2d84fd825dfcd8bfe33bf1986 by larryhastings (Victor Stinner) in branch '3.5': bpo-34791: xml package obeys ignore env flags (GH-9544) (#11871) https://github.com/python/cpython/commit/7cd08cf62086a8a2d84fd825dfcd8bfe33bf1986

[issue34656] [CVE-2018-20406] memory exhaustion in Modules/_pickle.c:1393

2019-02-25 Thread Larry Hastings
Larry Hastings added the comment: New changeset ef33dd6036aafbd3f06c1d56e2b1a81dae3da63c by larryhastings (Victor Stinner) in branch '3.5': closes bpo-34656: Avoid relying on signed overflow in _pickle memos. (GH-9261) (#11869) https://github.com/python/cpython/commit

[issue35746] [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service

2019-02-25 Thread Larry Hastings
Larry Hastings added the comment: New changeset efec7631edf3b9480dc3988c97ffef94df8800da by larryhastings (Victor Stinner) in branch '3.5': bpo-35746: Fix segfault in ssl's cert parser (GH-11569) (#11867) https://github.com/python/cpython/commit/efec7631edf3b9480dc3988c97ffef94df8800da

[issue34791] xml package does not obey sys.flags.ignore_environment

2019-02-25 Thread Larry Hastings
Larry Hastings added the comment: New changeset 765d333512e9b58da4a4431595a0e81517ef0443 by larryhastings (Victor Stinner) in branch '3.4': bpo-34791: xml package obeys ignore env flags (GH-9544) (#11872) https://github.com/python/cpython/commit/765d333512e9b58da4a4431595a0e81517ef0443

[issue35411] FTP tests of test_urllib2net fail on Travis CI: 425 Security: Bad IP connecting.

2019-02-25 Thread Larry Hastings
Larry Hastings added the comment: New changeset 8bcbc7896d1fe1c289bae339d408fdf1472a00fa by larryhastings (Victor Stinner) in branch '3.5': bpo-35411: Skip test_urllib2net FTP tests on Travis CI (GH-10907) (#11874) https://github.com/python/cpython/commit

[issue34656] [CVE-2018-20406] memory exhaustion in Modules/_pickle.c:1393

2019-02-25 Thread Larry Hastings
Larry Hastings added the comment: New changeset 4b42d575bf0fb01192b3ec54b7e224b238691527 by larryhastings (Victor Stinner) in branch '3.4': [3.4] bpo-34656: Avoid relying on signed overflow in _pickle memos (GH-9261) (#11870) https://github.com/python/cpython/commit

[issue35746] [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service

2019-02-25 Thread Larry Hastings
Larry Hastings added the comment: New changeset 6c655ce34ae54adb8eef22b73108e22cc381cb8d by larryhastings (Victor Stinner) in branch '3.4': bpo-35746: Fix segfault in ssl's cert parser (GH-11569) (#11868) https://github.com/python/cpython/commit/6c655ce34ae54adb8eef22b73108e22cc381cb8d

[issue34623] _elementtree.c doesn't call XML_SetHashSalt()

2019-02-25 Thread Larry Hastings
Larry Hastings added the comment: New changeset 41b48e71ac8a71f56694b548f118bd20ce203410 by larryhastings (stratakis) in branch '3.5': [3.5] bpo-34623: Use XML_SetHashSalt in _elementtree (#9933) https://github.com/python/cpython/commit/41b48e71ac8a71f56694b548f118bd20ce203410

[issue34623] _elementtree.c doesn't call XML_SetHashSalt()

2019-02-25 Thread Larry Hastings
Larry Hastings added the comment: New changeset d16eaf36795da48b930b80b20d3805bc27820712 by larryhastings (stratakis) in branch '3.4': [3.4] bpo-34623: Use XML_SetHashSalt in _elementtree (#9953) https://github.com/python/cpython/commit/d16eaf36795da48b930b80b20d3805bc27820712

Re: OT - need help with PHP

2019-02-01 Thread Larry Martell
On Fri, Feb 1, 2019 at 10:30 AM Bob Gailer wrote: > I can't even figure out how to sign up for a PHP email list. http://php.net/manual/en/faq.mailinglist.php -- https://mail.python.org/mailman/listinfo/python-list

[issue20767] Some python extensions can't be compiled with clang 3.4

2019-01-30 Thread Larry Hastings
Change by Larry Hastings : -- priority: high -> normal type: resource usage -> compile error ___ Python tracker <https://bugs.python.org/issue20767> ___ ___

[issue20767] Some python extensions can't be compiled with clang 3.4

2019-01-30 Thread Larry Hastings
Larry Hastings added the comment: It's too late to fix this for Python 3.4 and 3.5, as those are now in security-fixes-only mode. Also, please don't select every possible component that could be remotely connected. -- components: -2to3 (2.x to 3.x conversion tool), Argument Clinic

Re: Pythonic Y2K

2019-01-18 Thread Larry Martell
On Fri, Jan 18, 2019 at 4:56 PM Avi Gross wrote: > > Larry, > > I keep hearing similar things about the Flu Vaccine. It only works 40% of > the time or whatever. But most of the people that get the flu get a > different strain they were not vaccinated against! That seems l

Re: Pythonic Y2K

2019-01-18 Thread Larry Martell
On Fri, Jan 18, 2019 at 10:43 AM Michael Torrie wrote: > > On 01/16/2019 12:02 PM, Avi Gross wrote: > > I recall the days before the year 2000 with the Y2K scare when people > > worried that legacy software might stop working or do horrible things once > > the clock turned. It may even have been

Re: Pythonic Y2K

2019-01-16 Thread Larry Martell
On Wed, Jan 16, 2019 at 9:35 PM Avi Gross wrote: > > Chris, > > The comparison to Y2K was not a great one. I am not sure what people did in > advance, but all it took was to set the clock forward on a test system and > look for anomalies. Not everything would be found but it gave some hints.

[issue35746] [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service

2019-01-15 Thread Larry Hastings
Larry Hastings added the comment: I can confirm this crashes a freshly-built interpreter from the current 3.5 and 3.4 branches. -- nosy: +larry ___ Python tracker <https://bugs.python.org/issue35

Re: the python name

2019-01-02 Thread Larry Martell
On Wed, Jan 2, 2019 at 8:04 PM Avi Gross wrote: > > Challenge: Can we name any computer language whose name really would suggest > it was a computer language? COBOL (Common Business-Oriented Language) FORTRAN (Formula Translation) PL/1 (Programming Language 1) ALGOL (Algorithmic Language) --

Re: mouse click automation

2019-01-01 Thread Larry Martell
On Tue, Jan 1, 2019 at 12:10 PM Siddha 2305 wrote: > > Hello All, > > I am trying to write a script to emulate mouse clicks. > The script launches Google chrome, navigates to the website. But after that > the script does not go to the specified coordinates. > > Also, I noticed that the screen

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

2018-11-04 Thread Larry Martell
On Sun, Nov 4, 2018 at 11:56 AM Mike C wrote: > > 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

Re: check whether a process is still running on remote hosts

2018-10-16 Thread Larry Martell
On Tue, Oct 16, 2018 at 5:15 PM tina_zy_qian--- via Python-list wrote: > > I newly learned Python, and I need to wrap up a script to do following. > > Env: > 1: One launcher Linux VM (from where to run the Python script) > 2. 100+ Linux VM > > requirement: > In general, run a remote_script on

Re: Observations on the List - "Be More Kind"

2018-10-10 Thread Larry Martell
On Fri, Oct 5, 2018 at 6:54 AM Bruce Coram wrote: > > I will declare at the outset, I am a lurker. I don't know enough about > Python to give advice that I could 100% guarantee would be helpful. > > There have been two recent threads that summarise for me where the > Python Mailing List has lost

Re: Querying MariaDB from python

2018-10-02 Thread Larry Martell
On Tue, Oct 2, 2018 at 12:09 PM Tony van der Hoff wrote: > > On 02/10/18 16:47, Ervin Hegedüs wrote: > > hi, > > > > now rows will looks like this: > > ({'id':...,...},{'id':...,}...) > > Thanks Ervin, but: > >cursor = cnx.cursor(pymysql.cursors.DictCursor) > NameError: name 'pymysql' is not

Re: Querying MariaDB from python

2018-10-02 Thread Larry Martell
On Tue, Oct 2, 2018 at 11:34 AM Tony van der Hoff wrote: > > I'm writing a database application, in python 3,5 under Debian9. > > My code: > > def get_albums(self, parent_id = 0 ): > cursor = self.cnx.cursor() > sql =( "select" > "id" > ",

Re: [OT] master/slave debate in Python

2018-09-26 Thread Larry Martell
On Wed, Sep 26, 2018 at 4:41 AM, Brian Oney via Python-list wrote: > "I have a vewwy great fwiend in Wome called 'Biggus Dickus'" > ... > "Can I go now, sir?" He has a wife, you know. You know what she's called? She's called... 'Incontinentia'. 'Incontinentia Buttocks'. --

[issue34694] Dismiss To Avoid Slave/Master wording cause it easier for non English spoken programmers

2018-09-19 Thread Larry Hastings
Larry Hastings added the comment: @eric.araujo: > I think the idea here is: don’t feed the trolls. I understand this as a general-purpose metaphor. But I don't understand how that translates into CPython issue tracker policy. And so far I wouldn't describe anybody correspond

[issue34694] Dismiss To Avoid Slave/Master wording cause it easier for non English spoken programmers

2018-09-19 Thread Larry Hastings
Larry Hastings added the comment: @Mariatta: > There will be no further discussion about this. Mariatta, why do you say that? As long as the participants in the discussion are respectful I'm not aware of any mechanism in the CPython developer guidelines that would require shutting d

[issue34690] Store startup modules as C structures for 20%+ startup speed improvement

2018-09-14 Thread Larry Hastings
Larry Hastings added the comment: As Neil points out on python-dev, my "improvement" should have been multiplied by 100, like 20.924239043734505 % instead of 0.20924239043734505 %, etc. -- ___ Python tracker <https://bugs.python.o

[issue34690] Store startup modules as C structures for 20%+ startup speed improvement

2018-09-14 Thread Larry Hastings
Larry Hastings added the comment: I should add that there were two novel test failures in the regression test suite: test_module and test_site. -- ___ Python tracker <https://bugs.python.org/issue34

[issue34690] Store startup modules as C structures for 20%+ startup speed improvement

2018-09-14 Thread Larry Hastings
Change by Larry Hastings : -- keywords: +patch pull_requests: +8745 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue34690] Store startup modules as C structures for 20%+ startup speed improvement

2018-09-14 Thread Larry Hastings
New submission from Larry Hastings : This patch was sent to me privately by Jeethu Rao at Facebook. It's a change they're working with internally to improve startup time. What I've been told by Carl Shapiro at Facebook is that we have their blessing to post it publicly / merge it / build

[issue34605] Avoid master/slave terminology

2018-09-07 Thread Larry Hastings
Larry Hastings added the comment: > > Have there been any actual complaints? > Yes, but sadly they are private. I'm not super-excited by the idea that Python has to change its behavior based on secret comments. Python has traditionally had a very open governance model where all di

[issue34605] Avoid master/slave terminology

2018-09-07 Thread Larry Hastings
Larry Hastings added the comment: As a counter-example: A quick grep finds 555 occurrences of the word "kill" in CPython master. Everybody knows killing is bad and using the term might upset certain people. Yet I would not support expunging the word "ki

[issue34605] Avoid master/slave terminology

2018-09-07 Thread Larry Hastings
Larry Hastings added the comment: I'm a little surprised by this. It's not like slavery was acceptable when these computer science terms were coined and it's only comparatively recently that they've gone out of fashion. On the other hand, there are some areas in computer software where

Re: Broken pip

2018-08-28 Thread Larry Martell
On Tue, Aug 28, 2018 at 2:10 PM, Michael F. Stemper wrote: > > I'm trying to upgrade my pip on Ubuntu 16.04. I appear to have > buggered things up pretty well. (Details follow) Any suggestions > on how to undo this and get everything back to proper operation? > > Based on the information that I

Re: Module not found

2018-08-27 Thread Larry Martell
On Mon, Aug 27, 2018 at 11:20 AM, Sharan Basappa wrote: > I am running a program that I got as reference from GitHub. > I am running on windows OS. > > Here is a snippet of the code (initial few lines). > > #!/usr/bin/env python > # -*- coding: utf-8 -*- > __author__ = 'Shilin He' > > import sys

Re: New books by O’Reilly

2018-08-20 Thread Larry Martell
On Mon, Aug 20, 2018 at 10:06 AM, Abdur-Rahmaan Janhangeer wrote: > some accompanying explanations appreciated with the link. That would ruin the joke. > > yours, > > Abdur-Rahmaan Janhangeer > https://github.com/Abdur-rahmaanJ > Mauritius > > On Sun, 19 Aug 2018,

New books by O’Reilly

2018-08-18 Thread Larry Martell
https://imgur.com/gallery/tW1lwEl -- https://mail.python.org/mailman/listinfo/python-list

[RELEASED] Python 3.4.9 and Python 3.5.6 are now available

2018-08-10 Thread Larry Hastings
On behalf of the Python development community, I'm happy to announce the availability of Python 3.4.9 and Python 3.5.6. Both Python 3.4 and 3.5 are in "security fixes only" mode.  Both versions only accept security fixes, not conventional bug fixes, and both releases are source-only. You

tabs vs. spaces

2018-08-09 Thread Larry Martell
https://www.youtube.com/watch?v=SsoOG6ZeyUI=youtu.be -- https://mail.python.org/mailman/listinfo/python-list

[RELEASED] Python 3.4.9 and Python 3.5.6 are now available

2018-08-02 Thread Larry Hastings
On behalf of the Python development community, I'm happy to announce the availability of Python 3.4.9 and Python 3.5.6. Both Python 3.4 and 3.5 are in "security fixes only" mode.  Both versions only accept security fixes, not conventional bug fixes, and both releases are source-only. You

Want to be a rockstar programmer?

2018-07-23 Thread Larry Martell
https://github.com/dylanbeattie/rockstar -- https://mail.python.org/mailman/listinfo/python-list

[RELEASED] Python 3.4.9rc1 and Python 3.5.6rc1 are now available

2018-07-23 Thread Larry Hastings
On behalf of the Python development community, I'm pleased to announce the availability of Python 3.4.9rc1 and Python 3.5.6rc1. Both Python 3.4 and 3.5 are in "security fixes only" mode.  Both versions only accept security fixes, not conventional bug fixes, and both releases are

[RELEASED] Python 3.4.9rc1 and Python 3.5.6rc1 are now available

2018-07-19 Thread Larry Hastings
On behalf of the Python development community, I'm pleased to announce the availability of Python 3.4.9rc1 and Python 3.5.6rc1. Both Python 3.4 and 3.5 are in "security fixes only" mode.  Both versions only accept security fixes, not conventional bug fixes, and both releases are

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-07-19 Thread Larry Hastings
Larry Hastings added the comment: New changeset 76aa2c0a9a8dd3ac90b91e7342c8ce8125bf21f9 by larryhastings in branch '3.5': bpo-33216: Clarify the documentation for CALL_FUNCTION_* (#8338) https://github.com/python/cpython/commit/76aa2c0a9a8dd3ac90b91e7342c8ce8125bf21f9

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-07-19 Thread Larry Hastings
Change by Larry Hastings : -- pull_requests: +7872 ___ Python tracker <https://bugs.python.org/issue33216> ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: doubling the number of tests, but not taking twice as long

2018-07-18 Thread Larry Martell
On Wed, Jul 18, 2018 at 7:59 PM, MRAB wrote: > On 2018-07-18 22:40, Larry Martell wrote: >> >> On Tue, Jul 17, 2018 at 11:43 AM, Neil Cerutti wrote: >>> >>> On 2018-07-16, Larry Martell wrote: >>>> >>>> I had some code that did this:

Re: doubling the number of tests, but not taking twice as long

2018-07-18 Thread Larry Martell
On Tue, Jul 17, 2018 at 11:43 AM, Neil Cerutti wrote: > On 2018-07-16, Larry Martell wrote: >> I had some code that did this: >> >> meas_regex = '_M\d+_' >> meas_re = re.compile(meas_regex) >> >> if meas_re.search(filename): >> stuff1() >&g

Re: doubling the number of tests, but not taking twice as long

2018-07-16 Thread Larry Martell
On Mon, Jul 16, 2018 at 6:01 PM, Gilmeh Serda wrote: > On Mon, 16 Jul 2018 14:17:57 -0400, Larry Martell wrote: > >> This code needs to process many tens of 1000's of files, and it runs >> often, so it needs to run very fast. Needless to say, my change has made >> it tak

doubling the number of tests, but not taking twice as long

2018-07-16 Thread Larry Martell
I had some code that did this: meas_regex = '_M\d+_' meas_re = re.compile(meas_regex) if meas_re.search(filename): stuff1() else: stuff2() I then had to change it to this: if meas_re.search(filename): if 'MeasDisplay' in filename: stuff1a() else: stuff1() else:

Re: Unicode [was Re: Cult-like behaviour]

2018-07-16 Thread Larry Martell
On Mon, Jul 16, 2018 at 12:05 PM, Mark Lawrence wrote: > On 16/07/18 15:17, Dan Sommers wrote: >> >> On Mon, 16 Jul 2018 10:39:49 +, Steven D'Aprano wrote: >> >>> ... people who think that if ISO-8859-7 was good enough for Jesus ... >> >> >> It may have been good enough for his disciples, but

Re: OT Why Germany? [was Re: Guido van Rossum resigns as Python leader]

2018-07-14 Thread Larry Martell
On Sat, Jul 14, 2018 at 3:11 AM Steven D'Aprano < steve+comp.lang.pyt...@pearwood.info> wrote: > On Sat, 14 Jul 2018 07:41:43 +, Bob Martin wrote: > > > in 796624 20180714 064331 Gregory Ewing > > wrote: > >>Larry Martell wrote: > >>>

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Larry Martell
On Fri, Jul 13, 2018 at 2:26 PM, Chris Angelico wrote: > On Sat, Jul 14, 2018 at 4:14 AM, Larry Martell > wrote: >> On Fri, Jul 13, 2018 at 2:05 PM, Chris Angelico wrote: >>> On Sat, Jul 14, 2018 at 3:37 AM, Alexandre Brault >>> wrote: >>>> The impo

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Larry Martell
On Fri, Jul 13, 2018 at 2:05 PM, Chris Angelico wrote: > On Sat, Jul 14, 2018 at 3:37 AM, Alexandre Brault > wrote: >> The important question we should ask ourselves: Do we have a replacement >> Dutch person to figure out the one obvious way to do things that may not >> be obvious at first? >>

[issue17180] shutil copy* unsafe on POSIX - they preserve setuid/setgit bits

2018-07-08 Thread Larry Hastings
Larry Hastings added the comment: I'll accept this into 3.4 and 3.5, if someone produces a PR and someone else reviews it. Given that the issue has already celebrated its fifth birthday I can't say I feel a lot of urgency about it. -- ___ Python

[issue33700] [doc] Old version picker don't understand language tags in URL

2018-07-02 Thread Larry Hastings
Change by Larry Hastings : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33700] [doc] Old version picker don't understand language tags in URL

2018-07-02 Thread Larry Hastings
Larry Hastings added the comment: New changeset 1b141b9553424971639bde281feb1d4e4e586dbe by larryhastings (Julien Palard) in branch '3.5': Doc: Backport language switcher (bpo-33700, bpo-31045) (#8048) https://github.com/python/cpython/commit/1b141b9553424971639bde281feb1d4e4e586dbe

[issue31045] Add a language switch to the Python documentation

2018-07-02 Thread Larry Hastings
Larry Hastings added the comment: New changeset 1b141b9553424971639bde281feb1d4e4e586dbe by larryhastings (Julien Palard) in branch '3.5': Doc: Backport language switcher (bpo-33700, bpo-31045) (#8048) https://github.com/python/cpython/commit/1b141b9553424971639bde281feb1d4e4e586dbe

[issue33700] [doc] Old version picker don't understand language tags in URL

2018-06-29 Thread Larry Hastings
Larry Hastings added the comment: Doc fixes are generally okay in security-fixes-only branches. Obviously I'd want to review it before it went in; it sounds like a simple change (one line change to an RE?), so you can send me a PR or just post it here if you want a pre-review

Re: Python list vs google group

2018-06-15 Thread Larry Martell
On Fri, Jun 15, 2018 at 2:52 PM, Rob Gaddi wrote: > On 06/15/2018 11:44 AM, Larry Martell wrote: >> >> On Fri, Jun 15, 2018 at 2:08 PM, Rich Shepard >> wrote: >>> >>> On Fri, 15 Jun 2018, Larry Martell wrote: >>> >>>>> Oh, ...

Re: Python list vs google group

2018-06-15 Thread Larry Martell
On Fri, Jun 15, 2018 at 2:08 PM, Rich Shepard wrote: > On Fri, 15 Jun 2018, Larry Martell wrote: > >>>Oh, ... MUA == Mail User Agent. >> >> I thought it was Made Up Acronym > > > Larry, > > Could be; depends on the context. My favor

Re: Python list vs google group

2018-06-15 Thread Larry Martell
On Fri, Jun 15, 2018 at 1:14 PM Rich Shepard wrote: > On Fri, 15 Jun 2018, T Berger wrote: > > > Please define YMMV, MUA. > >Oh, ... MUA == Mail User Agent. I thought it was Made Up Acronym > > -- https://mail.python.org/mailman/listinfo/python-list

Re: Python list vs google group

2018-06-15 Thread Larry Martell
On Fri, Jun 15, 2018 at 12:49 PM T Berger wrote: > On Friday, June 15, 2018 at 12:32:17 PM UTC-4, T Berger wrote: > > On Friday, June 15, 2018 at 11:55:59 AM UTC-4, Chris Angelico wrote: > > > Perhaps quantity is not the important thing here. > > > > It is the important thing. I'm stuck with a

Re: mutable sequences

2018-06-14 Thread Larry Martell
On Wed, Jun 13, 2018 at 10:56 PM, Sharan Basappa wrote: > The term mutable appears quite often in Python. > Can anyone explain what is meant by mutable and immutable sequences. A string and a list go into a bar. The string asks for a cup of coffee. The bartender says "We don't have coffee." The

Re: Stefan's headers [was:Names and identifiers]

2018-06-08 Thread Larry Martell
On Fri, Jun 8, 2018 at 3:16 PM, Marko Rauhamaa wrote: > At the moment nobody pays > the government to enforce copyrights. No, everyone pays for what the government does. -- https://mail.python.org/mailman/listinfo/python-list

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-05-24 Thread Larry Hastings
Larry Hastings <la...@hastings.org> added the comment: Marking an issue as "Release Blocker" is completely inappropriate for "I'd like to see this documentation change get into the next bugfix release." Our Python Dev Guide discusses priority, here: https://de

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-05-23 Thread Larry Hastings
Larry Hastings <la...@hastings.org> added the comment: Documentation changes are okay. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-05-23 Thread Larry Hastings
Larry Hastings <la...@hastings.org> added the comment: Serhiy, why did you mark this as a release blocker? This is a proposed documentation fix. -- priority: release blocker -> low ___ Python tracker <rep...@bugs.python

[issue33001] Buffer overflow vulnerability in os.symlink on Windows (CVE-2018-1000117)

2018-05-14 Thread Larry Hastings
Larry Hastings <la...@hastings.org> added the comment: New changeset f381cfe07d15d52f27de771a62a8167668f0dd51 by larryhastings (Steve Dower) in branch '3.5': [3.5] bpo-33001: Prevent buffer overrun in os.symlink (GH-5989) (#5991) https://github.com/python/cpython/

[issue33001] Buffer overflow vulnerability in os.symlink on Windows (CVE-2018-1000117)

2018-05-14 Thread Larry Hastings
Larry Hastings <la...@hastings.org> added the comment: New changeset 77c02cdce2d7b8360771be35b7676a4977e070c1 by larryhastings (Steve Dower) in branch '3.4': [3.4] bpo-33001: Prevent buffer overrun in os.symlink (GH-5989) (#5992) https://github.com/python/cpython/

Re: specifying the same argument multiple times with argparse

2018-04-16 Thread Larry Martell
On Mon, Apr 16, 2018 at 6:19 PM, Gary Herron wrote: > On 04/16/2018 02:31 PM, larry.mart...@gmail.com wrote: >> >> Is there a way using argparse to be able to specify the same argument >> multiple times and have them all go into the same list? >> >> For example, I'd like to

specifying the same argument multiple times with argparse

2018-04-16 Thread Larry Martell
Is there a way using argparse to be able to specify the same argument multiple times and have them all go into the same list? For example, I'd like to do this: script.py -foo bar -foo baz -foo blah and have the dest for foo have ['bar', 'baz', 'blah'] --

Re: install MySQL-python failed ....

2018-04-05 Thread Larry Martell
On Thu, Apr 5, 2018 at 7:12 PM, yi zhao wrote: > $ python -m pip install MySQL-python > Collecting MySQL-python > Downloading MySQL-python-1.2.5.zip (108kB) > 100% || 112kB 260kB/s > 930 [main] python2.7 12948

Re: I keep getting this error message when i try to run a program in Python

2018-03-22 Thread Larry Martell
On Thu, Mar 22, 2018 at 2:37 PM, Damjan Stojanovski wrote: > i am sorry but i can not find a way to attach an image here so you can see > what i mean. Please someone tell me how to add an image here. You can't. Copy/paste the error. And please include the post

Re: Multiprocessing on a remote host

2018-03-21 Thread Larry Martell
On Tue, Mar 20, 2018 at 11:15 PM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > On Wed, 21 Mar 2018 02:20:16 +0000, Larry Martell wrote: > >> Is there a way to use the multiprocessing lib to run a job on a remote >> host? > > Don't try to re-inve

Multiprocessing on a remote host

2018-03-20 Thread Larry Martell
Is there a way to use the multiprocessing lib to run a job on a remote host? -- https://mail.python.org/mailman/listinfo/python-list

Re: [OT] Re: Thank you Python community!

2018-03-20 Thread Larry Martell
Drugs" for decades, so entire industries can keep profiting. Until you > fix the problems in society the demand will not go away and the problems > will stay. > > > Cheers. > > > *) Drug use also correlates with boredom and low amounts of sunlight and an > amount of pred

Re: Thank you Python community!

2018-03-19 Thread Larry Martell
On Mon, Mar 19, 2018 at 12:08 PM, Etienne Robillard wrote: > You guys just made me realize something very obvious. :-) > > I'm in the process right now of watching the excellent documentary named > "Drugs Inc." on Netflix and I'm basically stunned and deeply concerned about >

Re: macOS specific - reading calendar information

2018-03-14 Thread Larry Martell
On Wed, Mar 14, 2018 at 4:31 PM, Jan Erik Moström wrote: > I've been trying to find some example of how to read calendar info on macOS > but I haven't found anything ... I'm probably just bad at searching !! > > What I want to do is to read calendar info for a date range.

[issue32981] Catastrophic backtracking in poplib (CVE-2018-1060) and difflib (CVE-2018-1061)

2018-03-11 Thread Larry Hastings
Larry Hastings <la...@hastings.org> added the comment: Is this ready to close? -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32981] Catastrophic backtracking in poplib (CVE-2018-1060) and difflib (CVE-2018-1061)

2018-03-11 Thread Larry Hastings
Larry Hastings <la...@hastings.org> added the comment: New changeset 937ac1fe069a4dc8471dff205f553d82e724015b by larryhastings (Ned Deily) in branch '3.5': [3.5] bpo-32981: Fix catastrophic backtracking vulns (GH-5955) (#6034) https://github.com/python/cpython/

[issue32981] Catastrophic backtracking in poplib (CVE-2018-1060) and difflib (CVE-2018-1061)

2018-03-11 Thread Larry Hastings
Larry Hastings <la...@hastings.org> added the comment: New changeset 942cc04ae44825ea120e3a19a80c9b348b8194d0 by larryhastings (Ned Deily) in branch '3.4': [3.4] bpo-32981: Fix catastrophic backtracking vulns (GH-5955) (#6035) https://github.com/python/cpython/

Re: psutil

2018-02-28 Thread Larry Martell
On Tue, Feb 27, 2018 at 8:30 PM, Matt Wheeler <m...@funkyhat.org> wrote: > > > On Wed, 28 Feb 2018, 00:49 Larry Martell, <larry.mart...@gmail.com> wrote: >> >> On Tue, Feb 27, 2018 at 7:36 PM, José María Mateos <ch...@rinzewind.org> >> wrote: >>

Re: psutil

2018-02-27 Thread Larry Martell
On Tue, Feb 27, 2018 at 7:36 PM, José María Mateos <ch...@rinzewind.org> wrote: > On Tue, Feb 27, 2018 at 07:29:50PM -0500, Larry Martell wrote: >> Trying to install psutil (with pip install psutil) on Red Hat EL 7. >> It's failing with: >> >> Python.h: No such fi

Re: psutil

2018-02-27 Thread Larry Martell
On Tue, Feb 27, 2018 at 7:37 PM, Chris Angelico <ros...@gmail.com> wrote: > On Wed, Feb 28, 2018 at 11:29 AM, Larry Martell <larry.mart...@gmail.com> > wrote: >> Trying to install psutil (with pip install psutil) on Red Hat EL 7. >> It's failing with: >> &g

psutil

2018-02-27 Thread Larry Martell
Trying to install psutil (with pip install psutil) on Red Hat EL 7. It's failing with: Python.h: No such file or directory Typically that means the python devel libs are not installed, but they are: [root@liszt ~]# yum install python-devel Package python-devel-2.7.5-58.el7.x86_64 already

Re: help me ?

2018-02-27 Thread Larry Martell
On Tue, Feb 27, 2018 at 12:56 PM, Ian Kelly wrote: > On Tue, Feb 27, 2018 at 10:16 AM, Igor Korot wrote: >> Congratulations! >> You have an "A" for solving the problem and "F" for helping the guy cheat. >> You should be expelled from the course. > > In

Re: atws

2018-02-23 Thread Larry Martell
On Fri, Feb 23, 2018 at 8:34 AM, Chris Angelico <ros...@gmail.com> wrote: > On Sat, Feb 24, 2018 at 12:08 AM, Larry Martell <larry.mart...@gmail.com> > wrote: >> On Fri, Feb 23, 2018 at 2:01 AM, dieter <die...@handshake.de> wrote: >>> Larry M

Re: atws

2018-02-23 Thread Larry Martell
On Fri, Feb 23, 2018 at 2:01 AM, dieter <die...@handshake.de> wrote: > Larry Martell <larry.mart...@gmail.com> writes: >> ... >> I had 2.2.1. I updated requests to 2.18.4 and now when I import atws I get: >> >> No handlers could be found for logger "

Re: atws

2018-02-22 Thread Larry Martell
On Thu, Feb 22, 2018 at 10:25 AM, Mark Lawrence <breamore...@gmail.com> wrote: > On 22/02/18 15:06, Larry Martell wrote: >> >> On Thu, Feb 22, 2018 at 2:00 AM, Chris Angelico <ros...@gmail.com> wrote: >>> >>> On Thu, Feb 22, 2018 at 5:27 PM, Larr

Re: atws

2018-02-22 Thread Larry Martell
On Thu, Feb 22, 2018 at 2:00 AM, Chris Angelico <ros...@gmail.com> wrote: > On Thu, Feb 22, 2018 at 5:27 PM, Larry Martell <larry.mart...@gmail.com> > wrote: >> I want to use the atws package >> (https://atws.readthedocs.io/readme.html). I am using python 2.7.6 on

atws

2018-02-21 Thread Larry Martell
I want to use the atws package (https://atws.readthedocs.io/readme.html). I am using python 2.7.6 on ubuntu-trusty-64 3.13.0-87-generic. I get this error when importing the package: >>> import atws Traceback (most recent call last): File "", line 1, in File

[issue29612] TarFile.extract() suffers from hard links inside tarball

2018-02-16 Thread Larry Cook
Larry Cook <lc...@hytrust.com> added the comment: I recently hit this with Python 2.7.5 and 2.7.13. It has a very simple repro. Just specify the same file twice on the command line to tar (GNU 1.26): % tar cvf test.tar test.txt test.txt test.txt test.txt % tar tvf test.tar -rw-r--r-

Re: [RELEASED] Python 3.4.8 and Python 3.5.5 are now available

2018-02-10 Thread Larry Hastings
Actually, it was updated on the server, but somehow the old version was sticking around in the CDN cache.  I "purged" it and it's fine now.  Weird that it would linger this long! Cheers, //arry/ On 02/10/2018 03:20 AM, Serhiy Storchaka wrote: 05.02.18 02:35, Larry Has

[issue32397] textwrap output may change if you wrap a paragraph twice

2018-02-10 Thread Larry Hastings
Change by Larry Hastings <la...@hastings.org>: -- keywords: +patch pull_requests: +5425 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

Re: [RELEASED] Python 3.4.8 and Python 3.5.5 are now available

2018-02-10 Thread Larry Hastings
Actually, it was updated on the server, but somehow the old version was sticking around in the CDN cache.  I "purged" it and it's fine now.  Weird that it would linger this long! Cheers, //arry/ On 02/10/2018 03:20 AM, Serhiy Storchaka wrote: 05.02.18 02:35, Larry Has

Re: This newsgroup (comp.lang.python) may soon be blocked by Google Gro

2018-02-08 Thread Larry Martell
On Thu, Feb 8, 2018 at 12:36 PM, Gilmeh Serda wrote: > On Sat, 03 Feb 2018 04:33:36 +1200, breamoreboy wrote: > >>> When trying to access comp.lang.idl-pvwave, a message is now displayed, >> stating that the group owner needs to remove the spam, and can then >>

[issue32786] Didnot work strftime() when hangeul in format sting

2018-02-07 Thread Larry Hastings
Change by Larry Hastings <la...@hastings.org>: -- nosy: -larry ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32786> ___ __

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