Changes by paul j3 ajipa...@gmail.com:
Added file: http://bugs.python.org/file36160/issue22029_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22029
___
STINNER Victor added the comment:
It may be related to the issue #17911.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22104
___
___
Serhiy Storchaka added the comment:
I'm even not sure that current code works with Tk 8.3. We have no buildbots
with Tk 8.3 and compatibility with it was not tested for years.
Here is a patch which drops support of Tk 8.3.
--
stage: - patch review
title: Update deprecated Tcl
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21580
___
___
Python-bugs-list
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: test needed - resolved
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11077
___
Roundup Robot added the comment:
New changeset 7de64def6565 by Serhiy Storchaka in branch '2.7':
Issue #21951: Temporary skip crashing test_user_command on AIX.
http://hg.python.org/cpython/rev/7de64def6565
New changeset 31f4cb1fede9 by Serhiy Storchaka in branch '3.4':
Issue #21951: Temporary
Serhiy Storchaka added the comment:
Link to log with a crash:
http://buildbot.python.org/all/builders/PPC64%20AIX%203.x/builds/2442/steps/test/logs/stdio
--
stage: patch review - needs patch
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 963214896b22 by Victor Stinner in branch 'default':
Issue #22018: Fix test_signal: use assertEqual() not assertIs()
http://hg.python.org/cpython/rev/963214896b22
--
___
Python tracker
Changes by STINNER Victor victor.stin...@gmail.com:
--
components: +asyncio
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22104
___
___
STINNER Victor added the comment:
It may be related to the issue #17911.
I checked: it is. The strange reference count can be seen with a single test.
Example:
$ ./python -m test -R 3:3: -m test_default_exc_handler_coro test_asyncio
[1/1] test_asyncio
beginning 6 repetitions
123456
..
Martin v. Löwis added the comment:
The patch looks fine, please apply.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22085
___
___
Martin v. Löwis added the comment:
The 3.4 patch looks fine, please apply.
I'm -1 on the 2.7 patch. I think it would be better to add a _tkinter helper
function to create Tcl byte array objects. Alternatively, the binary format
command might help. OTOH, I don't care about 2.7, so feel free to
Changes by Masato HASHIMOTO cabezon.hashim...@gmail.com:
--
nosy: +hashimo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2052
___
___
New submission from Charles Newey:
URL: https://docs.python.org/2/tutorial/controlflow.html#pass-statements
Quoted verbatim:
The pass statement does nothing. It can be used when a statement is required
syntactically but the program requires no action. For example:
while True:
... pass
Ezio Melotti added the comment:
Do you have any suggestion?
The section already includes examples about empty classes and as placeholder
inside functions, and the only other realistic situations I can think of is
inside an except to ignore errors -- but that might be considered an
Charles Newey added the comment:
Your point about using pass with the with statement sounds like a better
example than using pass in a loop.
Perhaps even something like adding a note to the example to clarify it:
# Don't use this in Python code - it is for illustrative purposes only
while
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10572
___
Michael Foord added the comment:
I still dislike moving tests around.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10572
___
___
R. David Murray added the comment:
How about something like:
for x in my_generator():
pass # Exhaust co-routine generator to make sure all data is processed.
I have no idea if you'd ever actually do that in a well-structured co-routine
context, though, not having written very much
Xavier de Gaye added the comment:
This is because breakpoints number are class attributes. With the following
change, the ./python -m test test_pdb test_pdb is ok:
$ hg diff
diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py
--- a/Lib/test/test_pdb.py
+++ b/Lib/test/test_pdb.py
@@ -614,6
Xavier de Gaye added the comment:
Sorry, I posted to the wrong issue, please ignore my previous message.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20746
___
Changes by Xavier de Gaye xdeg...@gmail.com:
Added file: http://bugs.python.org/file36163/refleak_3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20766
___
Xavier de Gaye added the comment:
This is because breakpoints number are class attributes. With the following
change, the ./python -m test test_pdb test_pdb is ok:
$ hg diff
diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py
--- a/Lib/test/test_pdb.py
+++ b/Lib/test/test_pdb.py
@@ -614,6
New submission from Roger Upole:
_mkstemp_inner assumes that an access denied error means that it
has generated a filename that matches an existing foldername.
However, in the case of a folder for which you don't have permissions to
create a file, this means it will loop thru the maximum
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: patch review - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21591
___
___
Antoine Pitrou added the comment:
Le 30/07/2014 06:08, STINNER Victor a écrit :
This test uses a coroutine which raises an exception. The exception
is
stored in a Task object. But the exception contains also a traceback
which indirectly creates a reference cycle.
regrtest calls gc.collect().
Charles Newey added the comment:
@David I have no idea either (no having written much of that sort of code
myself either), but that looks more sensible.
I'm just nitpicking really, anyway.
--
___
Python tracker rep...@bugs.python.org
Ezio Melotti added the comment:
Keep in mind that this is in one of the first sections of the tutorial, where
try/except, with, and generators have not been introduced yet.
Maybe the comment could be changed to a simpler loop forever (use ctrl+c to
stop) so that it doesn't suggest that this is
Larry Hastings added the comment:
Here's a fresh diff. I did some cleanup this time (Clinic now generates the
#ifndef versions of the METHODDEF structures) and I believe solved everything
MSVC complains about.
Zachary, can you try this one?
--
Added file:
Larry Hastings added the comment:
Here's a fresh patch. After discussing with Martin at EuroPython, I moved the
implementation into Python/getargs.c, and the prototypes into modsupport.h.
I'm still using the example of repeat.new to show what it looks like and how
it works. However I don't
Larry Hastings added the comment:
Whoops, here's the patch.
--
Added file: http://bugs.python.org/file36165/larry.nullable.ints.4.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20341
___
Zachary Ware added the comment:
I checked on my theory, and removing the extra reference to 'tests' from the
runtest_inner scope fixes it for me:
$ python -m test -R 3:3: test_asyncio
Running Debug|Win32 interpreter...
[1/1] test_asyncio
beginning 6 repetitions
123456
..
1 test OK.
Here's
Guido van Rossum added the comment:
Is this at all related to the use of GNU readline?
--
nosy: +gvanrossum
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17620
___
Antoine Pitrou added the comment:
Yes, it is. GNU readline will use a FILE*. Apparently, one can customize this
behaviour, see http://cnswww.cns.cwru.edu/php/chet/readline/readline.html#SEC25
Variable: rl_getc_func_t * rl_getc_function
If non-zero, Readline will call indirectly through
Mark Lawrence added the comment:
@Christoph please raise a new issue regarding the problem you describe in
msg219788.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15207
Roundup Robot added the comment:
New changeset 9474f2971855 by Serhiy Storchaka in branch '3.4':
Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.
http://hg.python.org/cpython/rev/9474f2971855
New changeset b9d249316f29 by Serhiy Storchaka in branch 'default':
Issue
Mark Lawrence added the comment:
@Christoph sorry #21652 has already been raised to address the problem of mixed
str and unicode objects.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15207
Changes by Brian Curtin br...@python.org:
--
nosy: -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15207
___
___
Python-bugs-list
Mark Lawrence added the comment:
Ben you're correct. The other issues have been addressed in #10162 and #9291
so I believe this can be closed. One 2.7 regression regarding mixed str and
unicode objects is addressed in #21652.
--
___
Python
Mark Lawrence added the comment:
Should we create the scripts dir during install? Is it that big a deal?
--
nosy: +BreamoreBoy, steve.dower, zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16328
Serhiy Storchaka added the comment:
Thank you Martin for your reviews. Here is updated 2.7 patch which implements
your suggestion.
The disadvantage of this patch in comparison with first version is that it will
not work with statically compiled embedded Python, when only stdlib is updated.
I
Changes by Martin v. Löwis mar...@v.loewis.de:
--
priority: normal -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Python-bugs-list
Changes by Martin v. Löwis mar...@v.loewis.de:
--
status: closed -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Python-bugs-list
Changes by Martin v. Löwis mar...@v.loewis.de:
--
status: - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Python-bugs-list
Zachary Ware added the comment:
Close, but no cigar :). Posted Rietveld comments to address the last two
compile issues (one of which also appears to be a major bug, but only a warning
at compile time).
Also, Victor has added os.get_blocking() and os.set_blocking(), which prevent
your patch
Roundup Robot added the comment:
New changeset 1aa6ac23340d by Serhiy Storchaka in branch 'default':
Issue #22085: Dropped support of Tk 8.3 in Tkinter.
http://hg.python.org/cpython/rev/1aa6ac23340d
--
nosy: +python-dev
___
Python tracker
Martin v. Löwis added the comment:
The 2.7_2 patch looks good to me. I won't rule on the backwards compatibility
implications, although I agree that this is unlikely to cause a regression (it
would only if somebody updated the standard library only, *and* would use data=
for PhotoImage). I'm
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22085
Mark Lawrence added the comment:
Works fine for me on Windows 8.1 64 bit using 3.4.1 and 3.5.0a0. Can one on
our Windows gurus confirm this please.
--
nosy: +BreamoreBoy, steve.dower, tim.golden, zach.ware
___
Python tracker rep...@bugs.python.org
Mark Lawrence added the comment:
I suggest we close this as won't fix since I don't see how we can justify
spending time working around a known limitation of Windows.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
components: -Distutils2
nosy: +dstufft
versions: +Python 3.4, Python 3.5 -3rd party, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7833
Mark Lawrence added the comment:
Could somebody respond to the originator please.
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16322
Changes by Piotr Dobrogost p...@bugs.python.dobrogost.net:
--
nosy: +piotr.dobrogost
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18885
___
___
Changes by Martin v. Löwis mar...@v.loewis.de:
--
nosy: -loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1776160
___
___
Python-bugs-list
Piotr Dobrogost added the comment:
@hypo
Is there any reason you keep this PEP secret :) by not mentioning it on bug
18885?
--
nosy: +piotr.dobrogost
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22007
New submission from Jonas Jelten:
The documentation and the code example at
https://docs.python.org/3.5/extending/embedding.html#very-high-level-embedding
#include Python.h
int
main(int argc, char *argv[])
{
Py_SetProgramName(argv[0]); /* optional but recommended */
Py_Initialize();
Lita Cho added the comment:
I can make it worth such that it doesn't raise a Terminator error. This works
great when working with Turtle on the command line. I basically check if the
root exists for all Tk canvas calls.
If it got destroyed, then it just returns. However, if you run the
Martin v. Löwis added the comment:
You were misinterpreting PEP 393 - it is only about the representation of
string objects, and doesn't affect any pre-existing API. Changing
Py_SetProgramName is not possible without breaking existing code, so it could
only happen in Python 4.
A proper
Guido van Rossum added the comment:
I propose not to mess with GNU readline. But that doesn't mean we can't try to
fix this issue by detecting that sys.stdin has changed and use it if it isn't
referring to the original process stdin. It will be tricky however to make
sure nothing breaks.
New submission from Cory Klein:
After installing ansible and python using homebrew, if I run ansible it crashes
after calling into python's markupsafe:
$ ansible
Traceback (most recent call last):
File /usr/local/Cellar/ansible/1.6.10/libexec/bin/ansible, line 5, in
module
Cory Klein added the comment:
Also to note: this is on OS X 10.10 Yosemite
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22109
___
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
components: -Distutils2
nosy: +dstufft
versions: +Python 3.4, Python 3.5 -3rd party, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4508
Drekin added the comment:
My naive picture of ideal situation looks like this: When the interactive loop
wants input, it just calls sys.stdin.readline, which delegates to
sys.stdin.buffer.raw.readinto or .read, these can use GNU readline if available
to get the data. May I ask, what's wrong
Mark Lawrence added the comment:
Of the two issues mentioned in msg179485 #4508 is still open but #13765 has
been closed not a bug.
--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
Raymond Hettinger added the comment:
Sorry Charles, this is a non-issue. The section does a great job communicating
what pass does. It has been in the docs since 2007 and no harm has come of
it.
--
nosy: +rhettinger
resolution: - not a bug
status: open - closed
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22106
___
___
Python-bugs-list
R. David Murray added the comment:
As is indicated by the fact that markupsafe is in the 'site-packages'
directory, markupsafe is a 3rd party library and is not part of the python
standard library. Most likely the version of markupsafe you have does not
match the one ansible is expecting,
Cory Klein added the comment:
I'll track things down in that direction. Thanks, David.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22109
___
Guido van Rossum added the comment:
sys.stdin.readline() never delegates to GNU readline. The REPL calls GNU
readline directly. There's clearly some condition that determines whether to
call GNU readline or sys.stdin.readline, but it may not correspond to what you
want (e.g. it may just
Changes by Terry J. Reedy tjre...@udel.edu:
--
status: closed -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
priority: - low
resolution: not a bug -
status: - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
priority: low -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Python-bugs-list
STINNER Victor added the comment:
FYI Charles-François and me are working on a PEP to address this issue: the PEP
475. The PEP is not ready yet for a review.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18885
STINNER Victor added the comment:
This issue is why I created the issue #18395.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22108
___
___
Zachary Ware added the comment:
Jim, is there any way you could cut down your example to something small and
self-contained? It may be that the process of doing that leads to a problem in
your code. As it is, I cannot reproduce your error, or pick out what might be
causing it. From a brief
Changes by Demian Brecht demianbre...@gmail.com:
--
nosy: +demian.brecht
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15082
___
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
components: -Distutils2
nosy: +dstufft
versions: +Python 3.5 -3rd party, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13719
Changes by Brian Curtin br...@python.org:
--
nosy: -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13719
___
___
Python-bugs-list
Zachary Ware added the comment:
I'm in favor of a move, especially for ctypes, sqlite3, unittest, and tkinter,
and don't really see a reason not to move distutils and lib2to3. The IDLE
tests make a certain amount of sense to stay in the idlelib folder, just
because IDLE is a special case.
Mark Lawrence added the comment:
According to http://matthew-brett.github.io/pydagogue/python_msvc.html Python
3.3 has always been compiled with 2010 on Windows so I think this can be closed
as user sorted it out for him/herself :)
--
nosy: +BreamoreBoy
paul j3 added the comment:
In http://bugs.python.org/issue22029 argparse
CSS white-space: like control for individual text blocks
I propose a set of `str` subclasses that can be used to define the wrapping
style of individual text blocks. The idea is adapted from the HTML 'pre' tag,
and the
Mark Lawrence added the comment:
PEP 446 supersedes PEP 433.
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17634
___
STINNER Victor added the comment:
The issue has been fixed in Python 3.4 with the PEP 446. I close this issue.
If you would like to enhance shutil.copyfile() by using CopyFile() on Windows,
please open a new issue.
--
resolution: - fixed
status: open - closed
versions: -Python 2.7,
Mark Lawrence added the comment:
Who is best placed to look at this, there's nobody active on the experts list
for subprocess?
--
components: +Library (Lib) -Interpreter Core
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.3
___
Mark Lawrence added the comment:
Just a gentle reminder.
--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13123
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14105
___
___
New submission from Charles-François Natali:
The patch attached enables -Wsign-compare and -Wunreachable-code if supported
by the compiler.
AFAICT, mixed sign comparison warning is automatically enabled by Microsoft's
compiler, and is usually a good thing.
It does add some warnings though.
As
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14111
___
___
Paul Moore added the comment:
I'm not sure how relevant this is any more, as pip is the preferred installer
these days and it cleanly uninstalls projects. At least for my usage, I no
longer use wininst installers at all. I won't close this myself, though, as the
issue still exists. But I
Mark Lawrence added the comment:
I've tried to make the title more meaningful, feel free to change it if you can
think of something better.
--
components: +Interpreter Core
nosy: +tim.golden, zach.ware
title: coding bug remains in 3.3.5rc2 - SyntaxError: encoding problem:
iso-8859-1
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12197
___
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +steve.dower, tim.golden, zach.ware
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19007
___
Mark Lawrence added the comment:
Can ths be closed as not a bug?
--
nosy: +BreamoreBoy -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18402
___
Mark Lawrence added the comment:
Can this be closed as out of date?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9122
___
Antoine Pitrou added the comment:
+1 from me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22110
___
___
Python-bugs-list mailing list
Mark Lawrence added the comment:
Note this is referenced from #18407.
--
nosy: +BreamoreBoy
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18295
___
Mark Lawrence added the comment:
Can we have the stage set to patch review please.
--
nosy: +BreamoreBoy -brian.curtin
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18407
Mark Lawrence added the comment:
Can we set the stage to patch review please.
--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18477
STINNER Victor added the comment:
My patch for the issue #22043 replaces the _PyTime_timeval structure (10^-6
second resolution, 1 us) with a _PyTime_timespec structure (10^-9 second
resolution, 1 ns). It may help for this issue.
--
___
Python
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18477
___
___
1 - 100 of 132 matches
Mail list logo