Terry J. Reedy added the comment:
I think this was improperly closed. #22611 was about pip. This one is about
test_venv failing today, 8 days after 22611 was closed, when optional module
_ctypes is not built. The resolution of this issue should be that either the
buildbots start using the
Ned Deily added the comment:
Issue22611 documents exactly the same failure so if this issue was improperly
closed than Issue22611 was, too. So I would think the earlier issue would be
the place to discuss this. But, in any case, I think the issue is that the
latest version of pip hasn't
Donald Stufft added the comment:
It hasn't been released yet, test_venv could be temp disabled if ctypes isn't
available though.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22669
___
Ned Deily added the comment:
As I understand it, the reason test_venv is failing is because of a defect in
the pip vendored colorama. The test has found the unexpected dependency of the
vendored package with ctypes. It's good that the test failed. The right
solution is to provide the
Donald Stufft added the comment:
More or less. You could argue whether it's a defect or not but it
unconditionally imports ctypes and apparently that is an optional module (I had
no idea it was personally, and I can't find any documentation to say that it
is). colorama doesn't really *need*
Vajrasky Kok added the comment:
Here is the patch.
--
keywords: +patch
nosy: +vajrasky
Added file: http://bugs.python.org/file36967/better_err_listfuncs_trace.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22642
New submission from Samuel:
Today I compile try Python 3.4.2 on slackware-current in this way
./configure \
--prefix=/usr \
--libdir=/usr/lib64 \
--mandir=/usr/man \
--with-threads \
--enable-ipv6 \
--enable-shared \
make \
LIBDIR=/usr/lib64 \
SCRIPTDIR=/usr/lib64
make install
Georg Brandl added the comment:
It seems that you should give SCRIPTDIR=/usr/lib64 to the make install
step, not the make step. Are you sure the slackbuild instructions are
missing that?
--
nosy: +georg.brandl
resolution: - third party
status: open - closed
New submission from gigaplastik:
The online documentation for class io.BufferedIOBase states the following:
Besides, the read() method does not have a default implementation that defers
to readinto().
According to the documentation for class io.RawIOBase (which the statement
compares with)
Samuel added the comment:
I use an old slackbuild, with new
http://slackbuilds.org/slackbuilds/14.1/python/python3/python3.SlackBuild wich
have patch file which correct the lib64 path installation work fine
--
___
Python tracker
Roundup Robot added the comment:
New changeset 3fa5d6a4bf78 by Georg Brandl in branch '3.4':
Closes #22663: patchcheck: only modify text files under Doc/
https://hg.python.org/cpython/rev/3fa5d6a4bf78
--
nosy: +python-dev
resolution: - fixed
stage: - resolved
status: open - closed
Georg Brandl added the comment:
What's actually curious is Getting the list of files that have been
added/changed ... 448 files. What does hg status say? Why are there 448
changed files?
This is of course still a bug in patchcheck.py, it shouldn't touch non-RST
files.
--
Roundup Robot added the comment:
New changeset 4d53b34dd493 by Georg Brandl in branch '2.7':
Closes #22663: patchcheck: only modify text files under Doc/
https://hg.python.org/cpython/rev/4d53b34dd493
--
___
Python tracker rep...@bugs.python.org
Ronald Oussoren added the comment:
First of all, sorry about the slow response.
Vinay: I don't quite understand why you use __PYVENV_LAUNCHER__: When I create
a pyvenv using python 3.3 (with a oldish build from the 3.3 branch)
sys.executable point to a binary in the venv without mucking with
Serhiy Storchaka added the comment:
Thank you Roger for your suggestion. Here is a patch which handless subprocess
output (it is more complicated than Guido's demo because we need Unicode
strings, not bytes).
--
keywords: +patch
nosy: +serhiy.storchaka
stage: needs patch - patch
Berker Peksag added the comment:
Here is a patch. I also added SameFileError.
--
assignee: - berker.peksag
keywords: +patch
nosy: +berker.peksag
stage: - patch review
versions: +Python 3.5
Added file: http://bugs.python.org/file36969/issue22665.diff
Berker Peksag added the comment:
Here is a patch for 2.7.
--
nosy: +berker.peksag
stage: needs patch - patch review
Added file: http://bugs.python.org/file36970/issue16041_27.diff
___
Python tracker rep...@bugs.python.org
Changes by Berker Peksag berker.pek...@gmail.com:
Added file: http://bugs.python.org/file36971/issue16041_27.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16041
___
Changes by Berker Peksag berker.pek...@gmail.com:
Removed file: http://bugs.python.org/file36970/issue16041_27.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16041
___
Akira Li added the comment:
It looks like the issue can be reduced to whether or not to show this
output:
import os
os.write(1, b'should we see this in idle?\n')
should we see this in idle?
28
assuming sys.__stdout__.fileno() == fileno(stdout) == 1.
If should we see this in idle? is
Roundup Robot added the comment:
New changeset 98f16237e1e2 by Berker Peksag in branch '3.4':
Issue #22186: Fix typos in Lib/.
https://hg.python.org/cpython/rev/98f16237e1e2
New changeset 57b19af3d71b by Berker Peksag in branch 'default':
Issue #22186: Fix typos in Lib/.
Berker Peksag added the comment:
Thanks for the patch, Févry.
--
assignee: rhettinger - berker.peksag
resolution: - fixed
stage: commit review - resolved
status: open - closed
versions: +Python 3.4, Python 3.5
___
Python tracker
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: needs patch - patch review
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22642
___
New submission from Jacopo Nespolo:
Argparse fails to recognise negative numbers in scientific notation as valid
numbers.
Example:
Suppose the program test.py has this option.
par.add_argument('-a', type=float)
then './test.py -a -1e5' will fail, as well as -1.0e-4, -.5E+4 and variations
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: - needs patch
type: performance - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21949
___
New submission from Aaron Myles Landwehr:
If I execute the following code, the file descriptor for CONOUT$ has a fileno
!= 1. With CONIN$ the fileno != 0. Similar code in another language such as
perl produces the desired results.
sys.stdout.close();
sys.stdout = open(CONOUT$, w);
New submission from Dolda2000:
Like it says on the tin, it would be nice if strsignal(3) were added to the
signal module.
--
components: Library (Lib)
messages: 229691
nosy: Dolda2000
priority: normal
severity: normal
status: open
title: strsignal() missing from signal module
type:
Martin v. Löwis added the comment:
The problem is this:
Error 1721. There is a problem with this Windows Installer package. A program
required for this install to complete could not be run. Contact your support
personnel or package vendor. Action: RemovePip, location:
C:\Python34\python.exe,
Serhiy Storchaka added the comment:
Please open new issue for this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15204
___
___
R. David Murray added the comment:
This is Windows specific, right?
From a quick google is not clear that CONOUT$ *should* point 1, since it
supposed to get at the console regardless of whether there has been any
redirection. Certainly, relying on it doing so would seem to be problematic.
R. David Murray added the comment:
This seems like a reasonable request to me. Do you want to propose a patch?
--
nosy: +r.david.murray
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22674
Serhiy Storchaka added the comment:
It would be good to write tests, but for some tests it is difficult (if
possible). At least I did not see ways how to do this.
--
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
Benjamin Peterson added the comment:
A dictionary, signal number - signal name might be more friendly.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22674
___
R. David Murray added the comment:
Yeah, the thinnest possible exposure of the strsignal API wouldn't really be
that sensible for Python. But making the OS information available *somehow*
makes sense.
--
___
Python tracker rep...@bugs.python.org
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20079
___
eryksun added the comment:
In Python 2, the closer for sys.stdout is _check_and_flush, which flushes the
stream without closing the underlying FILE.
https://hg.python.org/cpython/file/ee879c0ffa11/Python/sysmodule.c#l1377
In Python 3, io.FileIO won't close the underlying file descriptor if
Ned Deily added the comment:
A quick smoke test of the patch (solely on OS X) looks like it works pretty
well. Not surprisingly, it doesn't fix anything when using the deprecated -n
(no subprocess) option but that's not a problem. One more serious issue is
that, depending on the length of
Aaron Myles Landwehr added the comment:
Yeah, it is windows specific. The problem is that if you open conout$ and the
descriptor isn't 1, the buffer doesn't flush normally so the console won't
display anything unless you manually flush it.
Now, why would you want to redirect STDOUT to the
Changes by Robert Collins robe...@robertcollins.net:
Removed file: http://bugs.python.org/file36716/issue22457.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22457
___
Robert Collins added the comment:
Updated patch.
--
Added file: http://bugs.python.org/file36973/issue22457.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22457
___
Aaron Myles Landwehr added the comment:
Note, I just read eryksun's response. That does indeed fix the issues without
API changes.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22673
___
Changes by Robert Collins robe...@robertcollins.net:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17401
___
Roundup Robot added the comment:
New changeset e906e23931fa by Robert Collins in branch 'default':
Close #19746: expose unittest discovery errors on TestLoader.errors
https://hg.python.org/cpython/rev/e906e23931fa
--
nosy: +python-dev
resolution: - fixed
stage: - resolved
status: open
Changes by Robert Collins robe...@robertcollins.net:
Added file: http://bugs.python.org/file36974/issue7559.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7559
___
Robert Collins added the comment:
Patch polished up and updated - ready for review IMO.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7559
___
Terry J. Reedy added the comment:
I have avoided editing the Idle docs because of this issue, but idle.rst needs
some corrections and updates now, and will soon need some additions. I want to
only edit idle.rst. So I want to resolve this issue soon.
As I mentioned before, I think the best
R. David Murray added the comment:
OK, do we have a documentation issue here with respect to actually closing
the standard streams, or do we just close this as not a bug? Now that issue
17401 is closed, in python 3.5 you will at least be able to tell that the
standard stream fdclose is set
Robert Collins added the comment:
I think its worth a note that the stdio streams are constructed specially, even
with the repr improvements.
--
nosy: +rbcollins
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22673
Changes by R. David Murray rdmur...@bitdance.com:
--
assignee: - docs@python
components: +Documentation -IO
nosy: +docs@python
stage: - needs patch
title: Incorrect fileno for CONOUT$ / stdout - document the special features
(eg: fdclose=False) of the standard streams
versions:
Terry J. Reedy added the comment:
A blog post replay mentioned
http://tkinter.unpythonic.net/wiki/A_Text_Widget_with_Line_Numbers. I will
take a look when I get back to this issue. I have also thought trying the
Extension configure menu approach #3068 of pasting widgets on a scrollable
Benedikt Morbach added the comment:
fixed with issue17219
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18976
___
Terry J. Reedy added the comment:
http://inventwithpython.com/blog/2011/11/29/the-things-i-hate-about-idle-that-i-wish-someone-would-fix/comment-page-1/#comment-2726
Professor teaching Python says '4. UNFRIENDLY: Forcing a kill of a running
script by clicking the X close button brings up the
Zachary Ware added the comment:
Sure; here's a patch. I suspect we may want to try giving Sphinx some
different options to clean up the output a bit, but I'm not experienced enough
with Sphinx to have any specific suggestions.
--
Added file:
Terry J. Reedy added the comment:
General comment: I am less willing to casually change defaults or even remove
features, and upset current habits of current users, than the blogger and
responders. I now have an organized list of all open Idle issues. I am
checking this list against that
54 matches
Mail list logo