Eli Bendersky eli...@gmail.com added the comment:
Can this be committed and closed? [it's still an annoying problem for some
Windows users who want to compile Python]
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11034
New submission from Stefan Krah stefan-use...@bytereef.org:
The FreeBSD-AMD64 bot exhibits sporadic hanging in unspecific places.
FreeBSD is running under kvm in the background. When the hanging occurs,
the virtual machine uses 100% CPU and I can't log in via ssh, so I have
to kill the kvm
Bernhard Rosenkraenzer b...@arklinux.org added the comment:
Not sure how to get it into verbose mode (I presume you don't mean python
-v), but normal mode (22 tests) works fine:
Python 2.7.1 (r271:86832, Apr 22 2011, 13:40:40)
[GCC 4.6.0] on linux2
Type help, copyright, credits or license for
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11949
___
___
Mark Dickinson dicki...@gmail.com added the comment:
sqrt(-0.0) to return -0.0. Does anyone know what the relevant standard says?
sqrt(-0.0) should indeed be -0.0, according to IEEE 754.
--
___
Python tracker rep...@bugs.python.org
Mark Dickinson dicki...@gmail.com added the comment:
Alexander,
There are lots of almost-equality tests in the test-suite already, between
test_math, test_float, test_cmath and test_complex. Do you need to implement
another one here, or can you reuse one of the existing ones?
--
Łukasz Langa luk...@langa.pl added the comment:
the_isz, for serious Unicode support you might try using the configparser 3.2
backport:
http://pypi.python.org/pypi/configparser
--
___
Python tracker rep...@bugs.python.org
Roundup Robot devnull@devnull added the comment:
New changeset 08996a664ed3 by Łukasz Langa in branch '3.2':
Mentioned issues #11324 and #11858.
http://hg.python.org/cpython/rev/08996a664ed3
--
___
Python tracker rep...@bugs.python.org
Roundup Robot devnull@devnull added the comment:
New changeset 0c21de0cca44 by Łukasz Langa in branch 'default':
Merged mentions of issues #11324 and #11858.
http://hg.python.org/cpython/rev/0c21de0cca44
--
___
Python tracker rep...@bugs.python.org
Martin v. Löwis mar...@v.loewis.de added the comment:
I'm closing it as rejected. Python doesn't use subversion anymore.
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11034
the_isz the_...@gmx.de added the comment:
Thanks for the hint, Łukasz, but like I stated earlier, I already worked around
this problem by using the json module instead.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11597
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: michael.foord - ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10775
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
The issue is actually in numpy. In numpy/f2py/src/fortranobject.c, function
array_from_pyobj(), there is::
sprintf(mess,failed to initialize intent(inout|inplace|cache) array
-- input must be array but got %s,
Ezio Melotti ezio.melo...@gmail.com added the comment:
Attached a revised patch.
While I agree that an error should be raised when extra args are provided in
the context manager form, this is out of the scope of the issue, so I didn't
include those changes.
--
stage: needs patch -
Changes by Ezio Melotti ezio.melo...@gmail.com:
Added file: http://bugs.python.org/file21840/issue10775-2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10775
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
Removed file: http://bugs.python.org/file21840/issue10775-2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10775
___
Jason Vas Dias jason.vas.d...@gmail.com added the comment:
RE: msg134751 - Thanks for responding, George -
This bug is still an issue for me, as even though I now have Python-3.3
having passed its test suite, installed and running OK, and even
went so far as to 'cd /usr/bin; rm -f python; ln -s
Georg Brandl ge...@python.org added the comment:
Not sure why you would prefer an unstable, unreleased hg trunk version to a
stable, released one.
And as you've seen, Python 2 and Python 3 are quite different things.
As for dl failing on build, you've already stated that it does *not* build,
Georg Brandl ge...@python.org added the comment:
The point is, all gratuitous changes to such branches are a nuisance to the
release manager who decides what needs to go into a security release.
Also, doc changes in 2.6 are almost completely gratuitous, since the docs are
never again built
Jason Vas Dias jason.vas.d...@gmail.com added the comment:
Now I'm really confused.
After linked /usr/bin/python to python3.3 :
$ cd /usr/bin; rm -f python; ln -s python3.3 python;
the 2.7.1 build now succeeds !
(with the patched Lib/test/test_commands.py and the 'make test'
run as
Jason Vas Dias jason.vas.d...@gmail.com added the comment:
BTW, while I'm here :
Any advice on how to setup a truly multi-architecture python installation?
I'm considering doing something like :
1. build same python source for both 32-bit and 64-bit, with
64-bit installing
Roundup Robot devnull@devnull added the comment:
New changeset 5a983773c09a by Victor Stinner in branch '3.2':
Issue #10914: Py_NewInterpreter() uses PyErr_PrintEx(0)
http://hg.python.org/cpython/rev/5a983773c09a
New changeset 2caf82aee7a4 by Victor Stinner in branch '3.2':
Issue #10914:
Jason Vas Dias jason.vas.d...@gmail.com added the comment:
Aha ! Is the above multi-arch config what would result if I did :
--with-universal-archs=ARCH
select architectures for universal build
(32-bit,
64-bit,
STINNER Victor victor.stin...@haypocalc.com added the comment:
Victor, the fix needs to go into 3.2 as well.
Oh, I thought that Modules/_testembed.c was only in 3.3. Anyway, it is a real
bug in 3.2, and it is now fixed (I backported the 2 fixes in 3.2).
--
status: open - closed
Changes by Daniel Urban urban.dani...@gmail.com:
--
nosy: +durban
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11762
___
___
Python-bugs-list
Jason Vas Dias jason.vas.d...@gmail.com added the comment:
So to get python multi-arch working as I expect I'd have to wrap the C header:
/usr/include/python-2.7/pyconfig.h
with something like:
#ifdef __i386__
#include python-2.7/32/pyconfig.h
#else
#include python-2.7/64/pyconfig.h
#endif
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
title: interruption of locks by signals not guaranteed when locks are
implemented using POSIX condition variables - interruption of locks by signals
not guaranteed when locks are implemented using POSIX condition variables;
Roundup Robot devnull@devnull added the comment:
New changeset 2b21fcf3d9a9 by Victor Stinner in branch 'default':
Issue #11223: Replace threading._info() by sys.thread_info
http://hg.python.org/cpython/rev/2b21fcf3d9a9
--
___
Python tracker
Georg Brandl ge...@python.org added the comment:
I'm going to state this one again: missing modules are *NOT* a build failure.
It is pretty common to not install a certain library (or headers for them), if
you don't need/want the Python module using it. (And editing Modules/Setup to
add
Roundup Robot devnull@devnull added the comment:
New changeset 28b9702a83d1 by Victor Stinner in branch 'default':
Issue #8407, issue #11859: Add signal.pthread_sigmask() function to fetch
http://hg.python.org/cpython/rev/28b9702a83d1
--
nosy: +python-dev
Jason Vas Dias jason.vas.d...@gmail.com added the comment:
OK, the last two comment contained complete instructions for setting
up a working dual 64-bit + 32-bit python installation.
Final, working /usr/bin/python :
$ cat /usr/bin/python
#!/bin/sh
ME=$0
ME=${ME##*/}
VERSION=${ME#python}
STINNER Victor victor.stin...@haypocalc.com added the comment:
New changeset 28b9702a83d1 by Victor Stinner in branch 'default':
Issue #8407, issue #11859: Add signal.pthread_sigmask() function to fetch
http://hg.python.org/cpython/rev/28b9702a83d1
--
Changes by Vegar storv...@gmail.com:
--
nosy: +storvann
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11147
___
___
Python-bugs-list mailing list
Łukasz Langa luk...@langa.pl added the comment:
Yup, the fact that the docs won't be rebuilt ever again makes my 2.6 commit
effectively pointless and harmful for the RM. I will clean it up when I get
home.
Thanks for the thorough explanation.
--
title: ConfigParser.[Raw]ConfigParser
STINNER Victor victor.stin...@haypocalc.com added the comment:
signalfd.patch: Add signal.signalfd(), signal.SFD_CLOEXEC and
signal.SFD_NONLOCK.
The patch is based on http://codereview.appspot.com/1132041 and the last
version (bzr) of python-signalfd.
The patch uses also
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
I don't want to use two different maps - I just want to use a single map which
is not the global socket_map in asyncore.
asyncore.dispatcher and asynchat.async_chat allow for a map to be passed in so
that the default global is not used,
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file15570/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7517
___
Éric Araujo mer...@netwok.org added the comment:
Closing as duplicate, please use the other bug report to discuss.
--
nosy: +eric.araujo
resolution: - duplicate
stage: needs patch - committed/rejected
status: open - closed
superseder: - freeze.py broken due to ABI flags
New submission from Éric Araujo mer...@netwok.org:
I’ve always found strange that one test relied on visual (i.e. human) checking
instead of using an assert* method. I changed it and found that the test still
passed (see attached patch). Is there any reason to do it the old way?
--
New submission from Éric Araujo mer...@netwok.org:
I found out that the indent parameter of json.dump was changed in 3.2: it can
be a string as well as an int. The docstring was not updated; the reST doc
was, but without a versionchanged directive.
This probably applies to the doc and
New submission from Éric Araujo mer...@netwok.org:
Previous to 3.2, os.popen was made a context manager thanks to a private
helper, os._wrap_close (contextlib.closing was maybe unavailable due to a
bootstrapping issue). Now that subprocess.Popen directly implements the
context manager
Éric Araujo mer...@netwok.org added the comment:
It seems strange to build and test Python as root.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11956
___
Éric Araujo mer...@netwok.org added the comment:
The helpers in test_argparse could be enhanced to print the tested string and
expected result in case of failure. Or the real line number.
--
nosy: +bethard, eric.araujo
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
To clarify one point: Python does not try to mimic the shell, but the os module
exposes system calls as they are.
(Unrelated remark: pkgutil.get_data can replace a lot of uses of
dirname(dirname(__file__)))
--
nosy: +eric.araujo
Jason Vas Dias jason.vas.d...@gmail.com added the comment:
Oops, thought there may be gotchas to that multi-arch python wrapper -
it wasn't quoting its arguments properly - here is now what I have as
/usr/bin/python :
$ cat python
#!/bin/bash
ME=$0
ME=${ME##*/}
VERSION=${ME#python}
Éric Araujo mer...@netwok.org added the comment:
Disregard my remark; David in msg134804 expressed support for this, and given
that there are Python programs run as root for sysadmin tasks, it makes sense
to make sure the code is tested when run by root.
--
R. David Murray rdmur...@bitdance.com added the comment:
This change was made by Raymond in issue 5729. It is the only feature added by
that patch; the missing versionchanged was an oversight and I don't think it
makes any more likely that other features were added that weren't documented.
Éric Araujo mer...@netwok.org added the comment:
One caveat to Terry’s suggestion: never ever change the case of a Python
identifier or keyword (“Sys”).
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Not sure how to get it into verbose mode
See http://diveintopython.org/http_web_services/debugging.html
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
New submission from Andreas Stührk andy-pyt...@hammerhartes.de:
The example says PyModule_AddConstant instead of PyModule_AddIntMacro.
Attached is a patch for 3.1 branch, but it applies to all branches.
--
assignee: docs@python
components: Documentation
files:
Éric Araujo mer...@netwok.org added the comment:
This change was made by Raymond in issue 5729. It is the only feature
added by that patch; the missing versionchanged was an oversight and I
don't think it makes any more likely that other features were added
that weren't documented.
Ah, I’m
Jason Vas Dias jason.vas.d...@gmail.com added the comment:
final python wrapper script :
$ cat python
#!/bin/bash
ME=$0
ME=${ME##*/}
VERSION=${ME#python}
VERSION=${VERSION:-2.7.1}
ARCH=`uname -m`
CMD=''
case $ARCH in
i686)
CMD=/usr/bin/32/${ME}
;;
*)
Roundup Robot devnull@devnull added the comment:
New changeset b3e7ffe6d727 by Benjamin Peterson in branch '3.1':
fix function name in example (closes #11966)
http://hg.python.org/cpython/rev/b3e7ffe6d727
New changeset fb709d9fe92a by Benjamin Peterson in branch '2.7':
fix function name in
Prashanth Raghu p.is.prasha...@gmail.com added the comment:
The .rst file that was downloaded as of 30-04-2011 (dd-mm-) had the updated
doc .
--
nosy: +Prashanth.Raghu
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11964
Roundup Robot devnull@devnull added the comment:
New changeset 34d2fb56de9a by R David Murray in branch '2.7':
#11901: post-commit review fixes per Georg Brandl
http://hg.python.org/cpython/rev/34d2fb56de9a
New changeset 2ddb4d6f826a by R David Murray in branch '3.1':
#11901: post-commit review
Roundup Robot devnull@devnull added the comment:
New changeset 5c61c1d583fd by R David Murray in branch '3.2':
#11883: replace incorrect call to sendmail with correct call to send_message
http://hg.python.org/cpython/rev/5c61c1d583fd
New changeset fcfaeab42f6e by R David Murray in branch
Roundup Robot devnull@devnull added the comment:
New changeset a9cb47d0241e by R David Murray in branch '2.7':
#11883: fix email examples by adding 'localhost' to SMTP constructor calls
http://hg.python.org/cpython/rev/a9cb47d0241e
New changeset 00ff8825f551 by R David Murray in branch '3.1':
R. David Murray rdmur...@bitdance.com added the comment:
The call to connect() is not required in the first example, since the hostname
is passed to the constructor in that case. Since these examples are about the
email package rather than smtplib, I preferred to change the other examples to
R. David Murray rdmur...@bitdance.com added the comment:
The problem with this patch is that it would also show 'new mail' if what had
in fact happened was that a message had been *deleted* (see the comments at the
beginning of the flush method). So actually fixing this is a bit more
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11964
___
___
R. David Murray rdmur...@bitdance.com added the comment:
Kasun, were you able to reproduce the problem (or show it doesn't happen)
calling mktime directly from C?
--
resolution: - invalid
stage: - committed/rejected
status: open - pending
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
The FreeBSD-AMD64 bot exhibits sporadic hanging in unspecific places.
You can try a shorter regrtest timeout, edit Lib/test/regrtest.py near:
if hasattr(faulthandler, 'dump_tracebacks_later'):
timeout = 60*60
(or use
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11361
___
___
Roundup Robot devnull@devnull added the comment:
New changeset e680564efa8c by Victor Stinner in branch 'default':
Close #11958: Fix FTP tests for IPv6, bind to ::1 instead of localhost.
http://hg.python.org/cpython/rev/e680564efa8c
--
nosy: +python-dev
resolution: - fixed
stage: -
STINNER Victor victor.stin...@haypocalc.com added the comment:
We may have a support.HOST_IPV6 constant, but I would imply to modify many
tests to use it. I prefer to apply your simple patch, thanks!
--
nosy: +haypo
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
unittest_str_bytes-2.patch:
- add new tests to reproduce the bug
- fix the bug: ignore temporary BytesWarning warnings while comparing objects
and sequences
--
Added file:
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
Apparently setuptools.command.easy_install.get_script_header() imports
distutils.command.build_scripts.first_line_re and checks if this regex matches
a str object, which results in TypeError. If breaking
R. David Murray rdmur...@bitdance.com added the comment:
The failing test is launching a subprocess to compile python code, waiting for
the subprocess to exit, and then checking to see if the file was created. So
the timing issue would appear to be that the file created by the subprocess
Ezio Melotti ezio.melo...@gmail.com added the comment:
I think the patch is OK.
FWIW I tried to replace sys.stderr with a StringIO to see if it was possible to
keep using assertRaises and then read the value from the StringIO but that
didn't work.
--
nosy: +ezio.melotti
New submission from David Albert Torpey dt...@users.sourceforge.net:
I would like to left and right shift floats as a fast way to multiply or divide
by a power of 2 without rounding error. The only way to do that now is
t=frexp(x) and y=ldexp(t[0],t[1]+2). But would be better to type y=x2.
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11967
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
The test suite crashs randomly with issue9756.patch on my Ubuntu 11.04 (AMD64
with 4 cores, 4 GB of memory, Linux 2.6.38). I use ./python -bb
Lib/test/regrtest.py -r to reproduce the crash.
... I tried without the patch, and
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
components: +Interpreter Core
nosy: +rhettinger
type: - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11967
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oh, the Ubuntu host has a temperature issue and hardware errors... Example of
mcelog output:
MCE 0
CPU 0 THERMAL EVENT TSC 198d1eb8325
TIME 1304222195 Sun May 1 05:56:35 2011
Processor 0 heated
New submission from Takayuki SHIMIZUKAWA shimizuk...@gmail.com:
WSGI sapmle code at wsgiref document
(http://docs.python.org/py3k/library/wsgiref.html#wsgiref.util.setup_testing_defaults)
was broken.
- status = b'200 OK'
- headers = [(b'Content-type', b'text/plain; charset=utf-8')]
+ status
75 matches
Mail list logo