Ronald Oussoren ronaldousso...@mac.com added the comment:
I don't agree that distutils should autodetect architectures, that can result
in silent behavior changes when you built extensions and assume ppc support
will get compiled in.
We should probably start to mention the intel only builds
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Please don't add notes of this sort to the docs.
--
assignee: docs@python - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12134
Ezio Melotti ezio.melo...@gmail.com added the comment:
Are you against the proposed wording or the note itself?
Stating that in CPython json.dump doesn't use the C accelerations is a
reasonable thing to do imho.
--
___
Python tracker
Ezio Melotti ezio.melo...@gmail.com added the comment:
'\u1ff3'.upper() returns '\u1ffc', so we have:
U+1FF3 (ῳ - GREEK SMALL LETTER OMEGA WITH YPOGEGRAMMENI)
U+1FFC (ῼ - GREEK CAPITAL LETTER OMEGA WITH PROSGEGRAMMENI)
The first belongs to the Ll (Letter, lowercase) category, whereas the
sorin sorin.sbar...@gmail.com added the comment:
Let's try to find a good compromise regarding this. I hope the we all agree
that we should not put our personal needs or preferences on the first place,
it's important to improve the overall experience for most users.
First, we do not want to
New submission from Ned Deily n...@acm.org:
==
FAIL: test_wait_when_sigchild_ignored
(test.test_subprocess.POSIXProcessTestCase)
--
Traceback (most recent call
Gregory P. Smith g...@krypto.org added the comment:
I added comments in the code review.
this patch is looking good once the comments are addressed. thanks for your
contribution!
As for talk of support for recursion... thats what os.walk() is for. it
doesn't belong as part of any
Roundup Robot devnull@devnull added the comment:
New changeset 8349094d1fe8 by Ned Deily in branch '2.7':
Issue #12205: Fix test_subprocess failure due to uninstalled test data.
http://hg.python.org/cpython/rev/8349094d1fe8
New changeset bd49031b9488 by Ned Deily in branch '3.1':
Issue #12205:
Ned Deily n...@acm.org added the comment:
Applied to 2.7 (for 2.7.2) and 3.1 (for 3.1.4).
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12205
Ned Deily n...@acm.org added the comment:
Compilers are smart enough to pick the right architecture for them (xcode3
will build ppc/i386/x64 and xcode4 i386/x64
Actually, that's not the case for Python builds. The architecture selection is
based on what the builder of the Python interpreter
New submission from Martin Ponweiser m.ponwei...@gmail.com:
I hope the title is self-explanatory.
--
assignee: docs@python
components: Documentation
messages: 137178
nosy: docs@python, mponweiser
priority: normal
severity: normal
status: open
title: Documentation Std. Library 15.7.5
sorin sorin.sbar...@gmail.com added the comment:
You are right about Python from 10.6, it has PPC, but 10.7 doesn't.
bash-3.2$ file /Volumes/107/usr/bin/python2.6
/Volumes/107/usr/bin/python2.6: Mach-O universal binary with 2 architectures
/Volumes/107/usr/bin/python2.6 (for architecture
sorin sorin.sbar...@gmail.com added the comment:
And in addition to 2.5 and 2.6, 10.7 includes 2.7.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11623
___
Marc-Andre Lemburg m...@egenix.com added the comment:
Ezio Melotti wrote:
Ezio Melotti ezio.melo...@gmail.com added the comment:
'\u1ff3'.upper() returns '\u1ffc', so we have:
U+1FF3 (ῳ - GREEK SMALL LETTER OMEGA WITH YPOGEGRAMMENI)
U+1FFC (ῼ - GREEK CAPITAL LETTER OMEGA WITH
Nick Coghlan ncogh...@gmail.com added the comment:
Looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12199
___
___
Adam Woodbeck adam.woodb...@gmail.com added the comment:
I propose:
object.copy_sign(other)
Return a copy of *object* with the sign set to be the same as the sign of
*other*.
This format is most familiar to me. But like Ezio wrote, all other methods
referring to first and second
Xuanji Li xua...@gmail.com added the comment:
Updated previous patch with test cases and renamed exit_on_argument_error flag
to exit_on_error.
--
Added file: http://bugs.python.org/file22172/issue9938_with_test.patch
___
Python tracker
Adam Woodbeck adam.woodb...@gmail.com added the comment:
Or rather:
object.copy_sign(other)
Return a copy of *object* with the sign set to be that of *other*.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12185
Roundup Robot devnull@devnull added the comment:
New changeset 866d959dea8e by Charles-François Natali in branch 'default':
Issue #12196: Add PIPE_MAX_SIZE to test.support, constant larger than the
http://hg.python.org/cpython/rev/866d959dea8e
--
nosy: +python-dev
Adam Woodbeck adam.woodb...@gmail.com added the comment:
Sorry guys. I'm new at this. After reviewing this thread, Terry's suggestion
makes the most sense to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12185
Roundup Robot devnull@devnull added the comment:
New changeset db60dee0019b by Éric Araujo in branch '2.7':
Backport doc improvements for distutils.cmd.Command (#9223).
http://hg.python.org/cpython/rev/db60dee0019b
--
nosy: +python-dev
___
Python
Roundup Robot devnull@devnull added the comment:
New changeset da7617248935 by Éric Araujo in branch '2.7':
Fix test_distutils when sys.dont_write_bytecode is true (#9831).
http://hg.python.org/cpython/rev/da7617248935
--
nosy: +python-dev
___
Python
Roundup Robot devnull@devnull added the comment:
New changeset 74fa7b4b934f by Éric Araujo in branch 'default':
Port r86353 to packaging (#10359: “;” after function definition is invalid in
ISO C)
http://hg.python.org/cpython/rev/74fa7b4b934f
--
nosy: +python-dev
Roundup Robot devnull@devnull added the comment:
New changeset 3d56e559ffc6 by Éric Araujo in branch '3.1':
Fix test_build_py when sys.dont_write_bytecode is true (#9831).
http://hg.python.org/cpython/rev/3d56e559ffc6
New changeset 1370dc2690a2 by Éric Araujo in branch '3.2':
Merge doc
Éric Araujo mer...@netwok.org added the comment:
Now fixed, thanks for the report.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
Ismail Donmez ism...@namtrac.org added the comment:
Awesome, thank you!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9831
___
___
Éric Araujo mer...@netwok.org added the comment:
Hi David, I made this patch to port the improvements you made to 2.7. The new
usage message looks like this:
usage: python compileall.py [-l] [-f] [-q] [-d destdir] [-x regexp] [-i list]
[directory|file ...]
arguments: zero or more file and
Changes by Éric Araujo mer...@netwok.org:
Added file: http://bugs.python.org/file22174/compileall-help-3.x.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10454
___
Éric Araujo mer...@netwok.org added the comment:
The python-dev discussion talked about chowntree vs. os.walk:
http://mail.python.org/pipermail/python-dev/2011-May/111667.html
http://mail.python.org/pipermail/python-dev/2011-May/111673.html
R. David Murray rdmur...@bitdance.com added the comment:
The fact that you have carefully think about which are escapes and which aren't
tells you that you should not be depending on the non-escapes not being
escapes. What if we added one? The doc says preserving the \s is a debugging
aid,
Éric Araujo mer...@netwok.org added the comment:
If you’re logged into Roundup, you should automatically be logged into our
Rietveld instance. You can file a bug on the meta-tracker (link in the left
sidebar) if this does not work.
--
___
Python
Éric Araujo mer...@netwok.org added the comment:
This request is not feasible with Mercurial and the useful info is already
available. Closing.
--
resolution: - works for me
stage: - committed/rejected
status: open - closed
___
Python tracker
Roundup Robot devnull@devnull added the comment:
New changeset e0e663132363 by Benjamin Peterson in branch 'default':
unify TryExcept and TryFinally (closes #12199)
http://hg.python.org/cpython/rev/e0e663132363
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12206
___
___
Éric Araujo mer...@netwok.org added the comment:
I found “bitwise OR-ed” in library/fcntl.rst library/functions.rst
library/os.rst library/winsound.rst (using grep, not Sphinx :)
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Again, changing the role :func: to :class: adds zero value to the tools or the
human readers. What’s needed are class *directives* that will provide a target
for those links, e.g.:
.. class:: list
.. method:: append
Then :func:`list` and
Éric Araujo mer...@netwok.org added the comment:
Thanks for explaining.
a) NoneType object is not iterable. If the function don't return empty list
later distutil will fail
Possible fix: self.dll_libraries = get_msvcr() or []
method for detection of a msvc runtime is not correct. If the
New submission from Éric Araujo mer...@netwok.org:
Title says it all.
--
assignee: docs@python
components: Documentation
files: document-pycf-only-ast.diff
keywords: needs review, patch
messages: 137203
nosy: docs@python, eric.araujo
priority: normal
severity: normal
stage: patch review
New submission from Éric Araujo mer...@netwok.org:
I found a bug in email.policy.rst (Msg instead of msg) and did other touch-ups
in the file. Please review.
--
assignee: docs@python
components: Documentation
files: email.policy-markup-glitches.diff
keywords: patch
messages: 137204
Benjamin Peterson benja...@python.org added the comment:
Use of PyCF_ONLY_AST be superseded by ast.parse.
--
nosy: +benjamin.peterson
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12207
New submission from Éric Araujo mer...@netwok.org:
I made some grammar fixes in faulthandler.rst and tweaked the example to better
show what the module does.
I’d like to fix the synopsis too: “dump the Python traceback” is not very clear
to me. It is the traceback or the stack trace? Why is
Éric Araujo mer...@netwok.org added the comment:
This is my current patch, FYI.
--
keywords: +patch
Added file:
http://bugs.python.org/file22178/versionadded-3.2-json-indent-str.diff
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
See #11964 for a documentation problem with this change.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5729
___
Éric Araujo mer...@netwok.org added the comment:
Would storing len(self._buffer) in the instance be premature optimization?
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue968063
Changes by Éric Araujo mer...@netwok.org:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11751
___
___
Python-bugs-list
Roundup Robot devnull@devnull added the comment:
New changeset 293c398cd4cf by Charles-François Natali in branch 'default':
Issue #12196: Add pipe2() to the os module.
http://hg.python.org/cpython/rev/293c398cd4cf
--
___
Python tracker
Marc Sibson sib...@gmail.com added the comment:
issue10772.patch: add help, count and parsers to Doc/library/argparse.rst
--
keywords: +patch
nosy: +marcs
Added file: http://bugs.python.org/file22179/issue10772.patch
___
Python tracker
Ned Deily n...@acm.org added the comment:
Should this be a release blocker for 3.2.1?
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11254
___
Charles-François Natali neolo...@free.fr added the comment:
The Gentoo buildbot on which O_CLOEXEC test failed also chokes on test_pipe2:
[ 10/355] test_posix
test test_posix failed -- Traceback (most recent call last):
File
Jonas H. jo...@lophus.org added the comment:
Linking a class using a function directive is counter-intuitive. That's why we
need to make use of class directives rather than function directives here.
--
___
Python tracker rep...@bugs.python.org
Changes by David Barnett davidbarne...@gmail.com:
--
nosy: +mu_mind
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11240
___
___
Python-bugs-list
R. David Murray rdmur...@bitdance.com added the comment:
I like bitwise-or better than bitwise OR because 'bitwise-or' is a distinct
operation from 'or', and making it hyphenated emphasizes that.
--
___
Python tracker rep...@bugs.python.org
New submission from Stefan Krah stefan-use...@bytereef.org:
With Python 2.7, the FreeBSD AMD64 bot has sporadic failures in
test_smtplib. Since these failures don't occur in other branches,
I wonder if the timeout of 3 seconds is too low in 2.7. The timeout
is 15 seconds in 3.3.
test
Changes by Jean-Marc Saffroy saff...@gmail.com:
Removed file: http://bugs.python.org/file21443/netrc.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11416
___
Jean-Marc Saffroy saff...@gmail.com added the comment:
Ping? A patch is available for review.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11416
___
Stefan Krah stefan-use...@bytereef.org added the comment:
Indeed, increasing the timeout to 15 solves the problem (I ran the
test with the -F option for about 100 times).
Since the timeout has been increased before to deal with flaky tests
(52682bd738a7), I guess it's ok to do the same for 2.7.
Charles-François Natali neolo...@free.fr added the comment:
The test now runs fine on the buildbots, closing.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Brian Curtin br...@python.org:
--
keywords: +needs review
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11416
___
Stefan Krah stefan-use...@bytereef.org added the comment:
Hmm, testVRFY occurs twice, once with timeout=15 and once with
timeout=3. So there might be another reason why the test passes on
3.3 but not on 2.7.
Anyway, increasing the timeout to 15 throughout does solve
(or suppress) the problem.
STINNER Victor victor.stin...@haypocalc.com added the comment:
If've added a test to skip this test on Linux kernels older than 2.6.27:
like O_CLOEXEC, the problem is that the libc defines pipe2() while the
kernel doesn't support it, so when syscall() is called it bails out with
ENOSYS.
Roundup Robot devnull@devnull added the comment:
New changeset de4d34a95603 by Ned Deily in branch 'default':
Issue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9
http://hg.python.org/cpython/rev/de4d34a95603
--
nosy: +python-dev
___
Roundup Robot devnull@devnull added the comment:
New changeset c2f61149764e by Ned Deily in branch 'default':
Issue #10736: Revert changeset de4d34a95603 as it causes failures with
http://hg.python.org/cpython/rev/c2f61149764e
--
___
Python tracker
Ned Deily n...@acm.org added the comment:
The changes looked good to me and fixed the test failures with Cocoa Tk 8.5.9
and caused no regressions with the ActiveState Carbon Tk 8.4 so I committed
them to get some exposure. But then I recalled I had not tested with just the
old Apple-supplied
New submission from umedoblock umedobl...@gmail.com:
I expected return int if I gave x as integer to copysign.
I encounterd two problems.
I'd like to fix this problems.
but I can't come up with nice idea.
therefore I just report for you.
one:
import math
a = [0, 1, 2, 3]
i = 1
i_copysign =
Ned Deily n...@acm.org added the comment:
It appears the original (unmodified) test also fails with the old
Apple-supplied Tk 8.4 (this is on OS X 10.5). So I'll do some more testing and
then probably re-apply this at some point after the current round of releases.
--
Roundup Robot devnull@devnull added the comment:
New changeset 48e837b2a327 by Nadeem Vawda in branch 'default':
Miscellaneous cleanups to bz2 and test_bz2 following issue #1625.
http://hg.python.org/cpython/rev/48e837b2a327
--
___
Python tracker
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
Added file: http://bugs.python.org/file22182/patch_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12084
___
Nadeem Vawda nadeem.va...@gmail.com added the comment:
If you’re logged into Roundup, you should automatically be logged into
our Rietveld instance.
I thought this was the case, but it isn't working for me. I've filed a
bug on the meta-tracker.
--
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
Added file: http://bugs.python.org/file22183/patch_v2.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12084
___
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
Removed file: http://bugs.python.org/file22006/patches_v2.tar.gz
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12084
___
Roundup Robot devnull@devnull added the comment:
New changeset 3e5200abf8eb by Nadeem Vawda in branch 'default':
Issue #1625: Add stream ordering test to test_bz2.
http://hg.python.org/cpython/rev/3e5200abf8eb
--
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
What do you call a stack trace? I use this term in the C language, especially
when using the where command of gdb. In Python, the stack trace is called a
traceback. Anyway, faulthandler prints the Python trace, not the C trace, so
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12175
___
Joesph someone...@gmail.com added the comment:
And much sense is made. If there is a generic instance test that I have
missed I'd be willing to work around this minor flaw. That the definition is
an instance of 'object' is a case that should be handled by the function
though.
On May 28, 2011
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12211
___
___
R. David Murray rdmur...@bitdance.com added the comment:
Except when explicitly noted otherwise, all return values are floats.
On the other hand, copysign says return x with the sign of y, which certainly
sounds like it is preserving x, not creating a new float. So at the least
there is a
R. David Murray rdmur...@bitdance.com added the comment:
Everything in python is an instance of something. Objects all the way down...
isinstance(object, object)
True
So, there is no function you are overlooking because there is nothing that is
not an instance.
--
nosy:
New submission from Mitch Ackermann m...@plethory.net:
-Here are some links that you may find you refererence frequently while
+Here are some links that you may find you reference frequently while
--
components: Devguide
messages: 137235
nosy: mita
priority: normal
severity: normal
Joesph someone...@gmail.com added the comment:
It only fails when checking for 'object'. To think classes are instances is
absurd. Its like saying the chicken is the egg. I can understand that
classes are an instance of object in the interpreter, but, that isn't the
case in the interpreted. Thus
Benjamin Peterson benja...@python.org added the comment:
e685024a2699
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12212
New submission from STINNER Victor victor.stin...@haypocalc.com:
The following code displays Xbc using io, and bc using _pyio (or an
unbuffered file, e.g. io.FileIO):
-
import _pyio, io
with io.BytesIO(b'abc') as raw:
#with _pyio.BufferedRandom(raw) as f:
with
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
components: +IO
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12213
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
I already noticed the implement difference of BufferedRandom.write(),
but I don't remember if I reported it or not!?
Yes, I already reported the difference:
http://bugs.python.org/issue12062#msg135876
--
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12213
___
___
Python-bugs-list mailing list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12062
___
___
Python-bugs-list mailing list
R. David Murray rdmur...@bitdance.com added the comment:
You are correct, B is not an instance of A. But both B and A are instances of
'type':
class A:
... pass
...
class B(A):
...pass
...
isinstance(A, type)
True
isinstance(B, type)
True
And type is a subclass of object.
Joesph someone...@gmail.com added the comment:
Beautiful, thank you. This should be in the isinstance documentation for
clarity.
On May 29, 2011 9:28 PM, R. David Murray rep...@bugs.python.org wrote:
R. David Murray rdmur...@bitdance.com added the comment:
You are correct, B is not an
R. David Murray rdmur...@bitdance.com added the comment:
FYI that buildbot is likely to get a kernel upgrade in the not too distant
future.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12196
R. David Murray rdmur...@bitdance.com added the comment:
You are confusing directives and roles. As was already pointed out, there is
currently no target for list.append to point to. That's what needs to be added.
--
nosy: +r.david.murray
___
Ronald Oussoren ronaldousso...@mac.com added the comment:
What 10.7? ;-) Please remember 10.7 is under NDA, and as such shouldn't be
discussed in public.
As I mentioned earlier: the 32-bit build should be deprecated and is only
needed for older machines, anyone running modern machines can
90 matches
Mail list logo