[issue36216] urlsplit does not handle NFKC normalization

2019-03-10 Thread Larry Hastings
Larry Hastings added the comment: New changeset c0d95113b070799679bcb9dc49d4960d82e8bb08 by larryhastings (Steve Dower) in branch '3.5': bpo-36216: Add check for characters in netloc that normalize to separators (GH-12201) (#12223) https://github.com/python/cpyt

[issue35647] Cookie path check returns incorrect results

2019-03-12 Thread Larry Hastings
Larry Hastings added the comment: You should not assign bugs to the RM who will merge the PR. -- assignee: larry -> ___ Python tracker <https://bugs.python.org/issu

[issue29299] Argument Clinic: Fix signature of optional positional-only arguments

2019-03-15 Thread Larry Hastings
Larry Hastings added the comment: Argument Clinic can currently only generate signatures for functions whose signatures can be represented in Python. This is because the signatures are parsed by the inspect module, which in turn uses the ast module to generate a parse tree; it then

[issue35647] Cookie path check returns incorrect results

2019-03-16 Thread Larry Hastings
Larry Hastings added the comment: New changeset e260f092cd0d8975c777e73ca6fb549d59b5d452 by larryhastings (Xtreak) in branch '3.4': bpo-35647: Fix path check in cookiejar (#11436) (#12278) https://github.com/python/cpython/commit/e260f092cd0d8975c777e73ca6fb54

[issue35121] Cookie domain check returns incorrect results

2019-03-16 Thread Larry Hastings
Larry Hastings added the comment: New changeset 42ad4101d3ba7ca3c371dadf0f8880764c9f15fb by larryhastings (Xtreak) in branch '3.4': [3.4] bpo-35121: prefix dot in domain for proper subdomain validation (GH-10258) (#12279) https://github.com/python/cpyt

[issue35647] Cookie path check returns incorrect results

2019-03-16 Thread Larry Hastings
Larry Hastings added the comment: New changeset 382981b25092b5e9285f1e4894142af1e8f2ca86 by larryhastings (Xtreak) in branch '3.5': bpo-35647: Fix path check in cookiejar (#11436) (#12277) https://github.com/python/cpython/commit/382981b25092b5e9285f1e4894142a

[issue35121] Cookie domain check returns incorrect results

2019-03-16 Thread Larry Hastings
Larry Hastings added the comment: New changeset 4749f1b69000259e23b4cc6f63c542a9bdc62f1b by larryhastings (Xtreak) in branch '3.5': [3.5] bpo-35121: prefix dot in domain for proper subdomain validation (GH-10258) (#12281) https://github.com/python/cpyt

[issue35121] Cookie domain check returns incorrect results

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

[issue36327] Remove EOLed Py34 from "Status of Python branches"

2019-03-18 Thread Larry Hastings
Larry Hastings added the comment: Python 3.4.10 has not been released yet, and so it hasn't reached EOL yet, so this is jumping the gun a little. All things in time. -- ___ Python tracker <https://bugs.python.org/is

[issue36536] is there a python implementation of the cpython commandline interpretor?

2019-04-05 Thread Larry Hastings
Larry Hastings added the comment: The Python bug tracker is not your personal resource for answering programming questions. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bug

[issue36798] := breaks f-strings

2019-05-05 Thread Larry Hastings
Larry Hastings added the comment: The point is that := is valid expression syntax in Python 3.8, but you can't use it in an f-string. The fact that the error is the same in 3.6 and 3.7 is irrelevant because := was not valid syntax in those ver

[issue36798] := breaks f-strings

2019-05-05 Thread Larry Hastings
Larry Hastings added the comment: I'm not sure why Guido's preferences would be relevant. f-strings support expressions, := is a valid expression, f-strings therefore must support it. f-strings expressions are not top-level statements and therefore will not require parenthe

[issue16024] Doc cleanup regarding path=fd, dir_fd, follow_symlinks, etc

2019-05-06 Thread Larry Hastings
Larry Hastings added the comment: New changeset e152169da95b52fa41931572bc90857253c4a5dd by larryhastings (Cheryl Sabella) in branch 'master': bpo-16024: Doc cleanup regarding path_fd, dir_fd, follow_symlinks (GH-5505) https://github.com/python/cpyt

[issue16024] Doc cleanup regarding path=fd, dir_fd, follow_symlinks, etc

2019-05-06 Thread Larry Hastings
Larry Hastings added the comment: At last! Thanks for reviving it, Cheryl! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36817] Add = to f-strings for easier debugging.

2019-05-07 Thread Larry Hastings
Larry Hastings added the comment: > I think that !f is not needed. You can use repr by default only when > no format spec is specified, and add explicit !r if you want to use > repr with the format spec. Actually that's how !d worked. We changed the behavior because it was

[issue35657] multiprocessing.Process.join() ignores timeout if child process use os.exec*()

2019-05-08 Thread Larry Hastings
Larry Hastings added the comment: 3.4 is now EOL, so the 3.4regression tag goes away too. -- keywords: -3.4regression nosy: +larry ___ Python tracker <https://bugs.python.org/issue35

[issue26375] Python 2.7.10 and 3.4.4 hang on imaplib.IMAP4_SSL()

2019-05-08 Thread Larry Hastings
Larry Hastings added the comment: 3.4 is now EOL, so the 3.4regression tag goes away too. -- keywords: -3.4regression nosy: +larry versions: -Python 3.4 ___ Python tracker <https://bugs.python.org/issue26

[issue24732] 3.5.0b3 Windows accept() on unready non-blocking socket raises PermissionError [now need unit test]

2019-05-08 Thread Larry Hastings
Larry Hastings added the comment: 3.4 is now EOL, so the 3.4regression tag goes away too. -- keywords: -3.4regression ___ Python tracker <https://bugs.python.org/issue24

[issue21820] unittest: unhelpful truncating of long strings.

2019-05-08 Thread Larry Hastings
Larry Hastings added the comment: This bug is marked only for 3.4, and 3.4 is now EOL. Either it should be relocated to an active version, or it should be marked wontfix. -- nosy: +larry ___ Python tracker <https://bugs.python.org/issue21

[issue36863] argparse doesn't like options in the middle of arguments

2019-05-09 Thread Larry Hastings
Change by Larry Hastings : -- nosy: -larry ___ Python tracker <https://bugs.python.org/issue36863> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32551] 3.5.4 has a regression that was fixed in 3.6.1rc1

2018-01-14 Thread Larry Hastings
Larry Hastings added the comment: As a reminder: I'm currently scheduled to tag Python 3.5.5rc1 on January 21st, 2018, aka about six days from now. -- ___ Python tracker <https://bugs.python.org/is

[issue32551] Zipfile & directory execution in 3.5.4 also adds the parent directory to sys.path

2018-01-19 Thread Larry Hastings
Larry Hastings added the comment: If you're certain it isn't a security bug, then please downgrade it from release blocker. I might permit a fix for it in 3.5.5 anyway, depending on how small it is, because nobody likes regressions. --

[issue32513] dataclasses: make it easier to use user-supplied special methods

2018-01-21 Thread Larry Hastings
Larry Hastings added the comment: Do all the parameters to the decorator take a default value of "None", so that you can differentiate between explicit True, explicit False, and did-not-specify? Is this the complete list of these dunder-method-generation-control parameters? in

[issue32513] dataclasses: make it easier to use user-supplied special methods

2018-01-22 Thread Larry Hastings
Larry Hastings added the comment: So if I understand correctly: the default value of the "repr" parameter is True. Decision matrix: does dataclass insert a __repr__ into the class? +-- row: argument passed in to decorator's repr parameter | | v| yes | no

[issue32072] Issues with binary plists

2018-01-22 Thread Larry Hastings
Larry Hastings added the comment: New changeset c59731d92dc73111d224876f1caa064097aad786 by larryhastings (Serhiy Storchaka) in branch '3.4': [3.4] bpo-32072: Fix issues with binary plists. (GH-4455) (#4658) https://github.com/python/cpython/commit/c59731d92dc73111d224876f1caa06

[issue32266] test_pathlib fails if current path has junctions

2018-01-22 Thread Larry Hastings
Larry Hastings added the comment: Python 3.4 and 3.5 are in "security fixes only" mode. This is a minor bugfix, so it's too late to accept it into 3.4 and 3.5. ------ nosy: +larry versions: -Python 3.4, Python 3.5 ___ Python

[issue32620] [3.5] Travis CI fails on Python 3.5 with "pyenv: version `3.5' not installed"

2018-01-23 Thread Larry Hastings
Larry Hastings added the comment: New changeset 4a4c2743133e195cc3725b78a895d85d69e50089 by larryhastings (Nick Coghlan) in branch '3.5': [3.5] bpo-32620: Remove failing pyenv call from CI config (#5274) https://github.com/python/cpython/commit/4a4c2743133e195cc3725b78a895d8

[issue32563] -Werror=declaration-after-statement expat build failure on Python 3.5

2018-01-23 Thread Larry Hastings
Larry Hastings added the comment: New changeset 57fa0ab8911a70d91e5b60b8dc91f1085442a9e7 by larryhastings (Nick Coghlan) in branch '3.5': [3.5] bpo-32563: Get expat to compile under C89 (#5201) https://github.com/python/cpython/commit/57fa0ab8911a70d91e5b60b8dc91f1

[issue29319] Embedded 3.6.0 distribution cannot run pyz files

2018-01-23 Thread Larry Hastings
Larry Hastings added the comment: New changeset 891c91d8d38848377a9f475242507510873eb9c3 by larryhastings (Nick Coghlan) in branch '3.5': [3.5] bpo-32551: Consistently configure sys.path[0] (#5197) https://github.com/python/cpython/commit/891c91d8d38848377a9f4752425075

[issue32551] Zipfile & directory execution in 3.5.4 also adds the parent directory to sys.path

2018-01-23 Thread Larry Hastings
Larry Hastings added the comment: New changeset 891c91d8d38848377a9f475242507510873eb9c3 by larryhastings (Nick Coghlan) in branch '3.5': [3.5] bpo-32551: Consistently configure sys.path[0] (#5197) https://github.com/python/cpython/commit/891c91d8d38848377a9f4752425075

[issue32072] Issues with binary plists

2018-01-23 Thread Larry Hastings
Larry Hastings added the comment: New changeset 43f014d3f12468edf61046f0612edc7660042fd5 by larryhastings (Serhiy Storchaka) in branch '3.5': [3.5] bpo-32072: Fix issues with binary plists. (GH-4455) (#4656) https://github.com/python/cpython/commit/43f014d3f12468edf61046f0612edc

[issue31000] Test failure in resource module on ZFS

2018-01-23 Thread Larry Hastings
Larry Hastings added the comment: I'm using ZFS on 64-bit Linux. I did see a Github issue / commit that claims to address this. I'm using a reasonably recent ZoL build, that should have that commit, and I still see the behavior. I actually experimented with it a little, and, hmm.

[issue32697] Guarantee that Python preserves the order of kwonly parameters

2018-01-28 Thread Larry Hastings
New submission from Larry Hastings : Following on from the "Can Python guarantee the order of keyword-only parameters?", here's a patch to enforce that guarantee. It adds documentation that makes the guarantee, and adds tests that make at least a passable attempt at testing

[issue32697] Guarantee that Python preserves the order of kwonly parameters

2018-01-28 Thread Larry Hastings
Change by Larry Hastings : -- keywords: +patch pull_requests: +5226 ___ Python tracker <https://bugs.python.org/issue32697> ___ ___ Python-bugs-list mailin

[issue32697] Guarantee that Python preserves the order of kwonly parameters

2018-01-28 Thread Larry Hastings
Larry Hastings added the comment: New changeset f36ba12809d5db1b76464d8f1f04dad8d685ec78 by larryhastings in branch 'master': bpo-32697: Definition order of kwonly params is now guaranteed preserved. (#5391) https://github.com/python/cpython/commit/f36ba12809d5db1b76464d8f1f04da

[issue32697] Guarantee that Python preserves the order of kwonly parameters

2018-01-28 Thread Larry Hastings
Larry Hastings added the comment: Thanks for the quick turnaround reviews! Today we've all collectively made Python a better programming language. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue32072] Issues with binary plists

2018-01-31 Thread Larry Hastings
Larry Hastings added the comment: Thank you for the fix! I just wish I knew what plists were ;-) -- ___ Python tracker <https://bugs.python.org/issue32

[issue32620] [3.5] Travis CI fails on Python 3.5 with "pyenv: version `3.5' not installed"

2018-02-04 Thread Larry Hastings
Change by Larry Hastings : -- pull_requests: +5360 ___ Python tracker <https://bugs.python.org/issue32620> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32620] [3.5] Travis CI fails on Python 3.5 with "pyenv: version `3.5' not installed"

2018-02-04 Thread Larry Hastings
Larry Hastings added the comment: New changeset 71b94e30b1d63c789908482b3b808cc613e57267 by larryhastings in branch '3.4': [3.4] [3.5] bpo-32620: Remove failing pyenv call from CI config (GH-5274) (#5533) https://github.com/python/cpython/commit/71b94e30b1d63c789908482b3b808c

[issue32620] [3.5] Travis CI fails on Python 3.5 with "pyenv: version `3.5' not installed"

2018-02-04 Thread Larry Hastings
Larry Hastings added the comment: I wanted it in 3.4 too, it was breaking CI. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior versions: +Python 3.4 ___ Python tracker <https://

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

2018-02-07 Thread Larry Hastings
Larry Hastings added the comment: This is not an Argument Clinic problem. -- components: +Library (Lib) -Argument Clinic ___ Python tracker <https://bugs.python.org/issue32

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

2018-02-07 Thread Larry Hastings
Change by Larry Hastings : -- nosy: -larry ___ Python tracker <https://bugs.python.org/issue32786> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

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

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

2018-02-16 Thread Larry Cook
Larry Cook 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-- root/root24 2018

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

2018-03-11 Thread Larry Hastings
Larry Hastings 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/commit/942cc04ae44825ea120e3a19a80c9b

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

2018-03-11 Thread Larry Hastings
Larry Hastings 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/commit/937ac1fe069a4dc8471dff205f553d

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

2018-03-11 Thread Larry Hastings
Larry Hastings added the comment: Is this ready to close? -- ___ Python tracker <https://bugs.python.org/issue32981> ___ ___ Python-bugs-list mailing list Unsub

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

2018-05-14 Thread Larry Hastings
Larry Hastings 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/commit/77c02cdce2d7b8360771be35b7676a

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

2018-05-14 Thread Larry Hastings
Larry Hastings 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/commit/f381cfe07d15d52f27de771a62a816

[issue31170] Update to expat 2.2.4 (expat: utf8_toUtf8 cannot properly handle exhausting buffer)

2017-09-24 Thread Larry Hastings
Larry Hastings added the comment: New changeset 86a713cb0c110b6798ca7f9e630fc511ee0a4028 by larryhastings (Victor Stinner) in branch '3.4': [3.4][Security] bpo-30947, bpo-31170: Update expat from 2.2.1 to 2.2.4 (#3353) https://github.com/python/cpyt

[issue30947] Update embeded copy of libexpat from 2.2.1 to 2.2.3

2017-09-24 Thread Larry Hastings
Larry Hastings added the comment: New changeset 86a713cb0c110b6798ca7f9e630fc511ee0a4028 by larryhastings (Victor Stinner) in branch '3.4': [3.4][Security] bpo-30947, bpo-31170: Update expat from 2.2.1 to 2.2.4 (#3353) https://github.com/python/cpyt

[issue31568] Configure thinks it finds python3.5 but doesn't

2017-09-24 Thread Larry Hastings
Larry Hastings added the comment: Oh, and, Victor, I tagged you with this because git blame says you're the most person to touch PYTHON_FOR_REGEN in the makefile, checkin ab6b962ef24 . -- ___ Python tracker <https://bugs.python.org/is

[issue31568] Configure thinks it finds python3.5 but doesn't

2017-09-24 Thread Larry Hastings
New submission from Larry Hastings: On Python 3.5, the makefile pseudotarget "regen-opcode" now fails if "python3.5" can't be found on the path. What's strange is that the configure script scans to see if it can find "python3.5", and it thinks it can,

[issue31570] minor bug in documentataion relating to sending html email

2017-09-24 Thread Larry Myerscough
New submission from Larry Myerscough: I believe the documentation page https://docs.python.org/3/library/email.examples.html contains a minor error: href="http://www.yummly.com/recipe/Roasted-Asparagus-Epicurious-203718 ...should be followed by a closing double quote. This is a small d

[issue31570] minor bug in documentataion relating to sending html email

2017-09-24 Thread Larry Myerscough
Changes by Larry Myerscough : -- assignee: -> docs@python components: +Documentation, email nosy: +barry, docs@python, r.david.murray ___ Python tracker <https://bugs.python.org/issu

[issue31568] Configure thinks it finds python3.5 but doesn't

2017-09-24 Thread Larry Hastings
Larry Hastings added the comment: New changeset 70c630a7316f9f6063557786442e3c56502fe8ea by larryhastings (Victor Stinner) in branch '3.5': bpo-31568, Travis CI: Fix python3.5 (#3737) https://github.com/python/cpython/commit/70c630a7316f9f6063557786442e3c

[issue30947] Update embeded copy of libexpat from 2.2.1 to 2.2.3

2017-09-24 Thread Larry Hastings
Larry Hastings added the comment: New changeset f2492bb6aae061aea47e21fc7e56b7ab9bfdf543 by larryhastings (Victor Stinner) in branch '3.5': [3.5][Security] bpo-30947, bpo-31170: Update expat from 2.2.1 to 2.2.4 (#3354) https://github.com/python/cpyt

[issue31170] Update to expat 2.2.4 (expat: utf8_toUtf8 cannot properly handle exhausting buffer)

2017-09-24 Thread Larry Hastings
Larry Hastings added the comment: New changeset f2492bb6aae061aea47e21fc7e56b7ab9bfdf543 by larryhastings (Victor Stinner) in branch '3.5': [3.5][Security] bpo-30947, bpo-31170: Update expat from 2.2.1 to 2.2.4 (#3354) https://github.com/python/cpyt

[issue31170] Update to expat 2.2.4 (expat: utf8_toUtf8 cannot properly handle exhausting buffer)

2017-09-26 Thread Larry Hastings
Larry Hastings added the comment: New changeset 44c1b62939a6192776dc9d093546154044cb2ecb by larryhastings (Steve Dower) in branch '3.5': [3.5] bpo-31170: Fix inclusion of expat in Windows build projects. (#3751) https://github.com/python/cpython/commit/44c1b62939a6192776dc9d09354615

[issue31095] Checking all tp_dealloc with Py_TPFLAGS_HAVE_GC

2017-09-26 Thread Larry Hastings
Larry Hastings added the comment: New changeset 0fcc03367b31f44c1e1b8d3d2dd940ef1e744326 by larryhastings (INADA Naoki) in branch '3.5': bpo-31095: fix potential crash during GC (GH-2974) (#3196) https://github.com/python/cpython/commit/0fcc03367b31f44c1e1b8d3d2dd940

[issue27172] Undeprecate inspect.getfullargspec()

2017-10-09 Thread Larry Hastings
Larry Hastings added the comment: Wait, what is all this nonsense? inspect.getfullargspec is Python 3 only. It was added to support keyword-only parameters. Python 2 doesn't *have* keyword-only parameters, so it isn't needed there. Check for yourself: Python 2 do

[issue31626] Writing in freed memory in _PyMem_DebugRawRealloc() after shrinking a memory block

2017-10-31 Thread Larry Hastings
Larry Hastings added the comment: > Most, if not all, calls to _PyMem_DebugRawRealloc() are protected by > the GIL. If there is a single thread using the memory block, > I think that it's perfectly fine to write after it's deallocated. I don't quite follow where

[issue32016] Python 3.6.3 venv FAILURE

2017-11-13 Thread Larry Chen
New submission from Larry Chen : Upgraded from 3.6.1 to 3.6.3; but got an error when trying to create my virtual environment. [larrchen@rslab239 Larry]$ /opt/python3.6.3/bin/python3.6 -m venv /u/larrchen/work2/SAN/Users/Larry/rslab239_myENV_363 Error: Command '['/u/larrchen/work2

[issue30657] Unsafe arithmetic in PyString_DecodeEscape

2017-11-23 Thread Larry Hastings
Larry Hastings added the comment: I would welcome a backport of this for 3.5 and even 3.4 (if it's vulnerable, which it probably is). -- ___ Python tracker <https://bugs.python.org/is

[issue30657] [security] CVE-2017-1000158: Unsafe arithmetic in PyString_DecodeEscape

2017-11-29 Thread Larry Hastings
Larry Hastings added the comment: Resetting to "needs patch", because we still need PRs for 3.4 and 3.5 (please!). -- stage: resolved -> needs patch ___ Python tracker <https://bugs.pytho

[issue31170] Update to expat 2.2.4 (expat: utf8_toUtf8 cannot properly handle exhausting buffer)

2017-11-29 Thread Larry Hastings
Larry Hastings added the comment: New changeset 8b11e8de7aedacfbbcc8c780f3c4097396f1d1a3 by larryhastings (Victor Stinner) in branch '3.4': [3.4] bpo-31170: Fix inclusion of expat in Windows build projects (#3785) https://github.com/python/cpyt

[issue30657] [security] CVE-2017-1000158: Unsafe arithmetic in PyString_DecodeEscape

2017-12-08 Thread Larry Hastings
Larry Hastings added the comment: New changeset fd8614c5c5466a14a945db5b059c10c0fb8f76d9 by larryhastings (Miro Hrončok) in branch '3.5': bpo-30657: Fix CVE-2017-1000158 (#4664) https://github.com/python/cpython/commit/fd8614c5c5466a14a945db5b059c10

[issue30657] [security] CVE-2017-1000158: Unsafe arithmetic in PyString_DecodeEscape

2017-12-08 Thread Larry Hastings
Larry Hastings added the comment: New changeset 6c004b40f9d51872d848981ef1a18bb08c2dfc42 by larryhastings (Miro Hrončok) in branch '3.4': bpo-30657: Fix CVE-2017-1000158 (#4758) https://github.com/python/cpython/commit/6c004b40f9d51872d848981ef1a18b

[issue30657] [security] CVE-2017-1000158: Unsafe arithmetic in PyString_DecodeEscape

2017-12-08 Thread Larry Hastings
Larry Hastings added the comment: Merged into 3.4 and 3.5. Thanks for the patches! Since I see 2.7 has already had the fix committed, and these are the only three versions affected, I'm marking as closed / resolved / fixed. -- resolution: -> fixed stage: patch review -&g

[issue29572] Upgrade installers to OpenSSL 1.0.2k

2017-12-08 Thread Larry Hastings
Larry Hastings added the comment: New changeset 092db6c3cb049052fbfca15efc85ad68093676e7 by larryhastings (Victor Stinner) in branch '3.4': bpo-29572: Update Windows build to OpenSSL 1.0.2k (GH-443) (#3445) https://github.com/python/cpython/commit/092db6c3cb049052fbfca15efc85ad

[issue32245] OSError: raw write() returned invalid length on latest Win 10 Consoles

2017-12-09 Thread Larry Hastings
Larry Hastings added the comment: To confirm what Steve said: we no longer accept bug fixes for Python 3.5 (or 3.4). We only accept security fixes for 3.5 (and 3.4). -- ___ Python tracker <https://bugs.python.org/issue32

[issue32245] OSError: raw write() returned invalid length on latest Win 10 Consoles

2017-12-09 Thread Larry Hastings
Change by Larry Hastings : -- nosy: -larry ___ Python tracker <https://bugs.python.org/issue32245> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2017-12-21 Thread Larry Hastings
New submission from Larry Hastings : If you word-wrap a paragraph twice with textwrap, you may get different results. Specifically, you *will* get different results when: * the original text has a line that is too long by one character, * the last word on the line is the first word in a new

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

2017-12-21 Thread Larry Hastings
Larry Hastings added the comment: FWIW, the test program produces this output: -- original: ' . ' wrapped: ' .\n' wrapped twice: ' . ' Tr

[issue32455] PyCompile_OpcodeStackEffect() and dis.stack_effect() are not particularly useful

2018-01-03 Thread Larry Hastings
Larry Hastings added the comment: The rationale: without this information, it is impossible for anybody else to write a bytecode compiler / assembler, because when you create a code object you have to specify its stack depth. I used this information for my "maynard" bytecode

[issue32455] PyCompile_OpcodeStackEffect() and dis.stack_effect() are not particularly useful

2018-01-03 Thread Larry Hastings
Change by Larry Hastings : -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue32455> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32455] PyCompile_OpcodeStackEffect() and dis.stack_effect() are not particularly useful

2018-01-03 Thread Larry Hastings
Larry Hastings added the comment: > 1. This will actually simplify the code for calculating the stack size. Simplify whose code, the caller or the callee? It seems like it's simplifying the life of the callee (PyCompile_OpcodeStackEffectEx) at the expense of pushing complexity

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

2018-05-23 Thread Larry Hastings
Larry Hastings 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 <https://bugs.python.org/issu

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

2018-05-23 Thread Larry Hastings
Larry Hastings added the comment: Documentation changes are okay. -- ___ Python tracker <https://bugs.python.org/issue33216> ___ ___ Python-bugs-list mailin

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

2018-05-23 Thread Larry Hastings
Larry Hastings 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://devguide.python.org/triaging/#

[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-r

[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/1b141b9553424971639bde281feb1d

[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/1b141b9553424971639bde281feb1d

[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

[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. --

[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:

[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/76aa2c0a9a8dd3ac90b91e7342c8ce

[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 com

[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: > > 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 a

[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 / m

[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
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
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

[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

[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 correspo

[issue18090] dict_contains first argument declared register, and shouldn't be

2013-05-28 Thread Larry Hastings
New submission from Larry Hastings: I'm monkeying around with CPython trunk, and just noticed the following declaration in Objects/dictobject.c: static PyObject * dict_contains(register PyDictObject *mp, PyObject *key) Although dict_contains is a static method, it'

[issue18091] Remove PyNoArgsFunction

2013-05-28 Thread Larry Hastings
New submission from Larry Hastings: There's a typedef in methodobject.h called PyNoArgsFunction. You might think it's used for METH_NOARGS functions--you'd be wrong, those use PyCFunction and pass in NULL for args. No, PyNoArgsFunction is never used. Nor is it documented.

[issue18090] dict_contains first argument declared register, and shouldn't be

2013-05-29 Thread Larry Hastings
Changes by Larry Hastings : -- nosy: +Mark.Shannon, rhettinger ___ Python tracker <http://bugs.python.org/issue18090> ___ ___ Python-bugs-list mailing list Unsub

[issue18091] Remove PyNoArgsFunction

2013-05-29 Thread Larry Hastings
Larry Hastings added the comment: Either of you gentlemen care to offer an opinion? -- nosy: +benjamin.peterson, pitrou ___ Python tracker <http://bugs.python.org/issue18

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