[issue42628] binascii doesn't work on some base64

2021-01-29 Thread Kent Watsen
Kent Watsen added the comment: I see. There are two issues: 1) my `base64` and `openssl` CLI commands were flipped, as you point out, giving a false positive - oops ;) 2) more importantly, the base64 value "ue==" is invalid (there is no binary input that could possibly genera

[issue42628] binascii doesn't work on some base64

2021-01-23 Thread Kent Watsen
Change by Kent Watsen : -- nosy: -kwatsen2 ___ Python tracker <https://bugs.python.org/issue42628> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42628] binascii doesn't work on some base64

2021-01-23 Thread Kent Watsen
Kent Watsen added the comment: No activity in 3 weeks. Selecting a couple components to give it a bump. -- components: +C API, Library (Lib) nosy: +kwatsen ___ Python tracker <https://bugs.python.org/issue42

[issue42628] binascii doesn't work on some base64

2020-12-12 Thread Kent Watsen
New submission from Kent Watsen : [Tested on 3.8.2 and 3.9.0, bug may manifest in other versions too] The IETF sometimes uses the dummy base64 value "base64encodedvalue==" in specifications in lieu of a block of otherwise meaningless b64. Even though it is a dummy value, the va

[issue36011] ssl - tls verify on Windows fails

2020-11-15 Thread Tom Kent
Tom Kent added the comment: Christian's message indicated that a workaround was possible by adding mozilla's certs to windows cert store. I'm sure there are sysadmins who will really hate this idea, but I've successfully implemented it in a windows docker image, an

[issue42252] Embeddable Python indicates that it uses PYTHONPATH

2020-11-03 Thread Tom Kent
Tom Kent added the comment: A couple things... >> One possible use-case is to package it along with another program to use the >> interpreter. > This is the primary use case. If you're doing something else with it, you're > probably misusing it :) Interesting,

[issue42252] Embeddable Python indicates that it uses PYTHONPATH

2020-11-03 Thread Tom Kent
Tom Kent added the comment: I'm not sure I agree with that. One possible use-case is to package it along with another program to use the interpreter. In this case they could use the other program's native language features (e.g. .Net's Process.Start(), Win32 API's C

[issue42252] Embeddable Python indicates that it uses PYTHONPATH

2020-11-03 Thread Tom Kent
New submission from Tom Kent : According to the documentation https://docs.python.org/3/using/windows.html#windows-embeddable > When extracted, the embedded distribution is (almost) fully isolated > from the user’s system, including environment variables, system registry > sett

[issue18233] SSLSocket.getpeercertchain()

2020-01-31 Thread Kent Watsen
Kent Watsen added the comment: I agree that having both would be best, but there is a world of difference between a must-have (peer_cert_chain) and what seems to be a nice-to-have (authed_peer_cert_chain). My request for clarification was not that I don't understand bags, etc. (s

[issue18233] SSLSocket.getpeercertchain()

2020-01-30 Thread Kent Watsen
Kent Watsen added the comment: It seems that we're talking about the same thing, but I want the cert-chain the peer sent without any smarts, exactly how OpenSSL's SSL_get_peer_cert_chain() works and, importantly, without stapling any root chain certs the client did not send itse

[issue18233] SSLSocket.getpeercertchain()

2020-01-30 Thread Kent Watsen
Kent Watsen added the comment: I don't understand the concern issues being raised for this patch, and also may have a use-case not mentioned yet. For the concern issue, as I understand it, the ability to call getpeercert() or the proposed getpeercertchain() is only after the TLS sessio

[issue31242] Add SSLContext.set_verify_callback()

2020-01-03 Thread Kent Watsen
Kent Watsen added the comment: Very much needing this! My situation is a mutli-tenant asynchio-based server whereby each tenant is able to configure other clients that can connect. The current strategy requires all certs to be known up-front that, for now, necessitates a painful restart

[issue31242] Add SSLContext.set_verify_callback()

2020-01-03 Thread Kent Watsen
Change by Kent Watsen : -- nosy: +kwatsen ___ Python tracker <https://bugs.python.org/issue31242> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34028] Python 3.7.0 wont compile with SSL Support 1.1.0 > alledged missing X509_VERIFY_PARAM_set1_host() support

2019-02-01 Thread Kent Scheidegger
Kent Scheidegger added the comment: I was unable to get it working even with all the suggestions in this thread. I have a shared account on a system with only Python 2.7 and an old version of openssl. I have write access only to my user directory. I installed a new openssl in a local

[issue31884] subprocess set priority on windows

2017-10-27 Thread Mr JG Kent
Change by Mr JG Kent : -- keywords: +patch pull_requests: +4117 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue31884> ___ ___ Python-

[issue31884] subprocess set priority on windows

2017-10-27 Thread Mr JG Kent
Change by Mr JG Kent : -- components: Library (Lib) nosy: JamesGKent priority: normal severity: normal status: open title: subprocess set priority on windows type: enhancement ___ Python tracker <https://bugs.python.org/issue31

[issue22168] Turtle Graphics RawTurtle problem

2014-08-07 Thread Kent D. Lee
New submission from Kent D. Lee: This is either a turtle graphics or tkinter problem. In Python 3.4 it appears that something in Turtle Graphics broke or at least changed. I get the following error when trying to run a program that works in Python 3.1 and 3.2. Kent's Mac> python3

[issue17390] display python version on idle title bar

2014-06-04 Thread Kent Johnson
Changes by Kent Johnson : -- nosy: -kjohnson ___ Python tracker <http://bugs.python.org/issue17390> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21244] distutils fails to build C extensions with XCode 5.1 and OS X 10.9 (Mavericks)

2014-04-15 Thread Kent Frazier
New submission from Kent Frazier: Using the stock Python shipped by Apple with OS X 10.9 Mavericks and XCode 5.1, Mercurial (and other Python extensions) encounter an error like: cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd

[issue11508] Virtual Interfaces cause uuid._find_mac to raise a ValueError under Linux

2013-10-29 Thread Kent Frazier
Kent Frazier added the comment: Serhiy, I signed the form. Let me know if you need anything else. -- ___ Python tracker <http://bugs.python.org/issue11

[issue16754] Incorrect shared library extension on linux

2013-04-20 Thread kent
Changes by kent : -- nosy: +Thekent ___ Python tracker <http://bugs.python.org/issue16754> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue17719] IDLE help text refers to incorrect Python version

2013-04-13 Thread Kent Johnson
Kent Johnson added the comment: Note: this text does not appear in Doc/library/idle.rst so it does not have to be corrected there. -- ___ Python tracker <http://bugs.python.org/issue17

[issue17719] IDLE help text refers to incorrect Python version

2013-04-13 Thread Kent Johnson
New submission from Kent Johnson: The IDLE help text says, "Running without a subprocess: (DEPRECATED in Python 3.5 see Issue 16123)." According to the referenced issue, this feature is scheduled to be deprecated in *3.4* and *removed* in 3.5. The attached patch corrects the

[issue17390] display python version on idle title bar

2013-04-13 Thread Kent Johnson
Kent Johnson added the comment: issue17390_editor_title.patch is not correct, it changes the title on any window that inherits from EditorWindow, including the shell window. Here is a new patch that changes short_title() instead of saved_change_hook(), so it can be overridden by derived

[issue11820] idle3 shell os.system swallows shell command output

2011-04-16 Thread kent
kent added the comment: The getoutput and getstatusoutput provide the expect output which can be captured >>> x=subprocess.getoutput('ls') >>> print(x) hs_err_pid28274.log LP4E-examples mydir.pth mydir.pth~ PP4E-Examples-1.2 ProgMan Python_dir Would it

[issue11820] idle3 shell os.system swallows shell command output

2011-04-16 Thread kent
kent added the comment: I had kind of figured it might be something like this. I ran the following code in the xterm interpreter: >>> x=subprocess.call('ls') bin Documents eclipse local Pictures tmp workspace Desktop Downloads hamlib Music Templates Vi

[issue11820] idle3 shell os.system swallows shell command output

2011-04-15 Thread kent
kent added the comment: I tried using subprocess.Popen and subprocess.call, both of which did the same behavior. Under the interpreter I get the desired string output: >>> subprocess.call('ls') bin Documents eclipse local Pictures tmp workspace Desktop Downlo

[issue11820] idle3 shell os.system swallows shell command output

2011-04-10 Thread kent
kent added the comment: When starting idle from a terminal the output from the command is sent to the terminal. When starting idle from the desktop, the output disappears except for the exit status. Same behavior with 2.65 -- ___ Python tracker

[issue11820] idle3 shell os.system swallows shell command output

2011-04-10 Thread kent
kent added the comment: running it as a file from idle gives the same result. import os print (os.system('pwd')) 0 -- ___ Python tracker <http://bugs.python.o

[issue11820] idle3 shell os.system swallows shell command output

2011-04-10 Thread kent
New submission from kent : attempting to run an os.system command under the idle 3 shell swallows the out put. Idle 3 is running on a 32 bit kde mandriva linux. >>> import os >>> os.system('ls') 0 >>> os.system('pwd') 0 as you can see it retur

[issue11508] Virtual Interfaces cause uuid._find_mac to raise a ValueError under Linux

2011-03-14 Thread Kent Frazier
Kent Frazier added the comment: I was mistaken about the issues with mocking. I am submitting a new patch with a test included. -- Added file: http://bugs.python.org/file21143/uuid_ValueError_fix.diff ___ Python tracker <http://bugs.python.

[issue11508] Virtual Interfaces cause uuid._find_mac to raise a ValueError under Linux

2011-03-14 Thread Kent Frazier
Changes by Kent Frazier : Removed file: http://bugs.python.org/file21136/uuid_ValueError_fix.diff ___ Python tracker <http://bugs.python.org/issue11508> ___ ___ Python-bug

[issue11508] Virtual Interfaces cause uuid._find_mac to raise a ValueError under Linux

2011-03-14 Thread Kent Frazier
New submission from Kent Frazier : If a virtual interface is present in the system, such as if the user is connected to a VPN, then there may be entries in ifconfig that do not conform to the expected `HWAddr 01:23:45:67:89:ab` MAC address format expected by uuid._find_mac. For instance

[issue10303] small inconsistency in tutorial

2010-11-07 Thread Kent Johnson
Kent Johnson added the comment: Attached patch deletes the referenced sentence. -- keywords: +patch nosy: +kjohnson Added file: http://bugs.python.org/file19536/issue10303.diff ___ Python tracker <http://bugs.python.org/issue10

[issue8329] select.select() can return lists with identical id()'s

2010-04-06 Thread Mike Kent
Changes by Mike Kent : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue8329> ___ ___ Python-bugs-list mailing list Unsubscri

[issue8329] select.select() can return lists with identical id()'s

2010-04-06 Thread Mike Kent
New submission from Mike Kent : If select.select() returns two or more empty lists, these empty lists will all refer to the same list; that is, they will have identical id()'s. If you then have reason to alter one of the returned empty lists, you are altering all of the returned empty

[issue8267] Tutorial section on dictionary keys recommends sort instead of sorted

2010-04-02 Thread Kent Engström
Kent Engström added the comment: Is should have mentioned that we're discussion a section of the tutorial concerned with dictionaries. It is not a section on lists, sequences or sorting as such. My colleague, who asked me for help after getting confused by sort, was trying to loop ove

[issue8267] Tutorial section on dictionary keys recommends sort instead of sorted

2010-03-30 Thread Kent Engström
Changes by Kent Engström : -- title: Tutorial secion on dictionary keys recommends sort instead of sorted -> Tutorial section on dictionary keys recommends sort instead of sorted ___ Python tracker <http://bugs.python.org/iss

[issue8267] Tutorial secion on dictionary keys recommends sort instead of sorted

2010-03-30 Thread Kent Engström
New submission from Kent Engström : The 2.[567] documentation recommends the use of the sort() method to get a sorted list of dictionary keys. If would be less confusing to new users if we recommended the sorted() functions instead. The corresponding piece of Python 3 documentation already uses

[issue7935] Cross-reference ast.literal_eval() from eval() docs

2010-02-15 Thread Kent Johnson
New submission from Kent Johnson : eval() is a known security hole. Since Python 2.6 ast.literal_eval() provides a better alternative in many cases. literal_eval() is not as well known as eval() and not easy to find even if you know it exists (but don't remember the name). eval() com

[issue7738] IDLE hang when tooltip comes up in Linux

2010-01-19 Thread Kent Yip
New submission from Kent Yip : IDLE will hang when a tooltip shows in a Linux system (Ubuntu). do this: t = (1,2,3) len(t) it will hang after the closing ')', when you press return nothing will happen or when you press any keys, it won't show up. However, you can work around

[issue7310] Unhelpful __repr__() in os.environ

2009-11-12 Thread Kent Johnson
New submission from Kent Johnson : In Python 2.x, os.environ extends UserDict.IterableUserDict and therefore os.environ.__repr__() shows the environment. This makes it easy and intuitive to view the entire environment in the interactive interpreter. In Python 3.1, os.environ extends

[issue4156] Docs for BaseHandler.protocol_xxx methods are unclear

2008-10-21 Thread Kent Johnson
New submission from Kent Johnson <[EMAIL PROTECTED]>: In the docs for urllib2.BaseHandler previous to Python 2.6, the names of the protocol_xxx() methods were spelled with 'protocol' in italics to indicate that it is a placeholder; the actual method name is e.g. htt

[issue4017] IDLE 2.6 broken on OSX (Leopard)

2008-10-07 Thread Kent Johnson
Changes by Kent Johnson <[EMAIL PROTECTED]>: -- nosy: +kjohnson ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4017> ___ ___ Python

[issue4012] Minor errors in multiprocessing docs

2008-10-02 Thread Kent Johnson
Kent Johnson <[EMAIL PROTECTED]> added the comment: On Thu, Oct 2, 2008 at 1:07 PM, Jesse Noller <[EMAIL PROTECTED]> wrote: > > Jesse Noller <[EMAIL PROTECTED]> added the comment: > > Which examples are you talking about Georg? I think you mean me, not Georg...

[issue4012] Minor errors in multiprocessing docs

2008-10-01 Thread Kent Johnson
New submission from Kent Johnson <[EMAIL PROTECTED]>: In the docs for AsyncResult http://docs.python.org/dev/library/multiprocessing.html#multiprocessing.pool.AsyncResult "get([timeout)" is missing a ] In the example following, it refers to pool.applyAsync() in two places; the

[issue3866] int() doesn't 'guess'

2008-09-14 Thread Kent Johnson
New submission from Kent Johnson <[EMAIL PROTECTED]>: The library reference for int() says, "If radix is zero, the proper radix is guessed based on the contents of string; the interpretation is the same as for integer literals." The use of the word 'guess' implies th

[issue3671] What's New in 2.6 - corrections

2008-09-04 Thread Kent Johnson
Kent Johnson <[EMAIL PROTECTED]> added the comment: For the itertools examples, perhaps you could remove the [ ] from the result text so it doesn't look like a list. For example: itertools.izip_longest([1,2,3], [1,2,3,4,5]) -> (1, 1), (2, 2), (3, 3), (None

[issue3670] Reporting bugs - no such sections

2008-08-24 Thread Kent Johnson
Kent Johnson <[EMAIL PROTECTED]> added the comment: You should add something like the old "About this document" footer. AFAICT there is no information in the new docs about how to report a problem with the docs. ___ Python tracker <[EMAI

[issue3671] What's New in 2.6 - corrections

2008-08-24 Thread Kent Johnson
New submission from Kent Johnson <[EMAIL PROTECTED]>: These are minor corrections to the What's New in Python 2.6[b3] doc. Note: the PEP references are to the headers in What's New, not the actual PEPs - PEP 371: The multiprocessing Package - "apply() or apply_a

[issue3670] Reporting bugs - no such sections

2008-08-24 Thread Kent Johnson
New submission from Kent Johnson <[EMAIL PROTECTED]>: The "Reporting Bugs" section of the Python 2.6b3 docs http://docs.python.org/dev/bugs.html says, please use either the “Add a comment” or the “Suggest a change” features of the relevant page in the most recent online docum

[issue3619] A more informative message for ImportError

2008-08-20 Thread Kent Tenney
New submission from Kent Tenney <[EMAIL PROTECTED]>: from foo import bar ImportError: cannot import name bar The error may be due to the wrong 'foo' being found, some investigation is required. If the the ImportError message included the filename for 'foo', th

[issue1163367] correct/clarify documentation for super

2008-03-21 Thread Kent Johnson
Kent Johnson <[EMAIL PROTECTED]> added the comment: This issue seems to have foundered on finding an explanation for the finer points of super(). Perhaps the glaring errors could at least be corrected, or the fine points could be omitted or glossed over? For example change the first sente

[issue1463] Minor error in mimetypes docs

2007-11-19 Thread Kent Johnson
New submission from Kent Johnson: In the mimetypes module docs http://docs.python.org/lib/module-mimetypes.html the section on add_type() should read "When strict is *true (the default)* the mapping". -- components: Documentation messages: 57636 nosy: kjohnson severity: mi

[issue1462] About this document refers to SourceForge tracker

2007-11-19 Thread Kent Johnson
New submission from Kent Johnson: "About this document" http://docs.python.org/lib/about.html still refers to "the Python Bug Tracker at SourceForge". The bug tracker link is incorrect (should be the new tracker) and the SF reference is obsolete. -- components: Do