Terry J. Reedy tjre...@udel.edu added the comment:
Yes, that would be great. It is better than my initial suggestion.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12434
___
Petter Haggholm pet...@petterhaggholm.net added the comment:
It’s my pleasure — it’s very trivial, but hopefully it’ll get my feet wet and
get me in a place where I am familiar enough with procedures and things to
contribute something relevant. :)
Attaching a modified patch with (1) reversion
Senthil Kumaran sent...@uthcode.com added the comment:
Hi Petter, writing tests are ofcourse a good way to start. As long as the tests
increase the coverage, those are most welcome. Thanks!
--
assignee: - orsenthil
___
Python tracker
Sébastien Sablé sa...@users.sourceforge.net added the comment:
Hi,
sorry for the late reply.
STINNER Victor added the comment:
At least, I would like to know if Sébastien Sablé (the author of the original
patch) changed his opinion about this issue since 2007 ;-)
I haven't changed my
Eric V. Smith e...@trueblade.com added the comment:
I finally got around to reviewing the patch. A couple of comments:
1. There should be some tests for str.__format__, not just str.format. This is
really a bug with str.__format__, after all. I can add those.
2. The bigger issue is that the
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
I'd like to reopen this, as it doesn't seem to be a duplicate of #8084.
Specifically, test_getsitepackages in test_sitepackages appears to be wrong,
since it has a correct test for platform builds later in the method, but the
failure
Éric Araujo mer...@netwok.org added the comment:
The sequence ABCs do not require slicing support.
Understood, but is it said in the docs? David said that he couldn’t find that
bit of info, which is why I suggested a doc bug.
--
___
Python tracker
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
Here is something unsorted and loose:
- @neologix:
One could argue that something had happened before the fsync(2),
so that code which blindly did so is too dumb to do any right
decision anyway. Even PEP 3151 won't help.
-
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
If Nir's analysis is right, and Antoines comment pushes me into
this direction, (i personally have not looked at that code),
then multiprocessing is completely brain-damaged and has been
implemented by a moron.
And yes, I know this
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3232
___
___
Python-bugs-list
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
Um, and just to add: i'm not watching out for anything, and it won't
and it can't be me:
?0%0[steffen@sherwood sys]$ grep -F smp CHANGELOG.svn -B3 | grep -E
'^r[[:digit:]]+' | tail -n 1
r162 | steffen | 2006-01-18 18:29:58 +0100
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12575
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
stage: - commit review
title: non-framework built python fails to define environ properly -
non-framework python fails to define os.environ properly
versions: +Python 3.3 -Python 3.1
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
1. 3xx codes are as fine as 200, IIRC.
2. Agreed, Roundup as very strange form parameters and URIs in general, but
that’s not something we can change.
3. Maybe the empty string would work? (It’s a URI reference which means “same
URI as the
Éric Araujo mer...@netwok.org added the comment:
Just a side note: please don’t use “folder” for cross-platform code or
documentation, it’s a Windows-specific term (like “wizard” for example).
--
nosy: +eric.araujo
title: More detailed `ImportError` messages - More detailed ImportError
Éric Araujo mer...@netwok.org added the comment:
It would be nice to have feedback from the Mac experts on this.
--
assignee: christian.heimes -
keywords: -buildbot, needs review, patch
nosy: +ned.deily
resolution: fixed -
stage: committed/rejected -
versions: +Python 3.3
Éric Araujo mer...@netwok.org added the comment:
How can we detect framework builds from Python code? Maybe there is a variable
in sysconfig?
--
nosy: +eric.araujo
superseder: pep-0370 on osx duplicates existing functionality -
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
Hem, I should have re-read Vinay’s message before posting :) Marking as easy.
--
keywords: +easy
stage: - needs patch
versions: +Python 2.7, Python 3.3
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7475
___
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12535
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12527
___
___
Python-bugs-list
Ronald Oussoren ronaldousso...@mac.com added the comment:
Waiting for a new version of boost probably won't help: this is an
incompatibility between a redefinition of ctypes macros in pyport.h and
definitions in the C++ header locale.
I barely use C++ at this time and don't know how to tweak
Ronald Oussoren ronaldousso...@mac.com added the comment:
This is almost certainly a bug in Tk. What OSX version are you using, and
which python installer did you use?
One thing you could try is installing a matching copy of ActiveState's Tk (8.4
for the 32-bit build, 8.5 for intel-only
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12546
___
___
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
This is now fixed in pythonv, see
https://bitbucket.org/vinay.sajip/pythonv/changeset/a59a3868d185/raw/pythonv-a59a3868d185.diff
--
___
Python tracker rep...@bugs.python.org
Nir Aides n...@winpdb.org added the comment:
then multiprocessing is completely brain-damaged and has been
implemented by a moron.
Please do not use this kind of language.
Being disrespectful to other people hurts the discussion.
--
___
Python
New submission from Florian Berger fber...@florian-berger.de:
When creating a source distribution, formats=zip will dereference symbolic
links while formats=bztar,gztar will not.
Example:
$ ls -l
drwxr-xr-x 3 4096 19. Jul 15:44 dist
-rw-r--r-- 1 53 19. Jul 15:15 foo.py
-rw-r--r-- 1 42 19.
Éric Araujo mer...@netwok.org added the comment:
Thanks for such a good report. Symlinks handling in distutils is
under-specified; this question showed up a few months ago on the distutils-sig
mailing list, with no good answer.
distutils is a special part of the standard library: as it spent
Florian Berger fber...@florian-berger.de added the comment:
Hi,
thanks for the reply. I see your point with the legacy distutils.
I hope that this explanation will let you see why I’m reluctant to
change distutils: we don’t know what code we will break if we improve
symlink handling. So,
Changes by Éric Araujo mer...@netwok.org:
--
keywords: +easy
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11175
___
___
Éric Araujo mer...@netwok.org added the comment:
For one thing, I think resources could be implemented in terms of skips, or
even included into stock unittest.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file22537/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12455
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12455
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
Well, this is actually somewhat more complicated than what my first
tests showed due to the way multipart/form-data is dealt with in
FieldStorage.read_multi().
The solution I proposed last time only works if the uploaded file is
passed as
Éric Araujo mer...@netwok.org added the comment:
The reason being that I'm using this in my own packages so that I can
distutils2-like setup.cfgs, but still install with normal distutils
and/or Distribute without depending on distutils2 in its entirety.
I'm wondering if there might be a
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file22671/getpath.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12572
___
Éric Araujo mer...@netwok.org added the comment:
Here’s a unified diff.
--
Added file: http://bugs.python.org/file22696/hp-ux-compiler-workarounds.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12572
Éric Araujo mer...@netwok.org added the comment:
Arg, I thought I removed a duplicate patch but it was actually an updated
version. Sorry about that; the link in the history at the bottom of this page
still links to the file. Updated unified diff attached.
--
Added file:
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file22696/hp-ux-compiler-workarounds.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12572
___
Éric Araujo mer...@netwok.org added the comment:
Jim: Sorry if we reacted first with process remarks instead of thanking you for
the patches and reviewing them. We value contributions, and we try to be
welcoming, but sometimes we forget what it’s like to enter this community.
Some things
Sébastien Sablé sa...@users.sourceforge.net added the comment:
Sorry for the very late reply; I have been quite busy recently with the
birth of my second daughter, a new job, a new home town and soon a new home.
...
But with your patch, such code wouldn't be thread-safe anymore. This
patch
Changes by Sébastien Sablé sa...@users.sourceforge.net:
Added file: http://bugs.python.org/file22698/patch_dlmalloc_Python_2_7_1.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3526
___
Éric Araujo mer...@netwok.org added the comment:
Hi Westley! Do you still have time to work on this?
--
keywords: +easy
nosy: +eric.araujo
versions: +Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11176
Éric Araujo mer...@netwok.org added the comment:
Martin did a review of the newer patch; maybe you didn’t get the mail (there’s
a Rietveld bug when a user name without email is given to the Cc field).
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Since I am changing of job, I won't be working on AIX anymore (yeah!);
You seem happy about that :)
Does it mean the project to have an AIX buildbot is abandoned?
I also don't expect this patch to be integrated spontaneously without
someone
Sébastien Sablé sa...@users.sourceforge.net added the comment:
Does it mean the project to have an AIX buildbot is abandoned?
We have a buildbot running internally on AIX. I could not get the necessary
modifications integrated upstream in the official Python buildbot so that we
could plug
Changes by Charles-François Natali neolo...@free.fr:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12372
___
___
Python-bugs-list
Robert Xiao nneon...@gmail.com added the comment:
Seconded. #12133 inadvertently closes the response object if the server fails
to indicate Connection: close. In my case, Amazon S3 (s3.amazonaws.com)
causes this problem:
(Python 3.2)
conn =
Charles-François Natali neolo...@free.fr added the comment:
I'm still in favor of keeping sys.platform == 'linux3', and you?
So do I.
For plat-linux3, should we regenerate this directory (I cannot do that, I
don't have Linux 3.0 yet) or can we just use a symbolic link? I read that
Linux
Westley Martínez aniko...@gmail.com added the comment:
I worked on this some time ago; the problem was the size of the documentation,
i.e. it was difficult to stay consistent. Do I have time for this? Yes, but I
wouldn't get it done anytime soon, and the results could be anywhere from good
Brett Cannon br...@python.org added the comment:
Doing a stack walk to try to determine if an import failure was from a circular
import would be costly, a little complicated (since you cannot simply look at
import statements but also various kinds of functions that can do an equivalent
job of
New submission from R. David Murray rdmur...@bitdance.com:
The work I've been doing on email6 has reached a stage where I'm confident
about the overall plan of the new code, and am ready for people to review it
and make suggestions. The patch represents a working state of the code, but
with
Changes by R. David Murray rdmur...@bitdance.com:
--
keywords: +patch
Added file: http://bugs.python.org/file22699/b22698463737.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12586
___
Changes by R. David Murray rdmur...@bitdance.com:
Added file: http://bugs.python.org/file22700/README.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12586
___
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +ericsnow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12583
___
___
Python-bugs-list
Barry A. Warsaw ba...@python.org added the comment:
I'm running into this while trying to backport Python 2.7.2 to Ubuntu 10.04.
Our build machines are throwing an error because they catch the implicit cast
so as to prevent problems on ia64 and amd64.
Changes by Brian Curtin br...@python.org:
--
assignee: theller -
nosy: -theller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10309
___
___
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
P.S.:
I have to apologize, it's Tomaž, not Thomas.
(And unless i'm mistaken this is pronounced TomAsch rather than
the english Tommes, so i was just plain wrong.)
--Steffen
Ciao, sdaoden(*)(gmail.com)
() ascii ribbon campaign -
Changes by Barry A. Warsaw ba...@python.org:
--
assignee: - barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10309
___
___
Python-bugs-list
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
then multiprocessing is completely brain-damaged and has been
implemented by a moron.
Please do not use this kind of language.
Being disrespectful to other people hurts the discussion.
So i apologize once again.
'Still i
Nir Aides n...@winpdb.org added the comment:
(BTW: there are religions without god, so whom shall e.g. i praise for the
GIL?)
Guido? ;)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6721
Ram Rachum cool...@cool-rr.com added the comment:
Brett: Why does it matter that it will be costly? It's a post-mortem activity
anyway, usually done when something critical failed and the entire system isn't
working.
Why would functions need to be looked at? I mean, isn't a circular import
Ram Rachum cool...@cool-rr.com added the comment:
Brett, I checked out the two pieces of documentation you referred to, they have
very little information about ImportWarning other than Base class for warnings
about probable mistakes in module imports.
--
New submission from Robert Xiao nneon...@gmail.com:
From a fresh Python3.2.1 tarball:
nneonneo@nneonneo-mbp:~/devel/Python-3.2.1/Lib/test$ for i in tokenize_tests-*;
do echo $i; xxd $i | head -n 1; done
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
000: efbb bf23 202d 2a2d 2063
Barry A. Warsaw ba...@python.org added the comment:
Python 3.1 is in security only mode, so this patch cannot be applied to that
version.
--
versions: +Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
New submission from rpointel pyt...@xiri.fr:
Hello,
the test test_subinterps failed on OpenBSD on powerpc architecture.
It works fine on amd64 and sparc64.
(The test_pendingcalls_threaded has been skipped because it blocks on OpenBSD).
Don't hesitate if you need more informations.
Details:
New submission from rpointel pyt...@xiri.fr:
Hello,
the test test_nan_inf failed on OpenBSD on powerpc architecture.
It works fine on amd64 and sparc64.
Don't hesitate if you need more informations.
Details:
Re-running test 'test_long' in verbose mode
test__format__ (test.test_long.LongTest)
STINNER Victor victor.stin...@haypocalc.com added the comment:
What is the result of int(float('inf')) ?
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12589
___
Ned Deily n...@acm.org added the comment:
It looks like a BOM has been present in that file for a *long* time: it is
there in the Python 3.0 source tarball, and, according to the converted
svn-to-hg history, it was there in its original check-in and is still there in
the current development
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 69dd70e70cc8 by Antoine Pitrou in branch '2.7':
Issue #12571: Add a plat-linux3 directory mirroring the plat-linux2 directory,
http://hg.python.org/cpython/rev/69dd70e70cc8
New changeset 9e3b28a7898f by Antoine
Antoine Pitrou pit...@free.fr added the comment:
Should be fixed now.
--
nosy: +pitrou
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - behavior
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
Robert Xiao nneon...@gmail.com added the comment:
Yes, it seems that way. Then the question is: why does the comment claim that
it doesn't have a BOM?
Also, test_tokenize.py is wrong around line 651:
def test_utf8_coding_cookie_and_no_utf8_bom(self):
f =
Antoine Pitrou pit...@free.fr added the comment:
Copying plat-linux2 to plat-linux3 should be just fine.
Done in issue12571.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12326
___
Robert Xiao nneon...@gmail.com added the comment:
Attached is a patch which fixes this. Python 3.2.1 still passes the test after
applying the patch, as expected.
--
keywords: +patch
Added file: http://bugs.python.org/file22701/issue12587.patch
___
Antoine Pitrou pit...@free.fr added the comment:
test_subinterps merely runs ./Modules/_testembed, so perhaps you could launch
it manually and see what it does?
(chances are it crashes, then can you please post the backtrace using a
debugger?)
--
nosy: +pitrou
Antoine Pitrou pit...@free.fr added the comment:
The patch looks fine to me.
in the finance industry in particular
Ha, I've seen that. There are even proprietary desktop applications for AIX!
--
stage: patch review - commit review
type: - behavior
versions: +Python 3.2, Python 3.3
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 0c254698e0ed by Ned Deily in branch '3.2':
Issue #12587: Correct faulty test file and reference in test_tokenize.
http://hg.python.org/cpython/rev/0c254698e0ed
New changeset c1d2b6b337c5 by Ned Deily in branch
STINNER Victor victor.stin...@haypocalc.com added the comment:
Your patch looks fine to me, except for this:
-if (platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',
-'freebsd7', 'freebsd8')
-or platform.startswith(gnukfreebsd)):
+
Ned Deily n...@acm.org added the comment:
Thanks for the report and the patch! Applied to 3.2 (for 3.2.2) and default
(for 3.3).
--
assignee: - ned.deily
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python
Antoine Pitrou pit...@free.fr added the comment:
Le mardi 19 juillet 2011 à 23:20 +, STINNER Victor a écrit :
STINNER Victor victor.stin...@haypocalc.com added the comment:
Your patch looks fine to me, except for this:
-if (platform in ('linux2', 'freebsd4', 'freebsd5',
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 8f3cc8ffc3ff by Barry Warsaw in branch '2.7':
- Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper
http://hg.python.org/cpython/rev/8f3cc8ffc3ff
New changeset cc00e09404e6 by Barry Warsaw in branch
Changes by Barry A. Warsaw ba...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10309
___
Hello Eric,
On Tue, Jul 19, 2011 at 01:05:59PM +, Éric Araujo wrote:
Alternate idea: use example.org. People won’t be able to actually
run the example, but is it really important?
The whole idea is present a usable example. Please don't suggest
unusable example. example.org does not
Changes by Miguel Luis mkx...@gmail.com:
--
nosy: +mluis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10141
___
___
Python-bugs-list mailing list
Tiago Gonçalves tiagogoncal...@ua.pt added the comment:
This patch should be easy to verify and includes documentation and the test
cases.
ogait87@mypc:~/cpython$ hg sum
parent: 71435:6f9d917df541 tip
Fix test_multiprocessing failure under Windows.
branch: default
commit: 7 modified
update:
R. David Murray rdmur...@bitdance.com added the comment:
Yes, there are ways other than an import statement that a module can get
imported (the __import__ function, for example, and the imp module for another,
as well as importlib).
If you want to try your hand at writing a patch to do the
Kuberan Naganathan kubi...@gmail.com added the comment:
Hi. I can submit a patch for the first part. Should I submit on this issue
tracker item?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12545
New submission from Simon Forman forman.si...@gmail.com:
In IDLE if you open a file that is longer than the editor window the first
line, with the cursor, is scrolled off the top of the window making it appear
as though the file begins at the second line.
This can be fixed by adding
Changes by Ned Deily n...@acm.org:
--
assignee: - ned.deily
nosy: +ned.deily
versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12590
Eli Bendersky eli...@gmail.com added the comment:
Peter, would you like to submit a corrected patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12531
___
Nasos Dousis ndou...@gmail.com added the comment:
Ronald, thanks again. I stripped out as much as I could from the
original code and generated the attached project. In doing so, I
narrowed the problem down to boost/weak_ptr.hpp.
The sample project consists of:
test-boost-python/Makefile
Nasos Dousis ndou...@gmail.com added the comment:
With attachment--
--
Added file: http://bugs.python.org/file22703/test-boost-python.tar.gz
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10910
New submission from Matt Joiner anacro...@gmail.com:
a = subprocess.Popen(['cat', '/path/to/text.ini'], stdout=subprocess.PIPE,
universal_newlines=True)
b = configparser.ConfigParser()
b.read_file(a.stdout)
Traceback (most recent call last):
File stdin, line 1, in module
File
93 matches
Mail list logo