Stéphane Wirtel added the comment:
No news for 2 years.
--
nosy: +matrixise
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5420
___
___
@python, tiposchi
priority: normal
severity: normal
status: open
title: Broken link to patch
type: enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21189
Georg Brandl added the comment:
Barry, you run the list, so please change this to a link to bugs.python.org
(and maybe docs.python.org/devguide).
--
assignee: docs@python - barry
nosy: +barry, georg.brandl
___
Python tracker rep...@bugs.python.org
Hristo Venev added the comment:
What about using PyVarObject of mp_limb_t and mpn instead of mpz_t?
Addition:
- Check signs and allocate.
- Possibly compare absolute values.
- Call mpn_(add|sub)_n and possibly mpn_(add|sub)_1 if the integers have
different sizes.
- Overhead for
STINNER Victor added the comment:
What about using PyVarObject of mp_limb_t and mpn instead of mpz_t?
FYI this issue is closed, it's not a good practice to comment closed issue (for
example, the issue is hidden in the list of recent issues).
If you want to learn more about my old patch, you
Ethan Furman added the comment:
PEP 461 has been accepted. I'll look over the code soon.
--
assignee: - ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20284
___
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +lemburg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21031
___
___
Python-bugs-list
New submission from Elizabeth Myers:
This patch adds support for the AlpineLinux distrubtion
(http://alpinelinux.org) to the platform.linux_distributions function, e.g.:
platform.linux_distribution()
('alpine', '2.8.0_alpha2', '')
Thoughts, feelings, and rotten tomatoes welcome
Changes by Elizabeth Myers elizab...@sporksmoo.net:
--
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21031
___
___
New submission from Arun Persaud:
Couldn't find how to escape % and $ in the documentation, so I thought I add a
short patch.
--
assignee: docs@python
components: Documentation
files: mywork.patch
keywords: patch
messages: 214442
nosy: Arun.Persaud, docs@python
priority: normal
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +lukasz.langa
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21018
___
___
Roundup Robot added the comment:
New changeset fd49c1d2fd6c by Benjamin Peterson in branch '3.4':
merge 3.3 (#20594)
http://hg.python.org/cpython/rev/fd49c1d2fd6c
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20594
Max Naumov added the comment:
Wouldn't this be more correct?
--- Lib/distutils/msvc9compiler.py 2013-08-03T16:17:08+04:00
+++ Lib/distutils/msvc9compiler.py 2014-03-17T18:36:50.078672+04:00
@@ -411,7 +411,11 @@
'/Z7', '/D_DEBUG']
Martin v. Löwis added the comment:
What is the procedure to test this patch? Under what circumstances exactly is
it needed?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16296
Max Naumov added the comment:
It allows to install numpy on windows python 3.4. Just like the patch in the
original post. Actually my patch is merely the original patch refactored.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Éric Araujo added the comment:
(2to3 is an exception and can get improvements in stable versions.)
--
nosy: +eric.araujo
versions: +Python 2.7, Python 3.3, Python 3.4 -Python 3.2
___
Python tracker rep...@bugs.python.org
Sean Wolfe added the comment:
I just tried this out on osx 10.9.0 and python 2.7.5 :
* cursor persisting on the input line works
* up/down history works
This is much better! A big irritation gone for me and makes things much easier
for beginners IMO -- one less thing to get surprised by.
Sean Wolfe added the comment:
installation steps for me:
* apply PyShell.py patch (I had to do some bits manually)
* add Terminal.py to idlelib directory
* add changes to config-extensions.def as detailed in Terminal.py comments
This was in the osx 10.9 system python directories, so
Changes by Benjamin Peterson bp+pyb...@benjamin-peterson.org:
--
nosy: +benjamin.peterson, georg.brandl
priority: high - release blocker
resolution: fixed -
status: closed - open
___
Python tracker rep...@bugs.python.org
Changes by Benjamin Peterson bp+pyb...@benjamin-peterson.org:
--
assignee: - larry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20594
___
___
Larry Hastings added the comment:
I created a cherry-pick issue (#20665) to track that separately.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20594
Changes by ncopa nc...@alpinelinux.org:
--
keywords: +patch
title: fail to compile posixmodule due to name clash with posix_close -
[PATCH] fail to compile posixmodule due to name clash with posix_close
Added file: http://bugs.python.org/file34040/posix_close.patch
Antoine Pitrou added the comment:
Thanks for the report! I think this should also make it into 3.4 final.
--
nosy: +larry, pitrou
priority: normal - high
stage: - patch review
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http
Larry Hastings added the comment:
Yes, this can go in.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20594
___
___
Python-bugs-list mailing
(closes #20594)
http://hg.python.org/cpython/rev/021dd3c65198
New changeset 400a8e4599d9 by Benjamin Peterson in branch 'default':
merge 3.3 (#20594)
http://hg.python.org/cpython/rev/400a8e4599d9
--
nosy: +python-dev
resolution: - fixed
stage: patch review - committed/rejected
status: open
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20284
___
___
Python-bugs-list
Charles-François Natali added the comment:
Just a quick comment on the patch: in as_completed(), if the future is
cancelled or finished, control is yielded back to the caller with the
condition's lock held.
As a general rule, libraries should not yield control to the caller with a lock
held
Glenn Langford added the comment:
if the future is cancelled or finished, control is yielded back to the caller
with the condition's lock held.
Hmmm...I don't agree. I assume you are looking at this code:
with f._condition: # Lock the Future; yield if completed or add our Waiter
Charles-François Natali added the comment:
Note that the context manager will be called in this case to release the
lock before f is yielded to the caller.
class MiniContext():
def __init__(self):
pass
def __enter__(self):
print('Hello')
def __exit__(self,
Glenn Langford added the comment:
Actually, I think what you're seeing here is the context manager being
garbage collected
Yes indeed, I am with you now. Thanks for identifying the problem, and for your
explanation. The future should not be yielded while locked.
--
Glenn Langford added the comment:
Updated patch: Fixed bug where quick yield in as_completed() did not release
lock on future.
--
Added file: http://bugs.python.org/file33999/futures-base-v2.patch
___
Python tracker rep...@bugs.python.org
http
Changes by Antoine Pitrou pit...@free.fr:
--
stage: - patch review
versions: -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20516
Antoine Pitrou added the comment:
Thanks for the patch. This will have to wait for 3.5, since 3.4 is currently in
feature freeze stage.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20516
Armin Rigo added the comment:
Sorry to hijack CPython's bug tracker for that, but can you check if this makes
sense to you? I added a function 'locals_to_fast()' to the __pypy__ built-in
module which just calls the PyPy equivalent to PyFrame_LocalsToFast(). Your
tests are passing, so I
Fabio Zadrozny added the comment:
Hi Armin,
That does make sense to me, but maybe it could be nice providing a standard API
across Python implementations to make that call (even if the CPython version
uses ctypes underneath and the PyPy version uses RPython), but I'll leave that
up to
Fabio Zadrozny added the comment:
Sure, no problems on my side :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1654367
___
___
Armin Rigo added the comment:
CPython 2.7 is in feature-freeze, so we need to add it to __pypy__. If people
here decide to add it more officially to CPython 3.x, then we'll also add it
into pypy3, obviously. I'm sure a debugger can cope with a few extra ifs to
check on which platform it is
New submission from Sven Berkvens-Matthijsse:
The documentation for the dis module has a wrong opcode name in it (POP_STACK
instead of POP_TOP). Furthermore, the patch fixes inconsistent use of markers
for code and opcodes.
--
assignee: docs@python
components: Documentation
files: dis
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +ncoghlan
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20521
Changes by Antoine Pitrou pit...@free.fr:
--
versions: +Python 2.7, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20521
___
___
Paul Moore added the comment:
Is there any chance this can be included in Python 3.4? It would apparently
allow numpy to be built with stock tools on Windows Python.
--
nosy: +pmoore
___
Python tracker rep...@bugs.python.org
Tim Golden added the comment:
Larry Hastings would have to rule on whether it could get into 3.4 at
this stage.
Paul: are you in a position to apply / test the patch? I've done no more
than glance at it but it looks, from the comments, as though it doesn't
apply cleanly
Paul Moore added the comment:
Unfortunately not really - it's the numpy guys that need this, so hopefully the
original poster can comment.
I'll see if I can hand-patch the relevant files and do a pip install numpy to
see if it fixes that specific scenario. I'll report back.
I've added Larry
Paul Moore added the comment:
Sigh. Looks like it doesn't fix the issue of building numpy - plus it doesn't
apply cleanly. My apologies for the noise, I'll report the issues with the
patch back on the numpy issue where I was told about this patch
Larry Hastings added the comment:
I'm not sure I need to be on this issue. As a rule, Windows build concerns for
3.4 are delegated to Martin von Lowis.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16296
Tim Golden added the comment:
Thanks, Larry. Martin's already nosy this issue, but really we need to
see if we have a viable patch before making decisions about 3.4. I'll
take you off the nosy list.
--
___
Python tracker rep...@bugs.python.org
http
Changes by Tim Golden m...@timgolden.me.uk:
--
nosy: -larry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16296
___
___
Python-bugs-list mailing
Changes by Tal Einat talei...@gmail.com:
--
nosy: -taleinat
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2704
___
___
Python-bugs-list mailing
Thomas Heller added the comment:
Hm, what's the problem?
For me, the patch applies cleanly (in Python 3.4.0b3, 32-bit and 64-bit on
Windows), and
py -3.4(-32) -m pip install numpy
works correctly. At least
py -3.4(-32) -c import numpy; print(numpy.__version__)
prints 1.8.0
Paul Moore added the comment:
Maybe it's not applicable to 3.3 somehow, which is what I tried. I applied the
patch to the distutils in the system installed Python, then ran pip install
numpy from a virtualenv.
It's quite possible that a million things could have gone wrong in that process
Fabio Zadrozny added the comment:
Just a note for anyone interested: ctypes can be used to access that function:
http://pydev.blogspot.com.br/2014/02/changing-locals-of-frame-frameflocals.html
So, I think that the changes I proposed shouldn't be applied (it'd only be
worth if someone provided
Armin Rigo added the comment:
Hi Fabio! This is admittedly a corner-case use case, but if you think it would
be worth it, we can very easily add this as a feature to PyPy (by making
frame.f_locals writeable). Then we can add the write inside pdb, and you could
do the same for PyDev when
Armin Rigo added the comment:
Also, can you provide a concrete case? Trying around in CPython 2.7, it seems
that locals of the current frame can always be modified from a pdb.set_trace().
--
___
Python tracker rep...@bugs.python.org
Fabio Zadrozny added the comment:
Hi Armin,
Sure, just attached the test case with tests failing (on the top, comment the
save_locals(frame) which has a 'pass' to see it working).
Mostly, it happens when editing something not in the top-frame (but sometimes I
think it could fail there too,
given Futures, regardless of
state).
A demonstration patch is attached which
- locks Futures one at a time for as_completed() and all variations of wait()
- reduces the overhead in tracking the state of each Future
- makes it easier to add other user APIs if desired later
- consolidates the machinery
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: -BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2889
___
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: -BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1439312
___
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: -BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2057
___
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: -BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1755841
___
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: -BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1034
___
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: -BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1653457
___
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: -BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1654367
___
___
Changes by Ralf Gommers ralf.gomm...@gmail.com:
--
nosy: +ralf.gommers
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16296
___
___
print('' + ' '.join(c for c in legacy if c[0].isupper()))
IndexError: string index out of range
Unit test for exercising Tools/clinic/clinic.py using assert_python_ok would be
good, but that deserves a dedicated ticket.
Here is the patch to fix the bug.
--
nosy: +vajrasky
Added file
R. David Murray added the comment:
Opened issue 20477 with the proposed examples.
--
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18891
New submission from Larry Hastings:
Probably the last rollup patch for a while; I need to move on to code
reviewing.
Here's a list of changes in this patch:
* I added the oft-requested rename the C variable for a parameter
functionality. That works as follows:
os.rename
path
Roundup Robot added the comment:
New changeset 06b4fbb09c93 by Larry Hastings in branch 'default':
Issue #20390: Removing detritus from Argument Clinic file preset name change.
http://hg.python.org/cpython/rev/06b4fbb09c93
--
___
Python tracker
Changes by Zachary Ware zachary.w...@gmail.com:
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20456
___
___
Larry Hastings added the comment:
Updated the patch.
* The methoddef_ifndef template is now sent to the buffer
destination by default. I expected posixmodule to have an #ifndef,
I was surprised to find _import had one too. Both files touched
to move the buffer to an appropriate spot
Roundup Robot added the comment:
New changeset 19d81cc213d7 by Larry Hastings in branch 'default':
#Issue 20456: Several improvements and bugfixes for Argument Clinic,
http://hg.python.org/cpython/rev/19d81cc213d7
--
nosy: +python-dev
___
Python
Larry Hastings added the comment:
Checked in! I think that's the last new feature for Argument Clinic until
after 3.4 ships.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep
New submission from Larry Hastings:
Rollup patch with a bunch of small fixes in it. Can I get a quick turnaround
review on this? I'd like it to go in before today's beta is cut. Definitely
the core change has to go in, but that's uncontroversial.
Core:
* _PyType_GetDocFromInternalDoc
Nick Coghlan added the comment:
LGTM, but I'm not familiar with Clinic's own code...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20390
___
Serhiy Storchaka added the comment:
Don't forget to use hg mv to rename existing side files.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20390
___
Serhiy Storchaka added the comment:
_PyType_GetDocFromInternalDoc and _PyType_GetTextSignatureFromInternalDoc
declarations are too long. could you please wrap them around?
First parameter of class methods (e.g. dict.fromkeys) now has a type of object
(PyDictObject *) instead of PyTypeObject *
Larry Hastings added the comment:
Thanks for the reviews, Nick and Serhiy, especially considering that the
Rietveld link didn't work!
Serhiy: I believe I fixed everything. There are no side files checked in yet.
Can you give me another review?
--
Added file:
Changes by Larry Hastings la...@hastings.org:
Removed file:
http://bugs.python.org/file33710/larry.clinic.rollup.jan.25.diff.2.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20390
___
Larry Hastings added the comment:
Hang on, my tree was out of date. Which is why I didn't get a review link,
duh. And if side files have appeared I'll fix 'em.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20390
Larry Hastings added the comment:
Okay, here's my revised patch, for real this time, with hg mv for the side
files and everything.
--
Added file:
http://bugs.python.org/file33711/larry.clinic.rollup.jan.25.diff.2.txt
___
Python tracker rep
Larry Hastings added the comment:
Oops, I goofed up moving _lzamodule.clinic.c.h. I'll fix that locally, won't
regenerate the patch just for that (unless you ask me to).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20390
Larry Hastings added the comment:
No, wait, I think it's fine, it was just some detritus in my directory throwing
me off. But hg stat looks correct.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20390
Larry Hastings added the comment:
I don't know why it's refusing to generate the review link. The patch applies
cleanly to trunk, even now, hours later. Maybe it doesn't like file moves?
--
___
Python tracker rep...@bugs.python.org
http
Roundup Robot added the comment:
New changeset 9c5b421cc7de by Larry Hastings in branch 'default':
Issue #20390: Small fixes and improvements for Argument Clinic.
http://hg.python.org/cpython/rev/9c5b421cc7de
--
nosy: +python-dev
___
Python tracker
Changes by Larry Hastings la...@hastings.org:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20390
Roundup Robot added the comment:
New changeset 1435d2fe8e34 by Larry Hastings in branch 'default':
Issue #20390: Final fix, for generating NoPositional/NoKeyword for __init__
calls.
http://hg.python.org/cpython/rev/1435d2fe8e34
--
___
Python tracker
Serhiy Storchaka added the comment:
Rietveld doesn't like patches against out of date tree. And unfortunately it
doesn't like patches in git format.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20390
Larry Hastings added the comment:
I don't know about diff #1, but diff #2 definitely applied cleanly against a
fresh trunk at 8:22pm local time. I've turned off git format.
--
___
Python tracker rep...@bugs.python.org
Changes by Neil Schemenauer nas-pyt...@arctrix.com:
Removed file: http://bugs.python.org/file33501/bytes_mod.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20284
___
Changes by Neil Schemenauer nas-pyt...@arctrix.com:
Removed file: http://bugs.python.org/file33505/bytes_mod_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20284
Changes by Neil Schemenauer nas-pyt...@arctrix.com:
Removed file: http://bugs.python.org/file33506/bytes_mod_v3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20284
Changes by Neil Schemenauer nas-pyt...@arctrix.com:
Removed file: http://bugs.python.org/file33516/bytes_mod_v4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20284
Neil Schemenauer added the comment:
I've updated my patch into a sequence, the first of which implements PEP 461.
02-code-a.patch adds support for %a (ascii() on arg)
03-py2-flag.patch makes %s and %r behave similar to Python 2 if a command
line flag is provided to the interpreter
04-py
Changes by Neil Schemenauer nas-pyt...@arctrix.com:
Added file: http://bugs.python.org/file33575/02-code-a.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20284
___
Changes by Neil Schemenauer nas-pyt...@arctrix.com:
Added file: http://bugs.python.org/file33576/03-py2-flag.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20284
___
Changes by Neil Schemenauer nas-pyt...@arctrix.com:
Added file: http://bugs.python.org/file33577/04-py2-eq.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20284
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20284
___
Neil Schemenauer added the comment:
I'm attaching v2 of my proposed patch. This one is quite a bit better, IMHO.
- Introduce __ascii__ as a special method, like __str__ but required to exist
only if an ASCII-only format exists.
- Extract PyString_Format from Python 2.7 and update
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20284
___
___
Python-bugs-list
STINNER Victor added the comment:
I reviewed your second patch on Rietveld.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20284
___
___
Python
Neil Schemenauer added the comment:
Uploading new patch with the following changes:
- Allow length 1 bytes object as argument to %c.
- Make %r an alias for %a.
I will upload a draft PEP (proposed as a replacement for 461).
Victor, thanks for the review. My reply is:
- regarding duplicated
801 - 900 of 3881 matches
Mail list logo