Roundup Robot added the comment:
New changeset 63dac5212552 by Victor Stinner in branch 'default':
Issue #19776: Fix test_pathlib.test_expanduser()
https://hg.python.org/cpython/rev/63dac5212552
--
___
Python tracker rep...@bugs.python.org
Martin Panter added the comment:
Parts of the patch here actually do the same thing as my LZMAFile patch for
Issue 15955. I wish I had looked at the patch earlier! The difference is I used
a proposed max_length parameter for the decompressor rather than unlimited
decompression, and I used the
New submission from Raymond Hettinger:
The help() function mysteriously captures a comment on the line preceding an
inner function definition in a nested scope.
Given this code:
def outer(func):
#comment
def inner():
return
return inner
Terry J. Reedy added the comment:
You can set up mecurial on your machine, make a read-only clone of the cpython
repository, and compile it just as do other people, whether core-developers or
otherwise. See docs.python.org/devguide for details.
--
New submission from Al Sweigart:
Various changes to modernize the user interface of the Find, Replace, and Find
in Files dialogs:
- Got rid of the close button, since it is redundant.
- Moved the buttons below the text fields, to make better use of screen real
estate.
- Shorten the titles by
New submission from STINNER Victor:
Cancelling wait_for(task, timeout) must also cancel the waited task. Attached
patch fixes this issue.
Original issue:
https://code.google.com/p/tulip/issues/detail?id=211
--
components: asyncio
files: cancel_wait_for.patch
keywords: patch
messages:
STINNER Victor added the comment:
Ok, test_pathlib now pass on the buildbot PPC64 AIX 3.x. I close the issue.
Nice enhancement of the Path object.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka
stage: - patch review
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20699
___
Changes by STINNER Victor victor.stin...@gmail.com:
Removed file: http://bugs.python.org/file37665/cancel_wait_for.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23219
___
Changes by Al Sweigart asweig...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file37666/idle_find_ui_redesign.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23218
Terry J. Reedy added the comment:
I have been putting off re-writing findfiles because it partly duplicates
os.listdir, which should perhaps be used instead, except that a new, improved,
os.scandir is in the works: PEP 471 and #22524.
I believe filefiles currently searches depth first,
Raymond Hettinger added the comment:
A possibility would be to add (disallowed by the
Decimal standard) to the exception message.
That is what InvalidOperation means ;-)
--
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
Oops, I forgot to call remove_done_callback(). New patch attached.
My patch is based on Gustavo Carneiro's patch from Tulip issue #211.
--
Added file: http://bugs.python.org/file37667/cancel_wait_for-2.patch
___
Terry J. Reedy added the comment:
Thank you Tim.
A possibility would be to add (disallowed by the Decimal standard) to the
exception message.
--
nosy: +terry.reedy
versions: -Python 3.6
___
Python tracker rep...@bugs.python.org
New submission from Al Sweigart:
The following IDLE files need docstrings for their methods:
GrepDialog.py
SearchEngine.py
SearchDialogBase.py
SearchDialog.py
ReplaceDialog.py
--
components: IDLE
files: idle_docstrings.diff
keywords: patch
messages: 233807
nosy: Al.Sweigart
priority:
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21408
___
___
Python-bugs-list
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23217
___
___
Nick Coghlan added the comment:
I'm suggesting we change this part of the bytecode emitted for import x.y.z as
bar:
6 IMPORT_NAME 0 (x.y.z)
9 LOAD_ATTR1 (y)
12 LOAD_ATTR2 (z)
15 STORE_NAME
Xavier de Gaye added the comment:
pdb does not ignore breakpoints which are set and hit in a non-main thread.
For example with the attached script:
$ python pdb_thread.py
pdb_thread.py(5)foo()
- lineno = 5
(Pdb) break 6
Breakpoint 1 at pdb_thread.py:6
(Pdb) continue
pdb_thread.py(6)foo()
-
Xavier de Gaye added the comment:
The pdb documentation could make an explicit reference to the documentation of
sys.settrace() where it is explained that the function is thread specific.
--
___
Python tracker rep...@bugs.python.org
Nick Coghlan added the comment:
Ah, confusion between exception has been raised and we're in an active
exception handler is almost certainly what is happening. In both issue 22906
and my previous codec exception wrapping work, we're still in the C code that
raised the exception, *before* we
Stefan Krah added the comment:
For the differences between the standard and IEEE 754-2008 we could
link to:
http://speleotrove.com/decimal/dascope.html
In the long run, perhaps we should move to IEEE, because we're
almost there (but that's a separate issue).
--
Joakim Karlsson added the comment:
Sounds reasonable.
It would also require that all third party packages supply a *_d.pyd version
of any extensions.
Does setuptools and pip have any support for automatically creating debug
versions of extensions with the correct naming scheme when creating
Nick Coghlan added the comment:
Updated the issue title and type again based on Antoine's explanation.
--
title: Exception chaining should trigger for non-normalised exceptions -
Provide a C helper function to chain raised (but not yet caught) exceptions
type: behavior - enhancement
Brett Cannon added the comment:
That seems reasonable. I guess first step is a patch and then seeing if it
passes the test suite.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23203
___
Steve Dower added the comment:
distutils will (now, after some changes in 3.5) build debug versions of
packages on installation when running with python_d.exe. I haven't tested
exactly how pip behaves here, but it should work fine if you run with a command
line like this:
python_d.exe -m pip
INADA Naoki added the comment:
I've updated patch to use PyUnicode_MAX_CHAR_VALUE().
--
Added file: http://bugs.python.org/file37669/json-fast-unicode-encode.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23206
Steve Dower added the comment:
Could you explain what replacing the _d suffix with a d ABI flag
would break ?
It breaks consistency with python_d.exe and python35_d.dll, mainly, and those
are not going to change (specifically, python.exe and python35.dll are not
going to change, and so
INADA Naoki added the comment:
test_encode_basestring_ascii.py has duplicated test cases.
--
Added file: http://bugs.python.org/file37670/json-fast-unicode-encode.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23206
New submission from Arfrever Frehtes Taifersar Arahesis:
In default branch:
$ grep -Er '(^|[[:space:]])an? the($|[[:space:]])' *
Doc/c-api/structures.rst::c:type:`PyObject\*`, it is common that the method
implementation uses a the
Include/dynamic_annotations.h: is about to be reused, or
Changes by Gerhard Häring g...@ghaering.de:
--
assignee: - ghaering
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13299
___
___
Python-bugs-list
Changes by Gerhard Häring g...@ghaering.de:
--
assignee: - ghaering
nosy: +ghaering
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20587
___
___
Al Sweigart added the comment:
For clarification, this happens on Windows 7.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23220
___
___
Changes by Gerhard Häring g...@ghaering.de:
--
assignee: - ghaering
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10740
___
___
Python-bugs-list
Al Sweigart added the comment:
Will do, re marking IDLE issues for 2.7, 3.4, and 3.5 only. Thanks for the
heads up.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23180
___
New submission from Al Sweigart:
IDLE cannot display the \b backspace character correctly. From IDLE's
interactive shell:
print('hello\b\b\b\b\bHELLO')
hello◙HELLO
Whereas from cmd:
print('hello\b\b\b\b\bHELLO')
HELLO
--
messages: 233828
nosy: Al.Sweigart
priority:
Changes by Gerhard Häring g...@ghaering.de:
--
assignee: - ghaering
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20463
___
___
Python-bugs-list
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21408
___
Changes by Gerhard Häring g...@ghaering.de:
--
assignee: docs@python - ghaering
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11691
___
___
Changes by Gerhard Häring g...@ghaering.de:
--
assignee: - ghaering
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9924
___
___
Python-bugs-list
Changes by Gerhard Häring g...@ghaering.de:
--
assignee: - ghaering
nosy: +ghaering
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20274
___
___
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +eric.smith, lemburg, rhettinger, stutzbach
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23185
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23166
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23165
___
Changes by Al Sweigart asweig...@gmail.com:
--
versions: +Python 2.7, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23216
___
___
Changes by Al Sweigart asweig...@gmail.com:
--
versions: +Python 2.7, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23218
___
___
Changes by Al Sweigart asweig...@gmail.com:
--
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23220
___
___
Python-bugs-list
Martin Panter added the comment:
There is a bit of analysis of the object.__ne__() implementation in Issue 4395.
If my understanding is correct, I think it is a bug that object.__ne__(self,
other) evaluates “not self == other”. It should evaluate “not
self.__eq__(other)” instead, so that
Changes by Gerhard Häring g...@ghaering.de:
--
assignee: - ghaering
nosy: +ghaering
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20562
___
___
Changes by Gerhard Häring g...@ghaering.de:
--
assignee: - ghaering
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16958
___
___
Python-bugs-list
Changes by Gerhard Häring g...@ghaering.de:
--
assignee: - ghaering
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21465
___
___
Python-bugs-list
Changes by Gerhard Häring g...@ghaering.de:
--
assignee: - ghaering
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13583
___
___
Python-bugs-list
Changes by Gerhard Häring g...@ghaering.de:
--
assignee: - ghaering
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21836
___
___
Python-bugs-list
Carol Willing added the comment:
FWIW: On Mac OS X 10.9.5 using Python 3.4.2, IDLE's interactive shell (started
from the IDLE.app icon):
print('hello\b\b\b\b\bHELLO')
helloHELLO
From the command line using python3 interactive shell:
print('hello\b\b\b\b\bHELLO')
HELLO
Both return a class
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23206
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23203
___
Martin Panter added the comment:
As far as I understand, Idle doesn’t interpret any terminal control codes apart
from a plain \n for a new line. I know it doesn’t do a carriage return for \r
either.
--
components: +IDLE
nosy: +vadmium
___
Python
Al Sweigart added the comment:
I checked with a couple grep programs and they use depth first. Which makes
sense, since you'd want the return order to be something like:
/a/spam.txt
/a/aa/spam.txt
/a/bb/spam.txt
/x/spam.txt
/y/spam.txt
/z/spam.txt
...instead of the bread-first:
/a/spam.txt
Martin Panter added the comment:
Here is a patch that documents the default object.__ne__() implementation. It
also documents the subclass priority rules for the reflected comparison
methods, which is raised in Issue 22052.
I have made some more tests to verify the relationships exists from
Martin Panter added the comment:
This patch should fix the problem I think. Before the __ne__() implementation
was calling the “==” operator; now it calls the __eq__() method instead.
Also includes extra test for Issue 4395 to avoid having conficting patches.
--
keywords: +patch
Added
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4395
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4395
___
Martin Panter added the comment:
I have included some rules about the priority for calling reflected operator
methods in my patch to Issue 4395
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22052
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - docs@python
components: +Documentation
nosy: +docs@python, r.david.murray
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23221
Ned Deily added the comment:
It's helpful to keep in mind that IDLE is a Tk application written in Python
and, as such, depends on Tk to do nearly everything associated with writing to
displays and reading from keyboards and pointing devices. If you try
outputting the same string using the
65 matches
Mail list logo