New submission from kent fuzzba...@comcast.net:
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 returns a 0 indicating successful
kent fuzzba...@comcast.net added the comment:
running it as a file from idle gives the same result.
import os
print (os.system('pwd'))
0
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11820
kent fuzzba...@comcast.net 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
kent fuzzba...@comcast.net 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
kent fuzzba...@comcast.net 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
kent fuzzba...@comcast.net 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 be a good thing to have
Changes by kent fuzzba...@comcast.net:
--
nosy: +Thekent
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16754
___
___
Python-bugs-list mailing list
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 sentence
Kent Johnson k...@kentsjohnson.com added the comment:
Attached patch deletes the referenced sentence.
--
keywords: +patch
nosy: +kjohnson
Added file: http://bugs.python.org/file19536/issue10303.diff
___
Python tracker rep...@bugs.python.org
http
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 docs spell
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...I was referring to the example
Changes by Kent Johnson [EMAIL PROTECTED]:
--
nosy: +kjohnson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4017
___
___
Python-bugs-list mailing list
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.
http_opener().
http
New submission from Kent Yip yes...@gmail.com:
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
New submission from Kent Johnson k...@kentsjohnson.com:
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
New submission from Kent Engström k...@lysator.liu.se:
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
Changes by Kent Engström k...@lysator.liu.se:
--
title: Tutorial secion on dictionary keys recommends sort instead of sorted -
Tutorial section on dictionary keys recommends sort instead of sorted
___
Python tracker rep...@bugs.python.org
http
New submission from Mike Kent mike.k...@sage.com:
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
Changes by Mike Kent mike.k...@sage.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8329
___
___
Python-bugs-list mailing
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', the
problem would be obvious
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 documentation at
http
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_async, adding a single request
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 [EMAIL PROTECTED]
http
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, 4), (None, 5
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
that there is some heuristic used
New submission from Kent Johnson k...@kentsjohnson.com:
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
New submission from Kent Frazier kentfraz...@gmail.com:
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
Changes by Kent Frazier kentfraz...@gmail.com:
Removed file: http://bugs.python.org/file21136/uuid_ValueError_fix.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11508
Kent Frazier kentfraz...@gmail.com 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 rep
Kent Frazier added the comment:
Serhiy, I signed the form. Let me know if you need anything else.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11508
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
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 help text
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 rep...@bugs.python.org
http://bugs.python.org/issue17719
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
Changes by Kent Johnson k...@kentsjohnson.com:
--
nosy: -kjohnson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17390
___
___
Python-bugs-list
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
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 itself (though
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. (see my
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 session has
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
Change by Kent Watsen :
--
nosy: +kwatsen
___
Python tracker
<https://bugs.python.org/issue31242>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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, and wanted to document
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
>
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 CreateProcess(), Even
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,
Change by Kent Watsen :
--
nosy: -kwatsen2
___
Python tracker
<https://bugs.python.org/issue42628>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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 possibl
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.4 c4.py
Change by Mr JG Kent <james_...@hotmail.co.uk>:
--
components: Library (Lib)
nosy: JamesGKent
priority: normal
severity: normal
status: open
title: subprocess set priority on windows
type: enhancement
___
Python tracker <rep...@bugs.p
Change by Mr JG Kent <james_...@hotmail.co.uk>:
--
keywords: +patch
pull_requests: +4117
stage: -> patch review
___
Python tracker <rep...@bugs.python.org>
<https://bugs.pyt
52 matches
Mail list logo