Kristján Valur Jónsson added the comment:
lgtm :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22113
___
___
Python-bugs-list mailing list
Amaury Forgeot d'Arc added the comment:
The patch does not seem to allow parameters after the -m option.
I'm sure this restriction can be lifted.
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21862
John Posner added the comment:
Regarding Martin's patch of 12-18:
stdtypes.rst -- looks good to me
unicodeobject.c -- I suggest changing this sentence:
If a character is not in the table, the subscript operation should raise
LookupError, and the character is left untouched.
... to:
If the
Gustavo Temple added the comment:
@steve.dower, so, can I abandon this issue?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23085
___
___
Steve Dower added the comment:
I'm not entirely familiar with our layout of libffi, but I don't think your
patch will affect Windows at all. If your intent was to update the version used
in Windows builds, then you may as well abandon it. I'm not the one to ask
about other platforms -
Gustavo Temple added the comment:
@steve.dower, so no problems, because my patch won't affect Windows.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23085
___
New submission from Gustavo Temple:
Update config.guess and config.sub
--
components: Installation
files: config.patch
keywords: patch
messages: 232937
nosy: gustavotemple
priority: normal
severity: normal
status: open
title: Update config files
versions: Python 3.4, Python 3.5
Added
Changes by Gustavo Temple gustavo.pedr...@eldorado.org.br:
--
nosy: +doko
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23089
___
___
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
--
components: +Extension Modules -Library (Lib)
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23084
___
R. David Murray added the comment:
How does this patch relate to the discussion on python-dev about libffi?
--
components: +ctypes
nosy: +r.david.murray
title: Update config files - Update libffi config files
___
Python tracker rep...@bugs.python.org
Gustavo Temple added the comment:
@r.david.murray, I think they aren't related.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23089
___
___
R. David Murray added the comment:
What is the purpose of your patch, then?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23089
___
___
Serhiy Storchaka added the comment:
Updated patch addresses Antoine's comments.
I still hesitate about C-contiguousity. Looks as all buffers created in the
stdlib are C-contiguous, so we can't test non-contiguous buffers. Shouldn't
PyObject_AsCharBuffer (or even PyObject_AsReadBuffer
Gustavo Temple added the comment:
@r.david.murray, the config.guess inside the root folder fixes some
verifications about IBM arch, the config.guess inside the libffi folder fixes
some verifications about PowerPC, and the config.sub inside the libffi folder
fixes some verifications about
Éric Araujo added the comment:
An active core developer needs to see this and decide to commit the patch. You
can see if there’s someone on IRC. If there’s no action in a week or two, feel
free to ask on python-dev (maybe listing more than one waiting patch, or
offering reviews in exchange
Changes by Brian Kearns bdkea...@gmail.com:
--
files: fix_test_doctest.patch
keywords: patch
nosy: bdkearns
priority: normal
severity: normal
status: open
title: fix test_doctest relying on refcounting to close files
type: behavior
versions: Python 2.7
Added file:
Antoine Pitrou added the comment:
Shouldn't PyObject_AsCharBuffer (or even PyObject_AsReadBuffer
and_PyBuffer_Converter) accept only C-contiguous buffers?
PyBUF_SIMPLE enforces contiguity. See
https://www.python.org/dev/peps/pep-3118/#access-flags and
R. David Murray added the comment:
How do these relate to the upstream libffi? I think we probably need to deal
with this as part of the libffi discussion on python-dev.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23089
Changes by Terry J. Reedy tjre...@udel.edu:
--
title: multiprocessing.pool methods imap() and imap_unordered() cause deadlock
- multiprocessing.pool methods imap()[_unordered()] deadlock
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Ah, there is a way to create non-contiguous buffers.
b = bytes(range(16))
m = memoryview(b)
m[::2].c_contiguous
False
PyBUF_SIMPLE enforces contiguity.
Then contiguousity check in getbuffer() in Python/getargs.c is redundant. And
in most cases the use
Stefan Krah added the comment:
Yes, a PyBUF_SIMPLE request implies c-contiguous, so it's ok.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22896
___
Terry J. Reedy added the comment:
cmd.Cmd has a documented do_help(self, arg) method (written in 2000). If arg
is '', it prints
1. Documented commands (do_x with help_x or do_x.__doc__ != ''), sorted
2. Other help topics (help_y with no do_y), unsorted
3. Undocumented commands (do_ without no
Terry J. Reedy added the comment:
I read Nick's post and I would like PEP8 to continue to discourage imports at
class scope unless there is actually a use case. I discovered yesterday that
idlelib.ColorDelegator has several imports at the top of the module and more as
the top of the class
Changes by Josh Rosenberg shadowranger+pyt...@gmail.com:
--
nosy: +josh.r
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23051
___
___
Terry J. Reedy added the comment:
I agree that this is broken. I verified that the following works in 2.7.9
from __future__ import division, print_function
32 / 5
6.4
print(2,3,sep='**')
2**3
#13296 was about self.compile.compiler.flags (in ModifiedInterpreter, which
inherits .compile...
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22896
___
___
Python-bugs-list
Terry J. Reedy added the comment:
https://stackoverflow.com/questions/27554334/python-3-dictionary-comprehension-exec-error/27571212#27571212
--
nosy: +terry.reedy
resolution: - not a bug
stage: - resolved
status: open - closed
___
Python tracker
mdcb added the comment:
patch in attachment is an attempt to provide the datetime type nanosecond
support, handles pickle versioning, expose a new class method
datetime.fromnanoseconds
--
keywords: +patch
nosy: +mdcb...@gmail.com
Added file:
Changes by mdcb mdcb...@gmail.com:
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15443
___
___
Python-bugs-list mailing list
Unsubscribe:
Nikolaus Rath added the comment:
*ping*. It's been another 8 months. It would be nice if someone could review
the patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15955
___
Aaron Hill added the comment:
I've fixed the formatting issues.
--
Added file:
http://bugs.python.org/file37510/mock-open-allow-binary-data-fix-formatting.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23004
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23080
___
___
Raymond Hettinger added the comment:
I would like to see this and issue 8934 discussed as a usability bug. As far
as I can tell, the current state of affairs an unintended by-product of a
rushed effort to split the standard library to bytes apis and unicode apis. I
don't see any reason that
New submission from S. Andrew Sheppard:
I came across unexpected behavior working with unpacking keyword arguments in
Python 3. It appears to be related to the automatic normalization of unicode
characters to NFKC (PEP 3131), which converts e.g. MICRO SIGN to GREEK SMALL
LETTER MU. This
New submission from Vinson Lee:
test_readline regressed from Python 2.7.8 to Python 2.7.9 on CentOS 6
Python 2.7.8
$ ./python -m test.regrtest test_readline
test_readline
1 test OK.
Python 2.7.9
$ ./python -m test.regrtest test_readline
[1/1] test_readline
test test_readline failed --
S. Andrew Sheppard added the comment:
Here's a simple namedtuple example for good measure.
from collections import namedtuple
Test = namedtuple(Test, [chr(181)])
Test(**{chr(956): test1})
Test(µ='test1')
Test(**{chr(181): test1})
Traceback (most recent call last):
File stdin, line 1, in
R. David Murray added the comment:
I suspect that the normalization is happening in the parsing phase. That is,
the keyword argument gets normalized when the python source is compiled, but
the dictionary key is, of course, *not* normalized, since it is a literal
string. If I'm right, I
Benjamin Peterson added the comment:
Yeah, kwarg dicts do not have the same checks applied to them as syntactic
keyword args. It would be weird if, for example, dict(**mydict) normalized the
keys of mydict.
--
nosy: +benjamin.peterson
resolution: - not a bug
status: open - closed
Martin Panter added the comment:
Here is a patch that substitutes an explanation if the repr() fails. Output now
looks like this, terminated with a newline:
=== BrokenObj ===
Exception ignored in: repr() failed
Traceback (most recent call last):
File stdin, line 3, in __del__
Exception: in
mdcb added the comment:
minor bug fixes and improvements in new attachment.
--
Added file: http://bugs.python.org/file37512/datetime.nanosecond.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15443
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5319
___
___
Python-bugs-list
S. Andrew Sheppard added the comment:
Fair enough. For future reference by anyone coming across this issue, here's a
simplified version of the workaround I used:
from unicodedata import normalize
def normalize_keys(data):
return {
normalize('NFKC', key): value
for key,
Steve Dower added the comment:
That's strange, and it isn't what normally happens, so I suspect it's a
configuration or corruption issue on your machine (possibly Kapersky Pure is to
blame?). The 2.7.7, 2.7.8 and 2.7.9 installers all have the correct version
information and there's no
Changes by Chandan kumar chkumar...@gmail.com:
--
nosy: +Chandan.kumar
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22671
___
___
Berker Peksag added the comment:
This looks like a duplicate of issue 19884.
--
nosy: +berker.peksag
resolution: - duplicate
stage: - resolved
status: open - closed
superseder: - Importing readline produces erroneous output
type: - behavior
___
Vinson Lee added the comment:
The regression is introduced with this commit.
commit fa06e2bb13a3e67a0641025483efb19ef569dbd9
Author: Victor Stinner victor.stin...@gmail.com
Date: Thu Jul 24 12:22:24 2014 +0200
Issue #19884: readline: Disable the meta modifier key if stdout is not a
46 matches
Mail list logo