Nick Coghlan added the comment:
OK, that sounds reasonable. That means I think we need to:
1. add an explicit porting note to the What's New for 3.4.0 final about frozen
modules no longer defining __file__
2. fix importlib.__init__ to tolerate freezing again in 3.4.1
3. remove
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - out of date
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14747
___
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - out of date
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14830
___
Éric Araujo added the comment:
Indeed, the devguide documents how to use coverage.py, and there is even a
pure-stdlib solution with regrtest. I recommend closing this.
--
resolution: - rejected
stage: test needed - committed/rejected
status: open - pending
Changes by Éric Araujo mer...@netwok.org:
--
dependencies: -Add tests for files byte-compiled by distutils[2]
resolution: - out of date
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14733
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - out of date
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14651
___
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - works for me
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14517
___
New submission from Andreas Schwab:
m68k has the same problem as x86 with excess floating point precision. The
attached patch implements the necessary support for HAVE_PY_SET_53BIT_PRECISION.
--
components: Interpreter Core
files: m68k-float-prec.patch
keywords: patch
messages: 213359
Giacomo Alzetta added the comment:
I asked this because, for example, in Haskell it *is* a well-defined behaviour
(see its documentation at:
http://hackage.haskell.org/package/containers-0.5.4.0/docs/Data-Set.html): the
left operand is preferred by all operations.
In fact, working with
Changes by Éric Araujo mer...@netwok.org:
--
resolution: accepted - out of date
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8254
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +mark.dickinson, skrah, tim.peters
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20904
___
___
New submission from Prashant Sharma:
It would be more convenient to extend heapq to support user defined
comparators.
Default can be cmp_lt in which case they behave as they do now.
Caveat:
What happens if uses switches comparator between calls to push or pop. The
expected behavior can be
Changes by Éric Araujo mer...@netwok.org:
--
resolution: accepted - out of date
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8357
Éric Araujo added the comment:
This is better done by tools outside of the standard library.
--
resolution: remind - rejected
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Prashant Sharma added the comment:
Signed the PSF CLA.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20905
___
___
Python-bugs-list mailing
Éric Araujo added the comment:
distutils2 is no more and the feature freeze for distutils was lifted.
However, this does not strike me as an important feature to add.
--
resolution: - rejected
stage: needs patch - committed/rejected
status: open - closed
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - out of date
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14848
___
Gareth Rees added the comment:
It would be better to accept a key function instead of a comparison
function (cf. heapq.nlargest and heapq.nsmallest).
But note that this has been proposed before and rejected: see
issue1904 where Raymond Hettinger provides this rationale:
Use cases aside,
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - out of date
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5747
___
Anastasia.Filatova added the comment:
I made a patch on this issue. I added a small example to the description.
Should I provide a more detailed example or that one will be enough? Could
someone please review the patch?
--
keywords: +patch
nosy: +Anastasia.Filatova
Added file:
Changes by Anastasia.Filatova anastasia.n.filat...@gmail.com:
Added file: http://bugs.python.org/file34390/Issue20112_py33.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20112
___
Changes by Anastasia.Filatova anastasia.n.filat...@gmail.com:
Added file: http://bugs.python.org/file34391/Issue20112_py34.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20112
___
Éric Araujo added the comment:
Fix is simple:
--- a/Lib/importlib/_bootstrap.py
+++ b/Lib/importlib/_bootstrap.py
@@ -1519,7 +1519,7 @@ def _find_and_load_unlocked(name, import
path = parent_module.__path__
except AttributeError:
msg = (_ERR_MSG + '; {} is not
New submission from Graham Wideman:
The Unicode HOWTO article is an attempt to help users wrap their minds around
Unicode. There are some opportunities for improvement. Issues presented in
order of the narrative:
http://docs.python.org/3.3/howto/unicode.html
History of Character Codes
Changes by Éric Araujo mer...@netwok.org:
--
keywords: +needs review, patch
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19257
___
STINNER Victor added the comment:
--- a/Lib/importlib/_bootstrap.py
+++ b/Lib/importlib/_bootstrap.py
Eric, please attach the patch as a file to the issue, so it can be easily
reviewed on Rietveld.
--
nosy: +haypo
___
Python tracker
Éric Araujo added the comment:
I figured it would take less time for someone to go to the file and make the
edit than download and apply a patch file, but as you wish :)
--
Added file: http://bugs.python.org/file34392/fix-import-not-package-tb.diff
Éric Araujo added the comment:
Can you give more information about this change?
As a new feature, it cannot go into 2.7.
--
components: +Distutils -Build
nosy: +eric.araujo
type: - enhancement
versions: +Python 3.5 -Python 2.7
___
Python tracker
STINNER Victor added the comment:
I figured it would take less time for someone to go to the file and make the
edit than download and apply a patch file, but as you wish :)
It's not to apply the patch, but to review it. The Rietveld tool helps to
review a patch online, it displays more
Changes by Éric Araujo mer...@netwok.org:
--
assignee: docs@python - eric.araujo
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20464
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo, ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20091
___
___
Changes by Éric Araujo mer...@netwok.org:
--
keywords: +needs review
nosy: +haypo
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20787
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20842
___
___
Python-bugs-list
Prashant Sharma added the comment:
Hey Gareth,
add Key= approach also solves the purpose. The purpose is to be able to use
heapq as max heap too conveniently. (I just wish python had minmaxheap too, but
felt that is too much to ask for.) It is a very common usage and usual tricks
of
New submission from Peter Santoro:
Since Python 3.3.1, ZipFile.extractall was enhanced to better handle absolute
paths and illegal characters. The associated logic within
shutil._unpack_zipfile essentially skips zip members with these issues.
If a zip file contains all absolute paths,
Roundup Robot added the comment:
New changeset 7a42fb12a736 by Victor Stinner in branch 'default':
Close #20787: asyncio doc: fix typo. Patch written by akira.
http://hg.python.org/cpython/rev/7a42fb12a736
--
nosy: +python-dev
resolution: - fixed
stage: patch review -
Changes by Éric Araujo mer...@netwok.org:
--
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20907
___
___
Python-bugs-list
STINNER Victor added the comment:
The following change should fix this issue.
changeset: 89480:56c346e9ae4d
user:Victor Stinner victor.stin...@gmail.com
date:Thu Mar 06 01:00:36 2014 +0100
files: Lib/asyncio/test_utils.py Lib/test/test_asyncio/test_events.py
description:
Roundup Robot added the comment:
New changeset f22e1d89486d by Victor Stinner in branch 'default':
Close #20889: asyncio doc: Document acquire(), locked() and release() method of
http://hg.python.org/cpython/rev/f22e1d89486d
--
nosy: +python-dev
resolution: - fixed
stage: -
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - out of date
stage: needs patch - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12135
___
STINNER Victor added the comment:
Thanks Alexandre for the report.
--
stage: committed/rejected -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20889
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
title: Deadlock in asyncio.StreamReader.readexactly() - Deadlock in
asyncio.StreamReader.readexactly() (fix applied, need unit test)
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 43b06352221b by Éric Araujo in branch '3.3':
Make distutils error messages more helpful (#11599).
http://hg.python.org/cpython/rev/43b06352221b
New changeset c04260b59e8c by Éric Araujo in branch 'default':
Merge 3.3 (#11599)
Éric Araujo added the comment:
Fixed!
--
components: -Distutils2
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
versions: +Python 3.4 -3rd party, Python 3.2
___
Python tracker rep...@bugs.python.org
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: commit review - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20763
___
Changes by Éric Araujo mer...@netwok.org:
--
hgrepos: -202
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16535
___
___
Python-bugs-list mailing
Éric Araujo added the comment:
Patch looks good and contains tests for the C and Python code.
Documentation is missing (a note to tell that json.dump converts
decimal.Decimal instances to JSON numbers, a versionchanged directive, maybe a
link to the doc that explains
Kushal Das added the comment:
Will submit a patch for this.
--
nosy: +kushaldas
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20842
___
___
Éric Araujo added the comment:
I’m inclined to reject this patch: it doesn’t apply cleanly anymore, it does
not cover all modules, and basically it’s markup changes without benefits for
end users.
Our doc can recommend nesting class and methods directives for new doc, and
existing doc may or
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - out of date
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12258
___
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - out of date
stage: test needed - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10884
___
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - out of date
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8680
___
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - rejected
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1692592
___
Changes by Éric Araujo mer...@netwok.org:
--
components: +Distutils -Distutils2
resolution: - rejected
stage: - committed/rejected
status: open - closed
versions: -3rd party
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - out of date
stage: test needed - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12925
___
Changes by Xavier Combelle xavier.combe...@gmail.com:
--
nosy: +xcombelle
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20891
___
___
New submission from Luis G.F:
A memory leak can happend in Reg2Py() loosing the reference to str pointer.
See file PC/winreg.c +947
--
components: Extension Modules, Windows
messages: 213384
nosy: luisgf
priority: normal
severity: normal
status: open
title: Memory leak in Reg2Py()
Changes by Armin Rigo ar...@users.sourceforge.net:
--
assignee: arigo -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1617161
___
___
Luis G.F added the comment:
Attach of patch for the 3.3.5 version.
--
keywords: +patch
versions: +Python 3.3
Added file: http://bugs.python.org/file34394/winreg_leak_v33.patch
___
Python tracker rep...@bugs.python.org
Saimadhav Heblikar added the comment:
As a part of my GSOC 2014 proposal, i had prepared a mockup which adds
linenumbering feature to a text widget.I am adding the mockup along with a
image.
Working:
Intercepts low level calls and detects if any of the actions modify current
view.If they do
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:
Added file: http://bugs.python.org/file34396/Screenshot from 2014-03-09
16:09:37.png
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17535
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:
Removed file: http://bugs.python.org/file34396/Screenshot from 2014-03-09
16:09:37.png
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17535
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:
Added file: http://bugs.python.org/file34397/line numbering mockup image.png
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17535
___
Jason R. Coombs added the comment:
I'm not sure I understand the justification. If the patch serves a logical
purpose, and distutils isn't deprecated in the current development line, then I
would suggest we apply the patch. If we don't fix the behavior today, then the
library will be in the
Roundup Robot added the comment:
New changeset d22ef969cb82 by Nick Coghlan in branch 'default':
Close #19407: New installation distribution guides
http://hg.python.org/cpython/rev/d22ef969cb82
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
Nick Coghlan added the comment:
Not sure how much I'll be online tomorrow or Saturday, so I went ahead and
committed what I had.
The new guides definitely aren't perfect, but I think they're in acceptable
shape for 3.4.0, and we can improve them in parallel with Python Packaging User
Guide
New submission from Nick Coghlan:
Cherry pick request for the Installation Distribution docs updates for PEP
453.
New changeset d22ef969cb82 by Nick Coghlan in branch 'default':
Close #19407: New installation distribution guides
http://hg.python.org/cpython/rev/d22ef969cb82
--
Roundup Robot added the comment:
New changeset f5be4ea5b43e by Nick Coghlan in branch 'default':
Issue #19407: fix link
http://hg.python.org/cpython/rev/f5be4ea5b43e
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19407
Nick Coghlan added the comment:
Additional change set to fix a couple of malformed links:
New changeset f5be4ea5b43e by Nick Coghlan in branch 'default':
Issue #19407: fix link
http://hg.python.org/cpython/rev/f5be4ea5b43e
--
title: 3.4 cherry pick: d22ef969cb82 new distribution
Brett Cannon added the comment:
I assume you mean for 3. to fix PyImport_ImportFrozenModuleObject() and not
stop resetting __file__ for _frozen_importlib in importlib.__init__ like we are
currently doing. I think you're right that it could wait until 3.5 as it will
only be apparent to people
Brett Cannon added the comment:
Is it confusing though? If you only had the latter exception all you would know
is Python doesn't consider datetime a package but you wouldn't know why that is
unless you knew the exact definition (the __path__ attribute exists). Having
the former exception
New submission from STINNER Victor:
Hi,
I'm trying to make Python test suite reliable, but it's hard because the speed
of our farm of buildbots varies a lot. The whole test suite takes less than 10
minutes on some buildbots (or event less than 5 minutes), while it took 10
hours on other
Barry A. Warsaw added the comment:
On Mar 13, 2014, at 05:15 AM, Éric Araujo wrote:
The source contains :meth:`self.gettext`, and Sphinx adds the parentheses
when creating markup for a function, probably because it’s common to say
things like “the len() function”. There is a Sphinx config
STINNER Victor added the comment:
The test suite pass with test_sleep.patch applied on my fast Linux PC.
The test must be tested on Windows (because of the clock resolution of 15.6 ms).
I run the unit test using the command ./python -m test -j0 -rW.
By the way, do you have an idea to simulate
STINNER Victor added the comment:
IMO it's a bug in PyEval_InitThreads().
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20891
___
___
R. David Murray added the comment:
Would it be possible for regrtest to do some operations to estimate the speed
and choose good values for the constants automatically?
If you have the right kind of VM setup, you could simulate a slow buildbot by
giving the VM a low CPU share and then running
Zachary Ware added the comment:
Éric Araujo wrote:
From #20265:
Correction, this is #20265, that message was from #20266 :)
Kathleen: both Éric and I have left some review comments for you in Rietveld,
which should have sent you an email with the comments and links to the Rietveld
review.
Kathleen Weaver added the comment:
It was Visual Studio that messed up the end of line feeds, it keep telling me
that there was a problem but I didn't know what it meant. Erik and I were in
#pyladies and he really helped me.
As soon as I get done with gym and other mundane errands I will get
R. David Murray added the comment:
Looking at the PEP, I don't think there's anything in there that can just be
copied to the docs. I've suggested to one of the new contributors to do the
break out of the error handlers into its own section, and then someone with
more understanding of
Zachary Ware added the comment:
The problem with the previous approach and building inside Visual Studio was
that makefile.vc in both Tcl and Tk first checks for one of MSDEVDIR,
MSVCDIR, VCINSTALLDIR, MSSDK or WINDOWSSDKDIR being set, which Visual
Studio doesn't set. That issue could have
STINNER Victor added the comment:
Would it be possible for regrtest to do some operations to estimate the speed
and choose good values for the constants automatically?
It might be possible to make the parameters dynamic, for example using the
system loads. But I'm not really interested to
STINNER Victor added the comment:
The test must be tested on Windows (because of the clock resolution of 15.6
ms).
The test suite pass on Windows too (PCbuild\python_d.exe -m test).
--
___
Python tracker rep...@bugs.python.org
New submission from R. David Murray:
Some places in the code it is an email.message.Message object. Some places it
is a simple dictionary. In one place (FTP), it is a string with embedded
newlines.
I'm not sure what should be done about this situation, but it looks like a bug
magnet, and
Antoine Pitrou added the comment:
It might be possible to make the parameters dynamic, for example
using
the system loads. But I'm not really interested to invest too much time
on optimizing the timing parameters for buildbots. I would like to
ensure that tests pass with a short test sleep
R. David Murray added the comment:
In 3.3:
x = OSError(2, 'No such file or directory', 'foo', 0, 'bar')
str(x)
(2, 'No such file or directory', 'foo', 0, 'bar')
So, I don't see this as a realistic backwards compatibility problem worthy of a
porting note.
--
nosy: +r.david.murray
Jesús Cea Avión added the comment:
I take care of this.
--
assignee: - jcea
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20908
___
Roundup Robot added the comment:
New changeset 361c10d06b9c by R David Murray in branch 'default':
whatsnew: HTTPError.headers (#15701).
http://hg.python.org/cpython/rev/361c10d06b9c
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset d575398d1916 by R David Murray in branch 'default':
whatsnew: collections no longer implicitly imports 'abc' (#20784).
http://hg.python.org/cpython/rev/d575398d1916
--
___
Python tracker
R. David Murray added the comment:
I've documented that 'collections.abc' is no longer implicit, which I presume
means we are going to keep this behavior. (Unless you tell me to revert that
and we fix it as a regression in 3.4.1).
As long as an application follows the note and explicitly
R. David Murray added the comment:
I'm done with everything in my edit queue except the final copy-edit/formatting
pass. So if you know of anything missing, let me know.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19861
Jesús Cea Avión added the comment:
This is not actually important, since the program will finish a second after
this. But cleanup is simple enough.
--
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20908
Roundup Robot added the comment:
New changeset b44a3f6676b8 by Jesus Cea in branch '2.7':
Closes #20908: Memory leak in Reg2Py()
http://hg.python.org/cpython/rev/b44a3f6676b8
New changeset 07968254be96 by Jesus Cea in branch '3.3':
Closes #20908: Memory leak in Reg2Py()
New submission from Vitaly Murashev:
When I use 'zip' command-line tool on my Ubuntu 10.04 to pack a directory in
zip-archive, it internally assigns '0x41ed0010' attributes for it.
0x41ed0010 = 0x41ed 0xfff + 0x0010
Where:
0x41ed - unix attributes (40755)
0x0010 - means # MS-DOS
Claudiu.Popa added the comment:
Here's a new patch which addresses Éric's last comments.
Antoine, I don't have at my disposal a system without multiprocessing support.
How does it crash?
--
Added file: http://bugs.python.org/file34400/issue16104_5.patch
Zachary Ware added the comment:
I got a few failures on my Windows machine running `PCbuild\python_d.exe -m
test -j0 -rW` [1], only one of which looks relevant [2]:
==
FAIL: test_monotonic (test.test_time.TimeTestCase)
Antoine Pitrou added the comment:
Here's a new patch which addresses Éric's last comments.
Antoine, I don't have at my disposal a system without multiprocessing
support. How does it crash?
Neither do I, but you will probably get an ImportError of some sort.
--
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue672115
___
Mark Dickinson added the comment:
Technically I guess this counts as a new feature. It would be painful to have
to wait for 3.5, though. I wonder whether we can sneak this in after 3.4 is
released?
Is the __mc68000__ #define specific to gcc?
--
Georg Brandl added the comment:
Agreed.
--
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12901
___
___
Python-bugs-list
1 - 100 of 230 matches
Mail list logo