Santoso Wijaya santoso.wij...@gmail.com added the comment:
Hm, I can't reproduce this on darwin:
Python 2.7.1 (r271:86832, Jan 26 2011, 19:17:30)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type help, copyright, credits or license for more information.
import time
time.strftime('%m/%d/%Y
Ross Lagerwall rosslagerw...@gmail.com added the comment:
Closing as duplicate of #10963. See #10963 for more discussion.
--
nosy: +rosslagerwall
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
Ross Lagerwall rosslagerw...@gmail.com added the comment:
Marked #6457 as a duplicate. See #6457 for more discussion.
--
nosy: +Yaniv.Aknin, amaury.forgeotdarc, dwalczak, mcrute
___
Python tracker rep...@bugs.python.org
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This is a duplicate of issue10762, and only concerns the Windows C runtime
library.
--
nosy: +amaury.forgeotdarc
resolution: - duplicate
status: open - closed
superseder: - strftime('%f') segfault
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11734
___
___
Mark Wiebe mwwi...@gmail.com added the comment:
Taking a look at the patch, I see you're using the single - half conversion
routine from NumPy. This has the double rounding problem when converting double
- float - half, so it would be better to use the double - half routine. I
implemented it
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10762
___
___
Changes by Greg Słodkowicz jerg...@gmail.com:
--
nosy: +Greg.Slodkowicz
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9325
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
The last commits fixed test_faulthandler on FreeBSD, there are no more
faulthandler bugs. Close this issue gain.
--
resolution: - fixed
status: open - closed
___
Python tracker
Roundup Robot devnull@devnull added the comment:
New changeset e51d8a160a8a by Victor Stinner in branch 'default':
Issue #11393: fault handler uses raise(signum) for SIGILL on Windows
http://hg.python.org/cpython/rev/e51d8a160a8a
New changeset a4fa79b0d478 by Victor Stinner in branch 'default':
Roundup Robot devnull@devnull added the comment:
New changeset a27755b10448 by Victor Stinner in branch 'default':
Issue #11393: Fix faulthandler.disable() and add a test
http://hg.python.org/cpython/rev/a27755b10448
--
___
Python tracker
New submission from Mads Kiilerich m...@kiilerich.com:
(Probably the same root cause as issue11725 and using the same test case and
analysis, but it seems like it isn't just somebody elses problem.)
Expected behaviour:
C:\Python26python --version
Python 2.6.4
C:\Python26python -c import
Mads Kiilerich m...@kiilerich.com added the comment:
I have filed issue11736 as a more or less related (or bogus) issue.
--
nosy: +kiilerix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11725
Roundup Robot devnull@devnull added the comment:
New changeset 7e3ed426962f by Victor Stinner in branch 'default':
Issue #11393: _Py_DumpTraceback() writes the header even if there is no frame
http://hg.python.org/cpython/rev/7e3ed426962f
New changeset e609105dff64 by Victor Stinner in branch
Changes by Senthil Kumaran orsent...@gmail.com:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11736
___
___
Python-bugs-list
Roundup Robot devnull@devnull added the comment:
New changeset 15f6fe139181 by Victor Stinner in branch 'default':
Issue #11727: set regrtest default timeout to 15 minutes
http://hg.python.org/cpython/rev/15f6fe139181
--
___
Python tracker
New submission from Iain Henderson the_i...@mac.com:
The documentation here: http://docs.python.org/library/stdtypes.html
indicates that and operates as such
{if x:
return x
else:
return y}
to be a logical conjugation it should function as
{if x:
if y:
return True
return
Ezio Melotti ezio.melo...@gmail.com added the comment:
The doc[0] says:
x and y: if x is false, then x, else y
Boolean operators in Python always return one of the two values (rather than
True/False), and they are also short-circuit operators, so:
* if x is false, the whole expression is
Éric Araujo mer...@netwok.org added the comment:
+1 to Ezio’s last message.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10966
___
___
Daniel Goertzen daniel.goert...@gmail.com added the comment:
I run into this problem when I start a Python app as a subprocess from Erlang
(open_port() function). The PYTHONIOENCODING fix works when I launch my py app
via pythonw.exe, but it does *not* work when I use the cx-freeze version of
Barry A. Warsaw ba...@python.org added the comment:
As I see it, the patch is uncontroversial for 3.3, 3.2, and 2.7. And it
definitely will not be applied to 3.0. That leaves 2.5, 2.6, and 3.1. If you
really care one way or the other, please register your vote in the tracker.
2.5: +0
2.6:
Éric Araujo mer...@netwok.org added the comment:
I’m not opposed to the change.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Great! The timeout works:
-
...
[ 25/354] test_threadsignals
Thread 0xa000ed88:
File
/Users/buildbot/buildarea/3.x.parc-tiger-1/build/Lib/test/test_threadsignals.py,
line 46 in test_signals
Nick Coghlan ncogh...@gmail.com added the comment:
2.5: -1
2.6: -0
3.1: +0
As I see it, a large part of the security fixes only rule is for the benefit
of folks auditing those security fixes, as it means there's very little noise
in the branch to confuse the matter.
--
nosy:
New submission from STINNER Victor victor.stin...@haypocalc.com:
Thanks to the new faulthandler module (#11393) and regrtest timeout (#11727,
timeout of 15 minutes), I finally found why test_threadsignals hangs on PPC
Tiger 3.x:
-
...
[ 25/354]
STINNER Victor victor.stin...@haypocalc.com added the comment:
The trace is supposed to contain the traceback of all threads, and I see only
one thread. So I suppose that send_signals() thread has exited. I don't know if
it raises an exception or was interrupted before calling
New submission from Joaquin Sorianello j...@joac.com.ar:
I found this bug today, and I am really sad.
We need to create a really good joke.
This languaje takes his name from Monty Python Flying Circus and IMHO this
makes this languaje more funny.
I hope we can fix this for the next year.
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11690
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11710
___
___
Skip Montanaro s...@pobox.com added the comment:
+1. That was the first thing I looked for when I checked
my email today.
--
nosy: +skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11739
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11739
___
___
Python-bugs-list
Roundup Robot devnull@devnull added the comment:
New changeset 053bc5ca199b by Victor Stinner in branch 'default':
Issue #11727: set regrtest default timeout to 30 minutes
http://hg.python.org/cpython/rev/053bc5ca199b
--
___
Python tracker
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +Valery.Lesin, amaury.forgeotdarc, benjamin.peterson, haypo, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11705
___
Éric Araujo mer...@netwok.org added the comment:
It works with docs.python.org/py3k/library/urllib
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11710
___
Éric Araujo mer...@netwok.org added the comment:
As Mingw64 support is not currently claimed in the documentation, this is a
feature request and can’t land in stable versions. I suggest you wait a bit
for the merge of distutils2 into the standard library an then refresh your
patch.
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11733
___
___
Python-bugs-list
STINNER Victor victor.stin...@haypocalc.com added the comment:
Failures on the default branch with a timeout of 15 minutes:
- test_io on x86 FreeBSD 3.x
- test_signal on x86 FreeBSD 7.2 3.x
- test_stdin_none on sparc solaris10 gcc 3.x
I think that the tests failed because the buildbot is
Nick Coghlan ncogh...@gmail.com added the comment:
That link goes to a 404 error page for me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11710
___
Filip Gruszczyński grusz...@gmail.com added the comment:
Is following change in GzipFile class enough:
def read1(self, n):
return self.read(n)
? This satisfies TextIOWrapper to run readline correctly.
--
nosy: +gruszczy
___
Python
Changes by Daniel Urban urban.dani...@gmail.com:
--
nosy: +durban
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11707
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
Okay, now I understand your request: a spam package should have a page at
library/spam in addition to submodules pages. +1.
--
versions: +Python 2.7, Python 3.1
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
Thanks for opening #11678 for the feature request. To fix this in all
versions, we would need a way to find that the current OS is Arch, and/or that
the compress program is faulty. Do you know how to do that? Maybe with
lsb_release?
Nick Coghlan ncogh...@gmail.com added the comment:
Oh, I see the confusion - yeah, the missing library in the URL in my first
post was just a typo. It was actually present in my test URLs (otherwise the 4
packages with landing pages wouldn't have worked).
The problem in 2.7 is smaller, since
Eli Stevens wickedg...@gmail.com added the comment:
I'm thinking of taking the current float implementation and wrapping it with
something like:
#if HAS_INT64_TYPE
// double implementation goes here
#else
// float implementation here (what's in the current patch)
...
#endif
Does
STINNER Victor victor.stin...@haypocalc.com added the comment:
python -c import loggingTest calls PyRun_SimpleStringFlags(). python
import_loggingTest.py (import_loggingTest.py just contains import
loggingTest) calls PyRun_SimpleFileExFlags(). Both functions calls
PyErr_Print() on error.
An
Changes by Ned Deily n...@acm.org:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11736
___
___
Python-bugs-list mailing list
Changes by Anthony Tuininga anthony.tuini...@gmail.com:
--
nosy: +atuining
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6501
___
___
Changes by Sandro Tosi sandro.t...@gmail.com:
--
nosy: +sandro.tosi
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list
Changes by Carl Meyer c...@dirtcircle.com:
--
nosy: +carljm
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6087
___
___
Python-bugs-list mailing
Eli Stevens wickedg...@gmail.com added the comment:
I've spelled HAS_INT64_TYPE as follows:
+#if SIZEOF_LONG == 8 || SIZEOF_LONG_LONG == 8
+#if SIZEOF_LONG == 8
+typedef unsigned long npy_uint64;
+#else
+#if SIZEOF_LONG_LONG == 8
+typedef unsigned long long npy_uint64;
+#endif
+#endif
Mark Wiebe mwwi...@gmail.com added the comment:
I think this won't work on Windows since there the 64-bit int is generally
__int64. If you look at the long long and unsigned long long support in
_struct.c you can see a better way to do this: #ifdef HAVE_LONG_LONG and
unsigned PY_LONG_LONG
Eli Stevens wickedg...@gmail.com added the comment:
Ahh, yes, much cleaner. Thank you. :) I'll remove the previous version.
--
Added file: http://bugs.python.org/file21499/cpython-struct-float16-v3.patch
___
Python tracker rep...@bugs.python.org
Changes by Eli Stevens wickedg...@gmail.com:
Removed file: http://bugs.python.org/file21498/cpython-struct-float16-v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11734
___
Changes by Daniel Stutzbach stutzb...@google.com:
--
nosy: +stutzbach
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11707
___
___
Python-bugs-list
Jeff Dean chima...@gmail.com added the comment:
* Patch Py_DeleteFileW in posixmodule.c so that it renames before
deleting: should solve the problem overall but obviously has a
possible wider impact, in general and on performance in particular.
This rename might be a simple rename-to-guid or
New submission from Michael O'Rourke mkoro...@adobe.com:
If you try to difference the attached files with difflib and a html difference
it take 10 minutes or more. In comparison other differencing tools like windiff
and araxis merge will show the diff within a second.
Example code I'm using
STINNER Victor victor.stin...@haypocalc.com added the comment:
(oh, sparc solaris10 gcc 3.x failed on test_subprocess, test_stdin_none is
the function, not the file)
With a timeout of 30 minutes:
- sparc solaris10 gcc 3.x doesn't fail anymore.
- x86 FreeBSD 3.x still fails on the same test:
Westley Martínez aniko...@gmail.com added the comment:
I've already got a patch ready for #11678.
As for checking the compress command, perhaps we can accomplish it by comparing
version information of the program:
$ compress --version
compress 1.4
Copyright (C) 2007 Free Software Foundation,
STINNER Victor victor.stin...@haypocalc.com added the comment:
Because the timeout was 30 minutes, we missed where test_ssl hangs on x86
Windows7 3.x:
--
...
[259/354] test_filecmp
[260/354] test_ssl
command timed out: 1200 seconds without output, killing pid 3012
SIGKILL failed to
Denis Barmenkov denis.barmen...@gmail.com added the comment:
I saw similar error on Python 2.6 installed on freeBSD.
I had test SVN server and wrote pre-commit hook using python. When remote
developer commited his changes to repository, hook called os.path.expanduser
and exception was raised:
STINNER Victor victor.stin...@haypocalc.com added the comment:
For test_subprocess timeout, see also:
http://bugs.python.org/issue8429#msg103368
For test_io timeout, see also: issue #8431
--
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
Elvis, I agree that the masking is not nice. To call it a tracker bug (as
opposed to design bug), you need to show that the behavior is different from
what is documented. Of course, This issue illustrates why one should have unit
tests that
Benjamin Peterson benja...@python.org added the comment:
I have a proposal: only call __length_hint__ on C types.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11674
STINNER Victor victor.stin...@haypocalc.com added the comment:
Timeout of 15 minutes on x86 XP-4 3.x:
...
[334/354] test_threading
Thread 0x024c:
File
D:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\lib\threading.py, line
235 in wait
File
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Am going to close this one because I don't see any straight-forward way around
it and because it's technically not a bug (just an undesirable design
artifact). The use of TypeError for objects that don't define __len__ is
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11661
___
Benjamin Peterson benja...@python.org added the comment:
2011/4/1 Raymond Hettinger rep...@bugs.python.org:
[benjamin]
The __length_hint__ protocol is a public API, so anyone can use it. Also,
the issue is a broader than __length_hint__, it is really distinguishing
multiple possible
Elvis Pranskevichus elpr...@gmail.com added the comment:
I guess, the best workaround would then be to use a decorator (or a metaclass)
and wrap __len__ so that TypeError is caught and wrapped into some other
exception.
On April 1, 2011 07:10:21 PM Benjamin Peterson wrote:
What?? I certainly
Terry J. Reedy tjre...@udel.edu added the comment:
I verified this for 3.2 (and IDLE) with
import sys, tkinter
ttk in dir(sys.modules['tkinter']) # False
import tkinter.ttk
ttk in dir(sys.modules['tkinter']) # True
reload
import sys,imp
Terry J. Reedy tjre...@udel.edu added the comment:
If today's multi-site message is not a joke, Arch, Debian, Gentoo, Grml, and
openSUSE are about to be joined into the Canterbury distribution.
--
nosy: +terry.reedy
stage: - patch review
___
Python
Changes by Terry J. Reedy tjre...@udel.edu:
--
title: Documentation for get_option_group is wrong - Doc for
optparse.OptionParser.get_option_group is wrong
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11699
Changes by Filip Gruszczyński grusz...@gmail.com:
--
nosy: +gruszczy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11740
___
___
Python-bugs-list
Terry J. Reedy tjre...@udel.edu added the comment:
I strongly agree. This would make it easy to see modules of 3rd party packages
loaded, for instance, in site-packages. Once pack/__init__.py is opened,
selecting File/Open in its edit window displays the package directory.
Dotted names work,
Terry J. Reedy tjre...@udel.edu added the comment:
The help(linecache) Description is more specific as to the intention (based on
traceback usage):
This is intended to read lines from modules imported -- hence if a filename is
not found, it will look down the module search path for a file by
Changes by Terry J. Reedy tjre...@udel.edu:
--
stage: - test needed
title: Setting sys.stdin to an invalid input stream causes interpreter run loop
forever. - Setting Invalid sys.stdin in interactive mode = loop forever.
___
Python tracker
ysj.ray ysj@gmail.com added the comment:
+1. I was updating my hg clone all the time yesterday to see if there was
anything interesting happened. But I was disappointed.
--
nosy: +ysj.ray
___
Python tracker rep...@bugs.python.org
Benjamin Peterson benja...@python.org added the comment:
Perhaps 2012 will be extra special.
--
nosy: +benjamin.peterson
resolution: - postponed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11739
ysj.ray ysj@gmail.com added the comment:
Perhaps 2012 will be extra special.
I'm afraid 2012 April Fool may be the last April Fool of the world.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11739
ysj.ray ysj@gmail.com added the comment:
Reproduced in 3.3
--
components: +Library (Lib) -None
nosy: +ysj.ray
versions: +Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11740
Nick Coghlan ncogh...@gmail.com added the comment:
I'll throw in my 2 cents as to a possible way forward:
- fix test.support.unlink in all current maintenance branches (2.7, 3.1, 3.2,
default)
- expose the feature to users as shutil.rmfile for 3.3
--
Changes by Ned Deily n...@acm.org:
--
nosy: +haypo
stage: test needed - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11730
___
___
81 matches
Mail list logo