New submission from David Edelsohn:
Another endianness bug that causes a failure in test_structmembers.py.
_testcapi reports "string too long" because
getargs.c:PyArg_ParseTupleAndKeywords() incorrectly returns a huge value for
string_len.
The problem is FETCH_ARGS is passing the
David Bolen added the comment:
Yeah, the XP buildbot was pretty old, at nasm 2.02, so I updated to the same
2.09 as the Win7 buildbot, restarted the last build and it went through
compilation fine.
However, then it failed in test_ssl, and in checking, it looks like my Win7
buildbot is
David Cuddihy added the comment:
I apologize for not posting the strace output - I didn't see the request until
today.
Libc getcwd() is indeed failing - when I run a c program which calls getcwd()
and prints the output, the call to getcwd() fails - errno is ENOENT and the
buffer is
New submission from David Gilman:
I opened this StackOverflow bug with an example simplified testcase. As you
can see in the first comment a user added that this code worked under Python
2.6 on Windows and no longer works on 2.7.
http://stackoverflow.com/questions/16686510/how-do-i-capture
Changes by David Wolever :
Added file: http://bugs.python.org/file30353/102b3e257dca.diff
___
Python tracker
<http://bugs.python.org/issue17701>
___
___
Python-bugs-list m
Changes by David Wolever :
Removed file: http://bugs.python.org/file30353/102b3e257dca.diff
___
Python tracker
<http://bugs.python.org/issue17701>
___
___
Python-bug
Changes by David Wolever :
Added file: http://bugs.python.org/file30354/0f4d971b0cee.diff
___
Python tracker
<http://bugs.python.org/issue17701>
___
___
Python-bugs-list m
David Bolen added the comment:
Both of my FreeBSD buildbots are quite ancient (particularly so with
FreeBSD/6.4), and mostly still exist because of lack of pressure to change
them, and at least for a while having an older, legacy FreeBSD buildbot was of
some use.
I have no plans on upgrading
David Bolen added the comment:
I suppose it depends on what the current policy (if any) is. Not sure how far
back we would officially claim to support even today. We have a 6.4 buildbot
due to history, but it's never made the stable list, and is probably in a
failing state as much or
David Bolen added the comment:
Just thought I'd add a note here that after the most recent changes, my
buildbots also appear to be back to quicker hg pulls rather than clones at the
start of the process (see msg222592). Still not sure why that behavior
changed, but we're back to th
New submission from David Barnett:
doctests includes special exception processing support (described in
https://docs.python.org/3/library/doctest.html#what-about-exceptions), but in
python3 it seems to print the fully-qualified class name even for exception
classes in the same module, which
David Barnett added the comment:
But… that doesn't help. It completely changes the semantics of the doctests. I
have a bunch of doctests demonstrating different failures of the same exception
class, and with IGNORE_EXCEPTION_DETAIL running my doctests to verify they're
still corre
David Bolen added the comment:
I've just brought a Windows 8 buildbot online (bolen-windows8) and can confirm
that this test does fail in the 3.4 and 3.x branches, and that it does so
consistently even if I execute the steps interactively.
--
nosy:
New submission from David Durrett:
Have only tried this on Python 2.7
To reproduce:
~
from Tkinter import *
import ttk
root = Tk()
tree = ttk.Treeview(root)
id = tree.insert('' , 'end', text='foo', tag='bar')
print tree.tag_has('bar',
New submission from David Edelsohn:
The patch for Issue19884 to set enable-meta-key to "off" does not work when
readline-devel package is libreadline5, which includes SLES 11.
--
components: Extension Modules
messages: 230340
nosy: David.Edelsohn, haypo, pitrou
priori
David Edelsohn added the comment:
Patch attached to export version and skip test if version less than 0x600.
--
type: -> behavior
Added file: http://bugs.python.org/file37084/Issue22773.txt
___
Python tracker
<http://bugs.python.org/issu
David Edelsohn added the comment:
Revised patch with leading underscores to make version objects private.
--
Added file: http://bugs.python.org/file37085/Issue22773.txt
___
Python tracker
<http://bugs.python.org/issue22
David Edelsohn added the comment:
Issue22773 provides a patch to export Readline version and skip the test for
earlier releases of libreadline where turning off enable-meta-key does not work.
--
nosy: +David.Edelsohn
___
Python tracker
<h
David Edelsohn added the comment:
The portion of the patch to skip the test is necessary because, as mentioned in
Issue19884, setting enable-meta-key does not work in older releases of
libreadline. The particular combination of default TERM and libreadline is rare
in old OS versions and can
David Edelsohn added the comment:
I am trying to follow the precedent of zlibmodule with the naming so that users
of Python modules have as consistent an experience and user interface as
possible.
--
___
Python tracker
<http://bugs.python.
David Edelsohn added the comment:
@ned.deily Can you offer a suggestion of how you you like the skipIf test
modified to check __doc__ for "libedit"?
--
___
Python tracker
<http://bugs.python.o
David Edelsohn added the comment:
Okay, grouping was wrong in my initial attempt. New patch attached.
--
Added file: http://bugs.python.org/file37090/Issue22773.txt
___
Python tracker
<http://bugs.python.org/issue22
David Edelsohn added the comment:
The test should be 0x0600.
--
Added file: http://bugs.python.org/file37092/Issue22773.txt
___
Python tracker
<http://bugs.python.org/issue22
Changes by David Edelsohn :
--
title: Export Readline version and expect ANSI sequence for version < 0x6000 ->
Export Readline version and expect ANSI sequence for version < 0x0600
___
Python tracker
<http://bugs.python.or
David Bolen added the comment:
I noticed this issue when checking on some recent 2.7 branch failures on my
buildbot. It might be worth noting this change to any Windows buildbot owners
since we all have existing trees now with a lot of stranded external folders
that can be removed.
For what
Changes by David Edelsohn :
--
components: Tests
nosy: David.Edelsohn, haypo
priority: normal
severity: normal
status: open
title: Intermittent
type: behavior
versions: Python 3.6
___
Python tracker
<http://bugs.python.org/issue22
New submission from David Edelsohn:
test_list_command_verbose intermittently fails because the date comparison
differs by six hours. I suspect a bad interaction between tests, but have not
been able to find the culprit.
FAIL: test_list_command_verbose (test.test_tarfile.CommandLineTest
David Edelsohn added the comment:
Victor, can this patch be applied to Python 2.7 branch also?
--
components: +Tests
type: -> behavior
versions: +Python 2.7
___
Python tracker
<http://bugs.python.org/issu
David Edelsohn added the comment:
Sorry, I was not aware of the other issue. Three tests seems to have
intermittent failures.
test_datetime
test_tarfile
test_strptime
--
___
Python tracker
<http://bugs.python.org/issue22
David Edelsohn added the comment:
I found the connection but I don't know the cause:
Running test_imaplib prior to either test_datetime or test_tarfile causes the
latter test to fail. test_datetime seems to fix the problem for test_tarfile
if it precedes it.
[1/3] test_imaplib
David Edelsohn added the comment:
Its the @run_with_tz decorations in test_imaplib and test_datetime. The TZ is
not being restored after the test.
--
___
Python tracker
<http://bugs.python.org/issue22
David Edelsohn added the comment:
Unfortunately, the patch does not fix the failures of running test_imaplib
before test_tarfile or test_datetime.
--
___
Python tracker
<http://bugs.python.org/issue20
David Edelsohn added the comment:
Any other ideas for a reliable method to restore the correct timezone after
running a test?
--
___
Python tracker
<http://bugs.python.org/issue20
New submission from David Wilson:
There is some really funky behaviour in the zipfile module, where, depending on
whether zipfile.ZipFile() is passed a string filename or a file-like object,
one of two things happens:
a) Given a file-like object, zipfile does not (since it cannot) consume
David Wilson added the comment:
As a random side-note, this is another case where I really wish Python had a
.pread() function. It's uniquely valuable for coordinating positioned reads in
a threaded app without synchronization (at user level anyway) or extraneous
system
New submission from David Edelsohn:
I added a Buildbot on another zLinux system running Debian Wheezy and it shows
a different GDB error message: linux-vdso64.so. Can you please add something
like the following to allow test_gdb to pass?
diff -r 524a004e93dd Lib/test/test_gdb.py
--- a/Lib
David Wilson added the comment:
Compared to the cost of everything else ZipExtFile must do (e.g. 4kb string
concatenation in a loop, zlib), its surprising that lseek() would measurable at
all.
The attached file 'patch' is the minimal change I tested. It represents, in
terms of c
David Edelsohn added the comment:
It doesn't fail on the Debian system. The Debian system will be successful
after the test_gdb patch is installed.
--
___
Python tracker
<http://bugs.python.org/is
David Wilson added the comment:
Per my comment on issue16569, the overhead of performing one seek before each
(raw file data) read is quite minimal. I have attached a new (but incomplete)
patch, on which the following microbenchmarks are based. The patch is
essentially identical to Stepan
David Wilson added the comment:
Hi Serhiy,
Thanks for the new patch, it looks better than my attempt. :)
--
___
Python tracker
<http://bugs.python.org/issue14
David Wilson added the comment:
While in spirit this is a bug fix, it's reasonably complex and affects a
popular module -- I'm not sure it should be applied to 2.x, and probably not in
a minor release of 3.x either. Would it make sense to include as part of 3.5?
(That said, I
New submission from David Coles:
If a task that is waiting on an asyncio.Condition is cancelled after
notification but before having successfully reacquired the associated lock, the
acquire() will be cancelled causing wait() to return without the lock held
(violating wait()'s contrac
David Wilson added the comment:
Could we also make a small tweak to zipfile.rst indicating the new behaviour? I
had made an initial attempt in my patch but wasn't particularly happy with the
wording.
--
___
Python tracker
<http://bugs.py
David Wilson added the comment:
Sounds great :)
--
___
Python tracker
<http://bugs.python.org/issue14099>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Edelsohn added the comment:
There now are two zLinux buildbots: zlinux (running SUSE) and zwheezy (running
Debian). zlinux (running on SUSE) has the libc problem causing the timezone
error. A second buildbot was added, not converting or upgrading the existing
buildbot.
I still would
David Watson added the comment:
On Fri 5 Dec 2014, STINNER Victor wrote:
> I added an assertion. Can we close this issue?
Well, if no one complains about the interpreter dying with
SIGABRT, that will suggest that the worries about OS bugs
creating infinite loops were unfounded :)
If you
David Watson added the comment:
Here are the alternative patches to allow more than two calls to
confstr(). One patch set just keeps reallocating the buffer
until it's big enough, while the other makes a limited number of
attempts (in this case 20) before raising Runtime
David Coles added the comment:
Hi Victor,
(Sorry for the delay, I think GMail ate the notification)
The main issue is that Condition.wait MUST reacquire the associated lock
released on entry to wait() before returning or else the caller's assumption
that it holds a lock (such as `with
David Coles added the comment:
Just for context, the reason for using a custom wait function
(cond_wait_timeout) rather than the more idiomatic
asyncio.wait_for(cond.wait(), timeout) is that the combination introduces
another subtle, but nasty locking inconsistency (see
https
New submission from David Motlagh:
Hi,
I either found a bug or am doing the steps wrong. Could you please check the
instructions in Section 4.1 to determine if there really is a syntax error?
Thanks,David Motlagh
--
messages: 234596
nosy: Dmot
priority: normal
severity: normal
David Wilson added the comment:
Attached trivial patch for whatsnew.rst.
--
Added file: http://bugs.python.org/file38058/whatsnew.diff
___
Python tracker
<http://bugs.python.org/issue22
David Edelsohn added the comment:
The errors are of the form:
==
FAIL: test_NULL_ob_type (test.test_gdb.PrettyPrintTests)
Ensure that a PyObject* with NULL ob_type is handled gracefully
David Edelsohn added the comment:
The Python testsuite does not produce completely clean results on AIX. You can
see the AIX tester for comparison. Some are caused by assumptions in the
testcases that are correct for Linux but not for some Unix systems, and some
are caused by incorrect
David Edelsohn added the comment:
When you configure Python, you can specify an installation directory, which
defaults to /usr/local. "make install" will overwrite the Python installation
in the specified (possibly default) installation location, but not versions
installed in other
David Edelsohn added the comment:
A Python3 installation will not overwrite a Python2 installation because they
are different major releases and not completely compatible. If Firefox needs
Python2, you should build the latest, stable release of Python 2.7.
I previously used AIX workstations
New submission from David Moore:
Hi -
During a code review of Modules/audioop.c I noted that weightB is never divided
by the GCD while weightA is divided twice. This is contrary to the comment and
appears to be a bug:
/* divide weightA and weightB by their greatest common divisor
David Bolen added the comment:
The 2.7 back-ported version of this patch appears to have broken compilation on
the Windows XP buildbot, during the OpenSSL build process, when the newly built
Python is used to execute the build_ssl.py script.
After this patch, when that stage executes, and
David Bolen added the comment:
I ran a few more tests, and the generated executable hangs in both release and
debug builds. The closest I can get at the moment is that it's stuck importing
errno from the "import sys, errno" line in os.py - at least no matter how long
I wait a
David Bolen added the comment:
Oops, sorry, I had just followed the commit comment to this issue. For the
record here, it looks like Benjamin has committed an update (5e8fa1b13516) that
resolves the problem.
--
___
Python tracker
<h
New submission from David Rueter:
In Python 3.4 I would like to serialize a dictionary into a URL-encoded string.
Given a dictionary like this:
>>> thisDict = {'SomeVar1': [b'abc'], 'SomeVar2': [b'def'], 'SomeVar3':
&
David Rueter added the comment:
Ah hah! Indeed, urlencode() does work on dictionaries as expected when
doseq=True. Thank you for clarifying.
FWIW I had read the documentation and the referenced examples multiple times. I
would like to make a few documentation suggestions for clarity.
1
David Watson added the comment:
I've updated the ASCII/surrogateescape patches in line with
various changes to Python since I posted them.
return-ascii-surrogateescape-2015-06-25.diff incorporates the
ascii-surrogateescape and uname-surrogateescape patches, and
accept-ascii-surrogateescape
David Beazley added the comment:
This is a problem that will never be fixed. Sure, it was a release blocker in
Python 3.4.
It wasn't fixed.
It is a release blocker in Python 3.5.
It won't be fixed.
They'll just tell you to indent using the spacebar as generations of typists
David Beazley added the comment:
For what it's worth, I'm kind of tired having to hack site.py every time I
upgrade Python in order to avoid being shown 6000 choices when hitting tab on
an empty line. It is crazy annoying.
--
___
Pyth
David Robertson added the comment:
Dear all, I have just been trying to understand the TCP Echo example from the
asyncio documentation:
https://docs.python.org/3/library/asyncio-protocol.html#protocol-examples
I copied the two examples from the docs into `server.py' and `client.py
David Beazley added the comment:
Frivolity aside, I really wish this issue would get more traction and a fix.
Indentation is an important part of the Python language (obviously). A pretty
standard way to indent is to hit "tab" in whatever environment you're using to
edit Py
David Beazley added the comment:
Wanted to add: I see this as being about the same as having a broken window
pane on the front of Python 3. Maybe there are awesome things inside, but it
makes a bad first impression on anyone who dares to use the interactive console
New submission from David Lukeš:
The following program makes Python 3.4.3 crash with a segmentation fault:
```
#!/usr/bin/env python3
import operator
N = 50
l = [0]
for i in range(N):
l = map(operator.add, l, [1])
print(list(l))
```
I suppose the problem is that there are too many
David Steele added the comment:
Patch attached, to sort the desktop default browser to the top of _tryorder.
--
keywords: +patch
Added file: http://bugs.python.org/file39940/preferredbrowser.diff
___
Python tracker
<http://bugs.python.org/issue24
New submission from David Worenklein:
In the following example, pyclbr does not report that foo.module.A is a
superclass of C:
__module2.py__
import foo.module
class C(foo.module.B):
pass
__foo/module.py__
class A(object):
def foo(self):
print "bar"
class B(A)
David Worenklein added the comment:
P.S. Here are the results after the patch:
C => ['foo.module.B', 'foo.module.A', 'object']
--
___
Python tracker
&
David Beazley added the comment:
It's still broken on Python 3.5b4.
--
___
Python tracker
<http://bugs.python.org/issue23441>
___
___
Python-bugs-list m
Changes by David Watson :
--
nosy: +baikie
___
Python tracker
<http://bugs.python.org/issue20174>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by David Watson :
--
nosy: +baikie
___
Python tracker
<http://bugs.python.org/issue24725>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by David Watson :
--
nosy: +baikie
___
Python tracker
<http://bugs.python.org/issue16263>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Bolen added the comment:
While running a manual test (make buildbottest) on my 2.7 Ubuntu buildbot, I
ran into an exception in this patch:
The tail end of the test run:
[401/401/1] test_signal
379 tests OK.
1 test failed:
test_curses
21 tests skipped:
test_aepack test_al
New submission from David Beazley:
Just a note that Python-3.5.0rc1 fails to compile on Mac OS X 10.8.5 with the
following compiler:
bash$ clang --version
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.6.0
Thread model: posix
bash$
Here is the
New submission from David Griffin:
I've been playing around with native coroutines and asyncio, and came across an
issue with retrieving exceptions from tasks: The get_frame method on a Task in
asyncio fails with an AttibuteError because it assumes that gi_frame as the
attribute conta
David Griffin added the comment:
It should be noted that when I said get_frame in the original comment, I
actually meant get_stack
--
title: Asyncio get_frame fails with native coroutines -> Asyncio Task.get_stack
fails with native corouti
David Edelsohn added the comment:
This patch causes a new failure on many of the buildbots.
--
nosy: +David Edelsohn
___
Python tracker
<http://bugs.python.org/issue24
Changes by David Edelsohn :
--
nosy: +David.Edelsohn -David Edelsohn
___
Python tracker
<http://bugs.python.org/issue24054>
___
___
Python-bugs-list mailin
David Edelsohn added the comment:
Also
http://buildbot.python.org/all/builders/s390x%20Debian%203.x/builds/2/steps/test/logs/stdio
http://buildbot.python.org/all/builders/s390x%20Debian%203.x/builds/2
Comments
Issue #24054: decouple linecache tests from inspect tests
Patch from David D
New submission from David Beazley:
The compile() function is not able to compile an AST created from code that
uses some of the new unpacking generalizations in PEP 448. Example:
code = '''
a = { 'x'
New submission from David Unric:
Hello,
it seems python interpreter improperly handles AttributeError exception raised
in __getattr__ method, after called by unresolved attribute inside a property.
Bellow is a simple Python2 example of a class which defines __getattr__ method
and a property
David Unric added the comment:
Thanks for the comprehensive response.
I did suspected the 2nd call is caused how it has been described in paragraph
4. And you are probably right. Only think exception instance raised in
__getattr__ should not lead to its another call but propagated to outer
David Unric added the comment:
This looks a bit inconsistent. See following version with "manual" getter
definition:
class MyClass(object):
def __init__(self, *args, **kwargs):
# setting access to getter by attribute
# without use of property decorator
sel
David Unric added the comment:
Oops, this was the strict version. The lazy method call version behaves exactly
like property getter.
So there is probably no implementation bug, but not too well thought out
decision design, making debugging AttributeError exceptions in properties
difficult
New submission from David Barnett:
There doesn't seem to be any helper in pathlib to expand a relative path to an
absolute path *without* resolving symlinks.
For example, if I want to convert
pathlib.Path('some/path')
to
pathlib.Path('/full/path/to/some/path')
whe
David Barnett added the comment:
The idiom of
pathlib.Path.cwd() / pathlib.Path('some/path')
isn't too bad of an approach if it could just be mentioned in the docs. I would
intuitively expected something like
pathlib.Path('some/path').resolve(follow_symlinks=False
David Edelsohn added the comment:
PPC64 is not a strict alignment system. The system is running a non-recent
release of Fedora, so it could be a bad interaction with libc.
--
___
Python tracker
<http://bugs.python.org/issue25
David Barnett added the comment:
Right, and to clarify a bit further why I didn't just use A.resolve() ==
B.resolve() from the beginning, this is in a unit test where the equality check
wasn't in my code. I wanted to assert I received a certain call on my
David Barnett added the comment:
And the symlinks for my paths refer to really cryptic hashes in a virtual
filesystem for the tests, so rendering them into the assertion failed errors
would really make the failure messages hard to interpret
David Fraser added the comment:
Filed with pypa at https://github.com/pypa/pip/issues/3091
--
nosy: +davidfraser
___
Python tracker
<http://bugs.python.org/issue21
New submission from David MacIver:
The following code produces an OverflowError:
import statistics
statistics.mean([8.988465674311579e+307, 8.98846567431158e+307])
The error is:
File "/home/david/.pyenv/versions/3.5.0/lib/python3.5/statistics.py", line
293, in mean
return _s
David MacIver added the comment:
I'm not sure what you mean by float having a limit here. It's certainly finite
precision, but there is still a representable value with that finite precision
closest to the mean.
As an example where there is an obvious correct answer that will tr
New submission from David Ward:
bdist_rpm wrongly assumes a hard-coded format for the filename of the
non-source RPM which is generated when it calls rpmbuild, specifically:
"%{arch}/%{name}-%{version}-%{release}.%{arch}.rpm"
The format used by rpmbuild is actually specified by the
David Edelsohn added the comment:
The system has 128GB of memory. The process limits are set to unlimited for
data. AIX defaults to 32 bit, although all processors are 64 bit, so the
buildbot runs as 32 bit. What does low free memory in the buildbot mean?
I'm surprised that Python req
David Edelsohn added the comment:
As we have seen with similar issues on other targets, this likely is due to the
random order of tests. In another case, the timezone was not being restored
properly by GLIBC. Another test is leaving the process in a state that somehow
evokes this failure
David Edelsohn added the comment:
Misc/README.AIX comments about XLC do not apply to GCC.
One can adjust the memory space at normal link time with
-Wl,-bmaxdata:0xN000. This trades off heap for shared memory segments. One
does not need the extra ldedit stop, which stuffs the same value
New submission from David Silverman:
It would be useful to have the ability to push logs onto a stack. This way you
can log events to the stack. If an error occurred, you could pop the stack and
output the log events. If no error occurred, you could pop the stack and
discard the logs.
An
1801 - 1900 of 12329 matches
Mail list logo