[issue11623] Distutils is reporting OSX 10.6 w/ XCode 4 as universal

2011-05-29 Thread Ronald Oussoren
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

[issue12134] json.dump much slower than dumps

2011-05-29 Thread Raymond Hettinger
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

[issue12134] json.dump much slower than dumps

2011-05-29 Thread Ezio Melotti
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

[issue12204] str.upper converts to title

2011-05-29 Thread Ezio Melotti
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

[issue11623] Distutils is reporting OSX 10.6 w/ XCode 4 as universal

2011-05-29 Thread sorin
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

[issue12205] test_subprocess fails due to uninstalled test subdirectory

2011-05-29 Thread Ned Deily
New submission from Ned Deily n...@acm.org: == FAIL: test_wait_when_sigchild_ignored (test.test_subprocess.POSIXProcessTestCase) -- Traceback (most recent call

[issue12191] Add shutil.chown to allow to use user and group name (and not only uid/gid)

2011-05-29 Thread Gregory P. Smith
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

[issue12205] test_subprocess fails due to uninstalled test subdirectory

2011-05-29 Thread Roundup Robot
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:

[issue12205] test_subprocess fails due to uninstalled test subdirectory

2011-05-29 Thread Ned Deily
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

[issue11623] Distutils is reporting OSX 10.6 w/ XCode 4 as universal

2011-05-29 Thread Ned Deily
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

[issue12206] Documentation Std. Library 15.7.5 LogRecord objects: Parameters: level(currently wrong) - levelno (correct)

2011-05-29 Thread Martin Ponweiser
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

[issue11623] Distutils is reporting OSX 10.6 w/ XCode 4 as universal

2011-05-29 Thread sorin
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

[issue11623] Distutils is reporting OSX 10.6 w/ XCode 4 as universal

2011-05-29 Thread sorin
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 ___

[issue12204] str.upper converts to title

2011-05-29 Thread Marc-Andre Lemburg
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

[issue12199] Unify TryExcept and TryFinally

2011-05-29 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12199 ___ ___

[issue12185] Decimal documentation lists first and second arguments, should be self and other

2011-05-29 Thread Adam Woodbeck
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

[issue9938] Documentation for argparse interactive use

2011-05-29 Thread Xuanji Li
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

[issue12185] Decimal documentation lists first and second arguments, should be self and other

2011-05-29 Thread Adam Woodbeck
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

[issue12196] add pipe2() to the os module

2011-05-29 Thread Roundup Robot
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

[issue12185] Decimal documentation lists first and second arguments, should be self and other

2011-05-29 Thread Adam Woodbeck
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

[issue9223] distutils Command docs linking

2011-05-29 Thread Roundup Robot
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

[issue9831] test_distutils should honor PYTHONDONTWRITEBYTECODE

2011-05-29 Thread Roundup Robot
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

[issue10359] ISO C cleanup

2011-05-29 Thread Roundup Robot
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

[issue9831] test_distutils should honor PYTHONDONTWRITEBYTECODE

2011-05-29 Thread Roundup Robot
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

[issue9831] test_distutils should honor PYTHONDONTWRITEBYTECODE

2011-05-29 Thread Éric Araujo
É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

[issue9831] test_distutils should honor PYTHONDONTWRITEBYTECODE

2011-05-29 Thread Ismail Donmez
Ismail Donmez ism...@namtrac.org added the comment: Awesome, thank you! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9831 ___ ___

[issue10454] Clarify compileall command-line options

2011-05-29 Thread Éric Araujo
É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

[issue10454] Clarify compileall command-line options

2011-05-29 Thread Éric Araujo
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 ___

[issue12191] Add shutil.chown to allow to use user and group name (and not only uid/gid)

2011-05-29 Thread Éric Araujo
É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

[issue12162] Documentation about re \number

2011-05-29 Thread R. David Murray
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,

[issue1625] bz2.BZ2File doesn't support multiple streams

2011-05-29 Thread Éric Araujo
É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

[issue12101] PEPs should have consecutive revision numbers

2011-05-29 Thread Éric Araujo
É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

[issue12199] Unify TryExcept and TryFinally

2011-05-29 Thread Roundup Robot
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

[issue12206] Documentation Std. Library 15.7.5 LogRecord objects: Parameters: level(currently wrong) - levelno (correct)

2011-05-29 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12206 ___ ___

[issue12148] Clarify or-ing together doctest option flags

2011-05-29 Thread Éric Araujo
É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

[issue11975] Fix referencing of built-in types (list, int, ...)

2011-05-29 Thread Éric Araujo
É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

[issue5043] get_msvcr() returns None rather than []

2011-05-29 Thread Éric Araujo
É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

[issue12207] Document ast.PyCF_ONLY_AST

2011-05-29 Thread Éric Araujo
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

[issue12208] Glitches in email.policy docs

2011-05-29 Thread Éric Araujo
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

[issue12207] Document ast.PyCF_ONLY_AST

2011-05-29 Thread Benjamin Peterson
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

[issue12209] Minor edits to faulthandler doc

2011-05-29 Thread Éric Araujo
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

[issue11964] Undocumented change to indent param of json.dump in 3.2

2011-05-29 Thread Éric Araujo
É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

[issue5729] Allows tabs for indenting JSON output

2011-05-29 Thread Éric Araujo
É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 ___

[issue968063] Add fileinput.islastline()

2011-05-29 Thread Éric Araujo
É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

[issue11751] Increase distutils.filelist test coverage

2011-05-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11751 ___ ___ Python-bugs-list

[issue12196] add pipe2() to the os module

2011-05-29 Thread Roundup Robot
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

[issue10772] Several actions for argparse arguments missing from docs

2011-05-29 Thread Marc Sibson
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

[issue11254] distutils doesn't byte-compile .py files to __pycache__ during installation

2011-05-29 Thread Ned Deily
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 ___

[issue12196] add pipe2() to the os module

2011-05-29 Thread Charles-François Natali
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

[issue11975] Fix referencing of built-in types (list, int, ...)

2011-05-29 Thread Jonas H.
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

[issue11240] Running unit tests in a command line tool leads to infinite loop with multiprocessing on Windows

2011-05-29 Thread David Barnett
Changes by David Barnett davidbarne...@gmail.com: -- nosy: +mu_mind ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11240 ___ ___ Python-bugs-list

[issue12148] Clarify or-ing together doctest option flags

2011-05-29 Thread R. David Murray
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

[issue12210] test_smtplib: intermittent failures on FreeBSD

2011-05-29 Thread Stefan Krah
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

[issue11416] netrc module does not handle multiple entries for a single host

2011-05-29 Thread Jean-Marc Saffroy
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 ___

[issue11416] netrc module does not handle multiple entries for a single host

2011-05-29 Thread Jean-Marc Saffroy
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 ___

[issue12210] test_smtplib: intermittent failures on FreeBSD

2011-05-29 Thread Stefan Krah
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.

[issue12196] add pipe2() to the os module

2011-05-29 Thread Charles-François Natali
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

[issue11416] netrc module does not handle multiple entries for a single host

2011-05-29 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- keywords: +needs review stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11416 ___

[issue12210] test_smtplib: intermittent failures on FreeBSD

2011-05-29 Thread Stefan Krah
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.

[issue12196] add pipe2() to the os module

2011-05-29 Thread STINNER Victor
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.

[issue10736] test_ttk_guionly fails on OS X using ActiveState Tcl 8.5.9 (Cocoa)

2011-05-29 Thread Roundup Robot
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 ___

[issue10736] test_ttk_guionly fails on OS X using ActiveState Tcl 8.5.9 (Cocoa)

2011-05-29 Thread Roundup Robot
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

[issue10736] test_ttk_guionly fails on OS X using ActiveState Tcl 8.5.9 (Cocoa)

2011-05-29 Thread Ned Deily
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

[issue12211] math.copysign must keep object type.

2011-05-29 Thread umedoblock
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 =

[issue10736] test_ttk_guionly fails on OS X using ActiveState Tcl 8.5.9 (Cocoa)

2011-05-29 Thread Ned Deily
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. --

[issue1625] bz2.BZ2File doesn't support multiple streams

2011-05-29 Thread Roundup Robot
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

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-05-29 Thread Hirokazu Yamamoto
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 ___

[issue1625] bz2.BZ2File doesn't support multiple streams

2011-05-29 Thread Nadeem Vawda
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. --

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-05-29 Thread Hirokazu Yamamoto
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 ___

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-05-29 Thread Hirokazu Yamamoto
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 ___

[issue1625] bz2.BZ2File doesn't support multiple streams

2011-05-29 Thread Roundup Robot
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

[issue12209] Minor edits to faulthandler doc

2011-05-29 Thread STINNER Victor
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

[issue12175] FileIO.readall() read the file position and size at each read

2011-05-29 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12175 ___

[issue12203] isinstance not functioning as documented

2011-05-29 Thread Joesph
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

[issue12211] math.copysign must keep object type.

2011-05-29 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12211 ___ ___

[issue12211] math.copysign must keep object type.

2011-05-29 Thread R. David Murray
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

[issue12203] isinstance not functioning as documented

2011-05-29 Thread R. David Murray
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:

[issue12212] Minor proofreading typo in index.rst

2011-05-29 Thread Mitch Ackermann
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

[issue12203] isinstance not functioning as documented

2011-05-29 Thread Joesph
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

[issue12212] Minor proofreading typo in index.rst

2011-05-29 Thread Benjamin Peterson
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

[issue12213] BufferedRandom: write(); read() gives different result using io and _pyio

2011-05-29 Thread STINNER Victor
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

[issue12213] BufferedRandom: write(); read() gives different result using io and _pyio

2011-05-29 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- components: +IO ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12213 ___ ___

[issue12213] BufferedRandom: write(); read() gives different result using io and _pyio

2011-05-29 Thread STINNER Victor
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 --

[issue12213] BufferedRandom: write(); read() gives different result using io and _pyio

2011-05-29 Thread Jesús Cea Avión
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

[issue12062] Buffered I/O inconsistent with unbuffered I/O in certain cases

2011-05-29 Thread Jesús Cea Avión
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

[issue12203] isinstance not functioning as documented

2011-05-29 Thread R. David Murray
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.

[issue12203] isinstance not functioning as documented

2011-05-29 Thread Joesph
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

[issue12196] add pipe2() to the os module

2011-05-29 Thread R. David Murray
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

[issue11975] Fix referencing of built-in types (list, int, ...)

2011-05-29 Thread R. David Murray
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 ___

[issue11623] Distutils is reporting OSX 10.6 w/ XCode 4 as universal

2011-05-29 Thread Ronald Oussoren
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