Changes by Ned Deily n...@acm.org:
--
assignee: ned.deily
components: Build
nosy: ned.deily
priority: normal
severity: normal
status: open
title: PEP 477 (ensurepip backport to 2.7.9): make install and make
altinstall integration
versions: Python 2.7
Roundup Robot added the comment:
New changeset 3537994fa43b by Serhiy Storchaka in branch '2.7':
Issue #22193: Fixed integer overflow error in sys.getsizeof().
https://hg.python.org/cpython/rev/3537994fa43b
New changeset df5c6b05238e by Serhiy Storchaka in branch '3.4':
Issue #22193: Fixed
Roundup Robot added the comment:
New changeset f4e75efdc7f1 by Serhiy Storchaka in branch 'default':
Issue #22823: Use set literals instead of creating a set from a tuple.
https://hg.python.org/cpython/rev/f4e75efdc7f1
--
___
Python tracker
Serhiy Storchaka added the comment:
Can you also make a separate mock patch and assign it to Michael Foord for
review?
Here is a patch. It also replaces constructing sets from generators with set
comprehensions.
--
assignee: serhiy.storchaka - michael.foord
nosy: +michael.foord
Serhiy Storchaka added the comment:
Also fixed an error in _PySys_GetSizeOf declaration (thanks yomgui1). Thanks
all for reviews and found bugs.
--
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
roskakori added the comment:
I just released a package on PyPI that adds various EBCDIC codecs for Python
2.6+ and Python 3.1+, see https://pypi.python.org/pypi/ebcdic.
I agree with Marc-Andre, maintaining this is easier as separate package.
--
___
STINNER Victor added the comment:
There are more and more codecs on PyPI. I would be nice to have a list
somewhere.
@roskakori: Could you please create a page at https://wiki.python.org/ ?
Example:
https://wiki.python.org/moin/Codecs
--
___
Python
Dave Tian added the comment:
Hi David,
Thanks for your quick response. I have tried Python 3.4.2 using
urllib.request.urlopen() - still not working. Below is the backtrace. I am not
sure if this is a bug of PySSL_SSLread, which returns nothing yet without
timeout. If you want me to dig into
Changes by Stefan Behnel sco...@users.sourceforge.net:
Removed file: http://bugs.python.org/file31421/faster_PyEval_SliceIndex.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18813
___
Antoine Pitrou added the comment:
+1 on the principle.
reference count printing is duplicated (lifecycle prints it at
shutdown, pythonrun at the interactive prompt)
You could make it an API in object.c.
* pythonrun references PyInspect_Flag directly without an extern
declaration
*
R. David Murray added the comment:
I won't be the one, as I'm not conversant with the ssl C code. What would be
helpful right now would be a recipe for reproducing the problem.
--
nosy: +alex, pitrou
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset cf5b910ac4c8 by Raymond Hettinger in branch 'default':
Issue #22824: Simplify reprlib output format for empty arrays
https://hg.python.org/cpython/rev/cf5b910ac4c8
--
___
Python tracker
R. David Murray added the comment:
Well, it can be the network, even though it isn't typically (and some devices
don't support it...I'm pretty sure I remember doing it on a Cisco, though I
wouldn't swear to it without testing :). Same is true for broadcast, though
that would be *really*
Serhiy Storchaka added the comment:
Are there any benchmarks?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18813
___
___
Python-bugs-list
Travis Thieman added the comment:
Why is it insufficient to run a synchronous 'filter' over the list returned by
'Pool.map'? These functional constructs are inherently composable, and we
should favor composing simple implementations of each rather than implementing
special cases of them
Ben Yelsey added the comment:
Hi, could you please list more exact steps to reproduce, e.g. directory/file
layout and import statements?
--
nosy: +inlinestyle
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21614
Éric Araujo added the comment:
I would not touch any internal parts of distutils, such as TextFile. It is not
a public class meant for general usage. The code is not ideal but not broken.
--
___
Python tracker rep...@bugs.python.org
Stefan Behnel added the comment:
As mentioned, the fannkuch benchmark benefits quite a bit from the fast path,
by 8%. It was a while ago when I tested, though, so I don't have exact numbers
ATM.
--
___
Python tracker rep...@bugs.python.org
Вячеслав added the comment:
These addresses are used by each interface in the network and they can not be
the address of the interface, of course have the technology ip-unnumbered. But
it's more a special case.
but I was confused behavior:
set(ip_network(u'192.168.1.0/29'))
Travis Thieman added the comment:
The attached patch includes the first element in args in _execute_child to the
OSError exception subclass. This correctly populates the 'filename' field on
the resulting exception. A test is also included that fails without the patch.
--
keywords:
Вячеслав added the comment:
Probably worth noting that network is unnumbered in ip_network and ip_interface
functions. Based on this flag to decide whether there is a possibility to use
the network address and broadcast address in the network
What do you think about this?
--
Terry J. Reedy added the comment:
mock patch LGTM
--
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22823
___
Raymond Hettinger added the comment:
IMO, the _non_defaults set comprehension in mock.py ought to be replaced with a
set of internable string constants.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22823
koobs added the comment:
I only attached the 2.7 build log because the failures from 3.4 and 3.x are
identical, copying them here for completeness:
From 3.4:
==
ERROR: test_arp_getnode (test.test_uuid.TestUUID)
New submission from Brecht Machiels:
set's add() method would be a little bit more useful if it would return True if
the added value was already present in the set, and False if it wasn't (or the
other way around). Similarly, discard() could report whether the discarded
value was present in
R. David Murray added the comment:
Hmm. The fact that it could be either way around makes it less attractive.
That is, if it isn't intuitively obvious what the truth value would mean, it is
probably a bad idea to have this behavior.
--
nosy: +r.david.murray, rhettinger
New submission from Ned Deily:
As part of PEP 477, the attached patch backports to Python 2.7.9 the configure
and Makefile integration for ensurepip from Python 3 (PEP 453 / Issue19553).
As described in PEP 477, for Python 2 ensurepip is not enabled by default by
configure. If there are no
Raymond Hettinger added the comment:
This has come up once before and it was rejected for several reasons including
the one David mentioned.
In Python, code reads more clearly with the usual:
for elem in iterable:
if elem not in seen:
seen.add(elem)
Terry J. Reedy added the comment:
OK, someone can copy and paste this.
non_defaults = {
'__get__', '__set__', '__delete__', '__reversed__', '__missing__',
'__reduce__', '__reduce_ex'__, '__getinitargs__', '__getnewargs__',
'__getstate__', '__setstate__', '__getformat__',
New submission from Roy Smith:
At https://docs.python.org/2/library/hmac.html, hmac.new() is shown as
hmac.new(key[, msg[, digestmod]])
This implies that digestmod can only be given if msg is given. This is
incorrect. Either can be given without the other.
--
assignee: docs@python
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
stage: - patch review
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22536
___
Nick Coghlan added the comment:
It turns out *all* the global config variations are in pydebug.h (and they're
basically the only thing in there, aside from the environment variable access
macro). That seems a little weird to me (perhaps historical due to the early
global config variables
Nick Coghlan added the comment:
I think this is ready to go now, unless anyone spots any major flaws I missed.
--
stage: patch review - commit review
Added file: http://bugs.python.org/file37204/split_pythonrun_v3.diff
___
Python tracker
Nick Coghlan added the comment:
Oops, global config variations above should have been global config variable
declarations. I guess my brain decided that was too much typing and jammed the
last two words together :)
--
___
Python tracker
34 matches
Mail list logo