Sandro Tosi sandro.t...@gmail.com added the comment:
Fixed by Raymond (thanks!) with these commits:
http://hg.python.org/cpython/rev/0fe3b81c7c89
http://hg.python.org/cpython/rev/cf56abd14eef
--
nosy: +rhettinger
resolution: - fixed
stage: patch review - committed/rejected
status:
Ralf Schmitt python-b...@systemexit.de added the comment:
trunk configure.in contains code that checks for the existence of a .hg
repository.
See rev 435eec7b41f0
--
nosy: +schmir
___
Python tracker rep...@bugs.python.org
Roundup Robot devnull@devnull added the comment:
New changeset 276530424350 by Victor Stinner in branch 'default':
Issue #12333: restore the previous dir before removing the current directory
http://hg.python.org/cpython/rev/276530424350
--
nosy: +python-dev
Roundup Robot devnull@devnull added the comment:
New changeset e6e7e42efdc2 by Victor Stinner in branch '3.2':
Issue #12310: finalize the old process after _run_after_forkers()
http://hg.python.org/cpython/rev/e6e7e42efdc2
New changeset a73e5c1f57d7 by Victor Stinner in branch 'default':
(Merge
STINNER Victor victor.stin...@haypocalc.com added the comment:
Let's try on real buildbots. If the commit fixes the issue on 3.x, I will
port the fix to Python 2.7.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12310
STINNER Victor victor.stin...@haypocalc.com added the comment:
276530424350 fixed the failures on x86 OpenIndiana 3.x buildbot.
--
nosy: +haypo
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
Instead of
ValueError: unsupported character
I suggest:
ValueError: unsupported character (U+1): Tcl doesn't support characters
outside U+-U+ range
What do you think?
--
STINNER Victor victor.stin...@haypocalc.com added the comment:
@Martin: Can you review my patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12263
___
Roundup Robot devnull@devnull added the comment:
New changeset 6e5a9f16d831 by Victor Stinner in branch 'default':
Issue #12333: close files before removing the directory
http://hg.python.org/cpython/rev/6e5a9f16d831
New changeset 144cea8db9a5 by Victor Stinner in branch 'default':
Issue
Roundup Robot devnull@devnull added the comment:
New changeset ad6bdfd7dd4b by Victor Stinner in branch '3.2':
Issue #12133: fix a ResourceWarning in urllib.request
http://hg.python.org/cpython/rev/ad6bdfd7dd4b
New changeset 57a98feb508e by Victor Stinner in branch 'default':
(Merge 3.2) Issue
Roundup Robot devnull@devnull added the comment:
New changeset 18e6ccc332d5 by Victor Stinner in branch '2.7':
Issue #12133: AbstractHTTPHandler.do_open() of urllib.request closes the HTTP
http://hg.python.org/cpython/rev/18e6ccc332d5
--
___
Python
STINNER Victor victor.stin...@haypocalc.com added the comment:
I tested the patch on Python 3.3: the full test suite pass on Linux. I applied
your patch on Python 2.7, 3.2 and 3.3, thanks Ezio.
--
resolution: - fixed
status: open - closed
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
A patch fixing os.environ warning for test_command_build_ext.py:
diff --git a/Lib/packaging/tests/test_command_build_ext.py
b/Lib/packaging/tests/test_command_build_ext.py
--- a/Lib/packaging/tests/test_command_build_ext.py
+++
Roundup Robot devnull@devnull added the comment:
New changeset ca18f7f35c28 by Victor Stinner in branch '3.2':
Issue #10883: test_urllib2net closes socket explicitly
http://hg.python.org/cpython/rev/ca18f7f35c28
New changeset 6d38060f290c by Victor Stinner in branch 'default':
(Merge 3.2) Issue
STINNER Victor victor.stin...@haypocalc.com added the comment:
ftp_close.patch:
- (in passive mode) FTP.ntransfercmd() closes explicitly the socket on error:
the caller has not access to the socket on error
- OtherNetworkTests of test_urllib2net clears CacheFTPHandler cache: add a
New submission from greg.ath gathan...@gmail.com:
Hi,
My multithreaded application uses multithreading.Value() to ensure thread-safe
operations on shared data.
For unexpected reasons, after some change in my code, the function will
consistently hang.
I did a gdb backtrace of the hanging
R. David Murray rdmur...@bitdance.com added the comment:
That needs to be ported to the other branches, then.
Ezio, on a completely unrelated note, notice what happened to Ralf's reference.
I think the regexes may need to be reordered.
--
nosy: +ezio.melotti
STINNER Victor victor.stin...@haypocalc.com added the comment:
Simpler patch replacing 1026 constant by MAXPATHLEN. On my Linux box,
MAXPATHLEN is 4096 and os.pathconf('/', 'PC_PATH_MAX') returns 4096. I am able
to get a path of 4095 bytes using the patch.
--
Added file:
STINNER Victor victor.stin...@haypocalc.com added the comment:
You may use get_current_dir_name() which allocates the memory for us.
I can adapt os_getcwd_buffer-2.patch to support Solaris/OpenBSD, but do we need
a dynamic buffer? (do we need to support OS without PATH_MAX)
--
STINNER Victor victor.stin...@haypocalc.com added the comment:
bigpath2.py: script to check the maximum path length of os.getcwd().
--
Added file: http://bugs.python.org/file22395/bigpath2.py
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
test_multiprocessing pass with success on PPC Tiger 3.x (and x86 Tiger 3.x, but
the segfaults only occurred on PPC), but this issue is a sporadic issue. I
close the issue because I hope that it is closed, but reopen it if you still
STINNER Victor victor.stin...@haypocalc.com added the comment:
I fixed the issue #12333. I don't see any test_packaging failure anymore, let's
close this issue.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Martin v. Löwis mar...@v.loewis.de added the comment:
I can adapt os_getcwd_buffer-2.patch to support Solaris/OpenBSD, but
do we need a dynamic buffer? (do we need to support OS without
PATH_MAX)
From a practicality point of view, we need to make no change at all:
nobody sane ever has a
R. David Murray rdmur...@bitdance.com added the comment:
Bump, this failure is still happening on the ppc tiger buildbot periodically.
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8716
New submission from Bryan Jacobs bjac...@woti.com:
Parsing arguments with argparse fails with an IndexError when one of the
arguments is the empty string (''). This is caused by an access to the zero'th
element of the argument value, without a preceding length check.
Fixed by the below patch:
STINNER Victor victor.stin...@haypocalc.com added the comment:
What about something like .decode('mbcs', errors='windows')?
Yes, we can use an error handler specific to the mbcs codec, but I would prefer
to not introduce special error handlers.
For os.fsencode(), we can keep it unchanged, or
Roundup Robot devnull@devnull added the comment:
New changeset c9d27c63b45c by R David Murray in branch 'default':
#12313: update Makefile.pre.in to account for email tests moving to 'test' dir
http://hg.python.org/cpython/rev/c9d27c63b45c
--
nosy: +python-dev
R. David Murray rdmur...@bitdance.com added the comment:
Well, regardless of whether or not I understand what's going on, clearly those
directories in the makefile needed updating, so I did it.
--
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
Torsten, can you provide a clear, failing unittest for this?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4470
___
Torsten Bronger bron...@physik.rwth-aachen.de added the comment:
No, I don't know how to do that. All I can provide is a minimal version of my
code that triggers the above mentioned traceback. It is:
import smtplib
s = smtplib.SMTP_SSL(relay-auth.rwth-aachen.de)
s.login(***, ***)
Torsten Bronger bron...@physik.rwth-aachen.de added the comment:
Sorry, it must be:
import smtplib
s = smtplib.SMTP_SSL(relay-auth.rwth-aachen.de)
s.login(***, ***)
s.sendmail(bron...@physik.rwth-aachen.de, [bronger.ran...@googlemail.com],
Hello)
(A bracket was missing.)
--
R. David Murray rdmur...@bitdance.com added the comment:
Thanks for the report and patch. I'm setting this to test needed since the
final patch will need a unit test.
The idiomatic way to do this kind of check is 'if not argstring or
arg_string[0] not in self.fromfile_prefix_chars):'
R. David Murray rdmur...@bitdance.com added the comment:
According to your traceback you should be seeing the error in the first line
(the creation of the SMTP_SSL object). If I run that line at the python prompt
of python2.7.1, I get your connection failure. If I run it using 2.7 tip (or
sbt shibt...@gmail.com added the comment:
You are right, we need a manual reset *or* we must ensure that every
user of _PyOS_SigintEvent only does so from the main thread.
On second thoughts, even using an auto-reset event, resetting the event before
waiting is unavoidable. Otherwise you
Roundup Robot devnull@devnull added the comment:
New changeset fea1920ae75f by R David Murray in branch '3.2':
#11767: use context manager to close file in __getitem__ to prevent FD leak
http://hg.python.org/cpython/rev/fea1920ae75f
New changeset 1d7a91358517 by R David Murray in branch
R. David Murray rdmur...@bitdance.com added the comment:
The patch doesn't work on 2.7. The failures are related to #11700, although
that would seem to indicate that something *is* trying to close the file. I
have no idea what.
--
dependencies: +mailbox.py proxy updates
Changes by Éric Araujo mer...@netwok.org:
--
assignee: - tarek
components: +Distutils2
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12347
___
Changes by Éric Araujo mer...@netwok.org:
--
assignee: - tarek
components: +Distutils2
nosy: +eric.araujo
title: case sensitivness in packaging.pypi.simple.Crawler - case sensitivity
in packaging.pypi.simple.Crawler
versions: +Python 3.3
___
Éric Araujo mer...@netwok.org added the comment:
Martin’s sys.platform = 'linux' sounds good to me too.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12326
___
Éric Araujo mer...@netwok.org added the comment:
This wasn't so much a feature request as a request for review.
From a tracker process viewpoint, any report is a bug, a feature request or a
doc bug. A bug can be defined as a discrepancy between the doc and the code.
Given that I found no
Éric Araujo mer...@netwok.org added the comment:
Thanks for tackling this while I was offline.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12333
___
Roundup Robot devnull@devnull added the comment:
New changeset 27a70dfc38cc by Éric Araujo in branch 'default':
Packaging tests: don’t let an internal cache grow indefinitely.
http://hg.python.org/cpython/rev/27a70dfc38cc
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
I could not find any test in distutils/tests that imports extension modules.
test_build_ext builds and imports xx.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12167
Éric Araujo mer...@netwok.org added the comment:
Yay!
--
nosy: +alexis, eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12133
___
___
Éric Araujo mer...@netwok.org added the comment:
We’re down to 100 refleaks. Thanks to the negative refleaks of test_pydoc, we
now have a few refleaks to spare! Seriously, what does a negative refleak mean?
--
___
Python tracker
Filip Gruszczyński grusz...@gmail.com added the comment:
Should I try to do something about this right now or should I wait until #1170
is finishedclosed and only then try to fix this issue too?
--
___
Python tracker rep...@bugs.python.org
Collin Winter coll...@gmail.com added the comment:
I have provided justification in the original patch submission. Without this
patch, we were unable to cleanly apply gcc's feedback-directed optimization
system to Python. FDO yields significant performance improvements.
--
Filip Gruszczyński grusz...@gmail.com added the comment:
Bump! Antoine, do you think the patch is acceptable and can be committed now?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6584
R. David Murray rdmur...@bitdance.com added the comment:
Well, if you want to you could investigate further, and try the patch from
#11700 and see what is left to do here after it has been applied. I'll try to
get 11700 in soon, though.
--
___
New submission from Filip Gruszczyński grusz...@gmail.com:
In documentation for packaging.pypi.simple in first code snippet crawler
variable is created on which further operations will be performed. However in
all next snippets there is client variable, which is a little confusing on
first
Filip Gruszczyński grusz...@gmail.com added the comment:
And a small, quick patch to docs.
--
keywords: +patch
Added file: http://bugs.python.org/file22396/12354.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12354
Éric Araujo mer...@netwok.org added the comment:
Thanks for the report. I’m editing the doc to fix all instances of client and
also improve phrasing in the whole file.
--
assignee: docs@python - eric.araujo
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
ValueError: unsupported character (U+1): Tcl doesn't support characters
outside U+-U+ range
Slightly shorter and without the double :s.
ValueError: character U+1 is above the range (U+-U+) allowed by
Tcl/Tk.
I agree
Lars Wirzenius l...@liw.fi added the comment:
Right. So I guess at least the following should be changed (I'll make an actual
patch once there's consensus):
* st_blocks should say that the size of block is often 512 bytes, but that's
not guaranteed, and there's no way to know for sure
*
R. David Murray rdmur...@bitdance.com added the comment:
It means that objects were garbage collected. The refleak test runs the test
multiple times, and ignores the first N runs to allow the object count to
settle. But sometimes it either doesn't settle, or later runs end up with
objects
Terry J. Reedy tjre...@udel.edu added the comment:
Your changes appear to address all three of Antoine's 'nits'.
--
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6584
R. David Murray rdmur...@bitdance.com added the comment:
I think that wording is as good as we can do for now. Providing a way to
determine the size of st_blocks blocks should be a separate issue (a feature
request). That enhancement can include an update to these docs, but since it
is an
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9246
___
___
Python-bugs-list
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12346
___
___
Filip Gruszczyński grusz...@gmail.com added the comment:
When I started looking at this I noticed following behaviour:
from packaging.pypi.simple import Crawler
client = Crawler()
client.get_releases('webob')
Traceback (most recent call last):
File stdin, line 1, in module
File
New submission from Filip Gruszczyński grusz...@gmail.com:
When looking at issue #12348 I have noticed following behaviour:
from packaging.pypi.simple import Crawler
c = Crawler()
c.get_releases('webob')
Traceback (most recent call last):
File test_crawl.py, line 3, in module
Daniel Stutzbach stutzb...@google.com added the comment:
On Wed, Jun 15, 2011 at 8:10 PM, Nick Coghlan rep...@bugs.python.orgwrote:
I'd like to add a new constant to the math module:
tau = 2*math.pi
Rather than repeating all the reasons for why tau makes more sense than pi
as the
Éric Araujo mer...@netwok.org added the comment:
Sure, let’s follow redirections (and log them).
--
stage: - needs patch
type: crash - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12355
Filip Gruszczyński grusz...@gmail.com added the comment:
OK, I'll try to come up with some patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12355
___
Mark Dickinson dicki...@gmail.com added the comment:
Not to mention d(area of circle of radius r) = r dr matey.
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12345
Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it added the comment:
On Fri, 17 Jun 2011, R. David Murray wrote:
RDM
RDM R. David Murray rdmur...@bitdance.com added the comment:
RDM
RDM According to your traceback you should be seeing the error in the
RDM first line (the creation of the
Georg Brandl ge...@python.org added the comment:
http://tauday.com/
And I thought putting dx directly next to the integral sign was audacious...
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12345
Terry J. Reedy tjre...@udel.edu added the comment:
I agree that all table entries should link to the entry in the same file.
dict() and set() also jump to CH. 4, in addition to memoryview and frozenset.
Others all work properly.
The entries for classes should generally have a link to their
Catalin Iacob iacobcata...@gmail.com added the comment:
Most of the problems in this issue were solved already so it could almost be
closed:
* patch 1 was addressed in #11927
* patch 2 was addressed in #4066
* patches 3 and 4 were addressed in #11893
Torsten's problem was addressed by
Terry J. Reedy tjre...@udel.edu added the comment:
The patch does 3 things:
1. clarify that 'amt' in 'the next amt bytes' means 'amount'.
I do not think this is necessary; 'the next blah bytes' is clear. Actually,
'amt' really means 'number', not 'amount', which would imply that 'amt' is a
Antoine Pitrou pit...@free.fr added the comment:
From a practicality point of view, we need to make no change at all:
nobody sane ever has a current working directory path of more than
1000 characters. Even if people have very long path names, they
don't make them the current working
New submission from Terry J. Reedy tjre...@udel.edu:
help(inspect.getabsfile) could be copied
getabsfile(object, _filename=None)
Return an absolute path to the source or compiled file for an object.
The idea is for each object to have a unique origin, so this routine
Terry J. Reedy tjre...@udel.edu added the comment:
Are you requesting that the doc be changed or the code?
From the title, I would infer the doc (which is much easier ;-).
If so, can you suggest an actual revised text?
--
nosy: +terry.reedy
stage: - needs patch
versions: +Python 3.3
Terry J. Reedy tjre...@udel.edu added the comment:
WinXP, 3.2.0
type(sys.stdin)
class 'idlelib.rpc.RPCProxy'
sys.stdin.readline()
a
'a\n'
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12337
Torsten Bronger bron...@physik.rwth-aachen.de added the comment:
My Python version is Python 2.7.1+ and the package is called python2.7
2.7.1-5ubuntu2 (Ubuntu Natty).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4470
R. David Murray rdmur...@bitdance.com added the comment:
I'm not sure what the point of your example is, Terry. Is it not fixed in
3.2.1?
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12337
New submission from Benjamin Peterson benja...@python.org:
After completing #12265, it was pointed out to me that the error message is
still not perfect:
def f(a, b, c=3, d=4, e=6, f=3, g=32): pass
...
f(1, f=4, d=90)
Traceback (most recent call last):
File stdin, line 1, in module
Ezio Melotti ezio.melo...@gmail.com added the comment:
The regexes are now in the right order.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12346
___
Roundup Robot devnull@devnull added the comment:
New changeset b89d193cbca5 by R David Murray in branch '2.7':
#11700: proxy object close methods can now be called multiple times
http://hg.python.org/cpython/rev/b89d193cbca5
New changeset 8319db2dd342 by R David Murray in branch '3.2':
#11700:
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
title: mailbox.py proxy updates - mailbox.py proxy close method cannot be
called multiple times
type: - behavior
R. David Murray rdmur...@bitdance.com added the comment:
Well, it turns out I was totally wrong about the 11700 dependency. I misread
the errors that were produced by the test suite. Even after fixing 11700 they
are still there: the tests are reading from the closed files. So something
Terry J. Reedy tjre...@udel.edu added the comment:
That, like Antoine, I also could not reproduce, even in 3.2.0, when running
under IDLE. However, with regular command line Python:
Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)]
import sys
sys.stdin.readline()
a
82 matches
Mail list logo