Roundup Robot added the comment:
New changeset 288b03b5c60d by Ned Deily in branch '3.4':
Issue #17128: Use private version of OpenSSL for 3.x OS X 10.5+ installers.
https://hg.python.org/cpython/rev/288b03b5c60d
New changeset 1c249d0cab5d by Ned Deily in branch 'default':
Issue #17128: Merge /
New submission from Xavier de Gaye:
In Doc/howto/pyporting.rst at line from __future__ import print_statement:
s/print_statement/print_function/
--
assignee: docs@python
components: Documentation
messages: 232600
nosy: brett.cannon, docs@python, xdegaye
priority: normal
severity:
Roundup Robot added the comment:
New changeset 3a35638bce66 by Ned Deily in branch 'default':
Issue #17636: Install new test directories.
https://hg.python.org/cpython/rev/3a35638bce66
--
___
Python tracker rep...@bugs.python.org
Xavier de Gaye added the comment:
This has been fixed by issue 14612 for version 2.7.4.
--
nosy: +xdegaye
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23031
___
Changes by Dan potapovdan...@mail.ru:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23031
___
Constantin added the comment:
It may be the case, that an lru_cache does not provide the best strategy for
reliably caching many base cases in recursively written code. I suggest that
someday we think about a different caching paradigm which fits this purpose and
add it to functools e.g. as
New submission from Xavier de Gaye:
With the following jump.py script:
def foo():
import pdb; pdb.set_trace()
while 1:
pass
return # this is line 5
foo()
The following debugging session aborts on Python 3.5.0a0 (default:334c01aa7f93,
Dec 3 2014, 16:20:19):
$ python
Chaitanya agrawal added the comment:
Typo corrected according to message232600.
--
keywords: +patch
nosy: +krypten
Added file: http://bugs.python.org/file37438/issue23047.patch
___
Python tracker rep...@bugs.python.org
Wojtek Ruszczewski added the comment:
Updated the patch, additionally changing be to contain in the first
sentence.
--
Added file: http://bugs.python.org/file37439/urlencode-safe-v2.diff
___
Python tracker rep...@bugs.python.org
Skip Montanaro added the comment:
It doesn't look like a difficult change, but is it really needed? I guess my
reaction is the same as Raymond's. Are there real-world uses where the current
set of quoting styles isn't sufficient?
--
___
Python
Roundup Robot added the comment:
New changeset 914e9092984e by Berker Peksag in branch '3.4':
Issue #23047: Fix typo in pyporting.rst.
https://hg.python.org/cpython/rev/914e9092984e
New changeset 81a56c9e1e1c by Berker Peksag in branch 'default':
Issue #23047: Fix typo in pyporting.rst.
Roundup Robot added the comment:
New changeset f1f404f5422a by Berker Peksag in branch '2.7':
Issue #23047: Fix typo in pyporting.rst.
https://hg.python.org/cpython/rev/f1f404f5422a
--
___
Python tracker rep...@bugs.python.org
Berker Peksag added the comment:
Thanks for the report, Xavier and thanks for the patch, Chaitanya.
--
nosy: +berker.peksag
resolution: - fixed
stage: - resolved
status: open - closed
versions: +Python 2.7, Python 3.4
___
Python tracker
Aaron Hill added the comment:
I've created a new patch, which addresses the problem. Your example now
currently returns [b'foo\n', b'bar\n']
--
Added file:
http://bugs.python.org/file37440/mock-open-allow-binary-data-updated.patch
___
Python
Nick Coghlan added the comment:
Yes, if we don't get to it beforehand. I'd still like to take the draft
Create/Exec C level hook design I came up with and turn it into a PEP, but I
don't know when I'll get time.
Maybe I should just put that together as a (very) rough draft and lob it at
Akira Li added the comment:
C standard defines locale-specific *printing characters* that are [ -~]
in C locale for implementations that use 7-bit US ASCII character set
i.e., SP (space, 0x20) is a printing character in C (isprint() returns
nonzero).
There is isgraph() function that returns
Raymond Hettinger added the comment:
Building on OS X 10.10 with the head of the code tree (as of today), I cannot
reproduce this. Also the disassembly looks fine:
$ python3.5 jump.py
/Users/raymond/tmp/jump.py(3)foo()
- while 1:
(Pdb) next
/Users/raymond/tmp/jump.py(4)foo()
- pass
(Pdb)
Serhiy Storchaka added the comment:
Thenks Antoine for great idea proposed in comments on Rietveld. Following patch
introduces strip_python_stdout() which strips COUNT_ALLOCS debug output from
stdout (unfortunately this operation is not always unambiguous) and call it in
assert_python_ok()
Serhiy Storchaka added the comment:
functools.partial is a somewhat less than ideal comparison. The pure-Python
version is not picklable, the Python and C versions return different things
(the Python version is a function returning a function, the C version is a
regular class and returns
Zachary Ware added the comment:
Serhiy Storchaka added the comment:
Reimplementations of the pure-Python itemgetter and attrgetter to
automatically pickleable Python classes have a disadvantage. It makes
the pickling incompatible between Python and C versions. This means
that itemgetter
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: test needed - needs patch
versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9393
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: benjamin.peterson - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22823
___
Roundup Robot added the comment:
New changeset c3f960cff3e6 by Serhiy Storchaka in branch '3.4':
Issue #22823: Use set literals in lib2to3.
https://hg.python.org/cpython/rev/c3f960cff3e6
New changeset d3e43f7ecca8 by Serhiy Storchaka in branch 'default':
Issue #22823: Use set literals in
Serhiy Storchaka added the comment:
That's all I think. Distutils is too conservative for such changes.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Guido van Rossum added the comment:
Docfix LGTM.
On Fri, Dec 12, 2014 at 10:53 PM, Martin Panter rep...@bugs.python.org
wrote:
Martin Panter added the comment:
I have been bitten by this when attempting to implement my own event
loops. Parts of the “asyncio” code itself expects that the
Serhiy Storchaka added the comment:
In updated patch the xpickle resource is tested before attempts to run Python
executables. Also these checks are moved from decorator to the setUp() method.
The result of have_python_version() now is memoized. Fixed running the test in
unicode-disabled
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - benjamin.peterson
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23048
___
Roundup Robot added the comment:
New changeset 09f938915c6f by Benjamin Peterson in branch '3.4':
pop the loop block even for infinite while loops (closes #23048)
https://hg.python.org/cpython/rev/09f938915c6f
New changeset baa5258bef22 by Benjamin Peterson in branch '2.7':
pop the loop block
Brett Cannon added the comment:
sgtm
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19698
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Many people may not know that IndexError and KeyError are subclasses of
LookupError. I have not decided what to add yet, but I think we are close.
--
___
Python tracker rep...@bugs.python.org
Terry J. Reedy added the comment:
Will reconsider if an actual duplication is presented.
--
resolution: - not a bug
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23011
New submission from Terry J. Reedy:
from functools import reduce
def add(a,b): return a+b
reduce(add, {})
Traceback (most recent call last):
File C:\Programs\Python34\tem.py, line 3, in module
reduce(add, {})
TypeError: reduce() of empty sequence with no initial value
However, the
Raymond Hettinger added the comment:
Sorry Constantin, I am rejecting this proposal or any variants of it.
* As Nick pointed-out in the referenced thread, we provide two tools: a
functools caching decorator that is tightly focused on the task of caching
function calls and a collections
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: docs@python - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23049
___
Benjamin Peterson added the comment:
I will try to look eventually.
--
assignee: - benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22735
___
Demian Brecht added the comment:
Thanks for the update, but this doesn't quite work either as you're assuming
utf-8 (which is what .encode() and .decode() default to). For example, when
using latin-1:
m = mock_open(read_data= b'\xc6')
with patch('__main__.open', m, create=True) :
...
Chaitanya agrawal added the comment:
Used function PyUnicode_Check instead of PyString_Check
--
keywords: +patch
nosy: +krypten
Added file: http://bugs.python.org/file37444/issue23041.patch
___
Python tracker rep...@bugs.python.org
Changes by Chaitanya agrawal chaitiagra...@gmail.com:
Added file: http://bugs.python.org/file37445/issue23041_test.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23041
___
38 matches
Mail list logo