Antoine Pitrou added the comment:
Ouch, sounds confusing. I would rather have PY_LITTLE_ENDIAN defined only
on little-endian machines and PY_BIG_ENDIAN only on big-endian machines.
(and PY_BYTE_ORDER isn't necessary)
Why use two complementary boolean variables for a single boolean value
Antoine Pitrou added the comment:
The bug is not only wget-specific. It was discovered while making APT
proxy, so at least Debian APT fetcher has the same problem.
Well, perhaps it uses wget too?
If you really think this is a bug in Python, you have to diagnose it further
(for example by
Antoine Pitrou added the comment:
Charles-François's patch looks ok to me. I don't know if this warrants adding a
test.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15833
___
David Pietz added the comment:
It wasn't right on that page anymore but I poked around and fount the 8.5.11.1
and IDLE is no longer crashing when I go to preferences or when I cut and paste
in the edit window (I didn't tell you about that did I ?- well it fixed that,
too)!!
thanks solo much,
Benjamin Peterson added the comment:
Python 3.4.0a0 (default:8f048c8c855e, Oct 8 2012, 13:46:48)
[GCC 4.5.4] on linux
Type help, copyright, credits or license for more information.
class newstring(str):
... def __str__(self):
... return self
...
Benjamin Peterson added the comment:
And indeed
print(a)
hello world
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16167
___
___
Arfrever Frehtes Taifersar Arahesis added the comment:
Radu Dan: Printing of str-derived classes works in Python =3.0, so you should
just upgrade to newer version of Python. New features will not be backported to
Python 2.
--
nosy: +Arfrever
resolution: invalid - works for me
patrick vrijlandt added the comment:
To be complete: an xpath 'above' the start element returns None
Thanks for the patch!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12322
___
Kevin Barry added the comment:
I still see the potential cause addressed by my patch in the 2.7, 3.3, and
default branches, so I'm assuming that all versions from 2.6 on have this
problem.
I also see that I can elect to change the Status and Resolution of this
report. Does that mean I need
Arne Babenhauserheide added the comment:
I’ll create them as soon as I get the time.
It’s not as if that’s really hard - but I still have to do it (need to diff
against current tip - I already merged, so that should work without problems).
--
___
Mike Hoy added the comment:
In response to patrick vrijlandt last comment here's a patch. I also found a
few None keywords that didn't have `` around them.
--
Added file: http://bugs.python.org/file27500/issue12322_v2.diff
___
Python tracker
Charles-François Natali added the comment:
The bug is not only wget-specific. It was discovered while making APT proxy,
so at least Debian APT fetcher has the same problem.
Debian uses wget.
--
___
Python tracker rep...@bugs.python.org
Charles-François Natali added the comment:
The bug is not only wget-specific. It was discovered while making APT proxy,
so at least Debian APT fetcher has the same problem.
Debian uses wget.
I meant apt-get uses wget.
--
___
Python tracker
Ned Deily added the comment:
Just a reminder that we support configurations where there are both big-endian
and little-endinan binaries in the *same* executable file: for example, Mac OS
X 32-bit-only universal binaries (.so, .dylib, .exe) contain both i386 and ppc
code in the same file. So
Berker Peksag added the comment:
Can you also provide a test that fails using the current code (and
that passes with the patch applied)?
New patch attached with a test.
--
Added file: http://bugs.python.org/file27501/pkgutil-name-with-test.diff
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14916
___
___
Python-bugs-list mailing
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15278
___
___
Python-bugs-list mailing
New submission from Vitaly:
_connect_unixsocket() (see below) does not use socktype value that was passed
into SysLogHandler.__init__():
def _connect_unixsocket(self, address):
self.socket = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)
# syslog may require either DGRAM
New submission from Richard Oudkerk:
ctypes.WinError() is defined as
def WinError(code=None, descr=None):
if code is None:
code = GetLastError()
if descr is None:
descr = FormatError(code).strip()
return WindowsError(code, descr)
Since
Vitaly added the comment:
SOCK_DGRAM causes log messages larger than about 2000 bytes to be dropped
altogether on MacOS X 10.7.5 and to be truncated to 2081 bytes on Linux (tested
with Amazon's linux, which is based on centos). This is quite unfortunate,
since many exception tracebacks for
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16168
___
___
Nadeem Vawda added the comment:
I've released v0.95 of bz2file, which incorporates all the optimizations
discussed here. The performance should be similar to 2.x's bz2 in most cases.
It is still a lot slower when calling read(10) or read(1), but I hope no-one is
doing that anywhere where
Changes by Berker Peksag berker.pek...@gmail.com:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13477
___
___
Guido van Rossum added the comment:
TBH I don't think that using yield from in the docs makes things clearer at
all -- it just requires readers to understand a rather esoteric feature.
--
nosy: +gvanrossum
___
Python tracker rep...@bugs.python.org
Guido van Rossum added the comment:
I also don't think that this is a desirable feature.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16150
___
Roundup Robot added the comment:
New changeset 862430c68fec by Chris Jerdonek in branch '3.3':
Issue #16115: Improve testing of the executable argument to subprocess.Popen().
http://hg.python.org/cpython/rev/862430c68fec
New changeset 1b37fc50dc1b by Chris Jerdonek in branch 'default':
Issue
Chris Jerdonek added the comment:
I am pushing the documentation changes separately (which will include 2.7 and
3.2).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16115
___
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
assignee: - vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16168
___
___
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
assignee: - vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16141
___
___
Chris Jerdonek added the comment:
The test_executable test fails on AMD64 Ubuntu LTS. For example:
http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.3/builds/38/steps/test/logs/stdio
FAIL: test_executable (test.test_subprocess.ProcessTestCase)
Christian Heimes added the comment:
My proposal mimics the API of endian.h. It defines a BYTE_ORDER macro that is
either equal to LITTLE_ENDIAN, BIG_ENDIAN or PDB_ENDIAN (aka mixed endian). I
need it that way for Keccak but I can roll my own definitions if you prefer
just two macros.
If you
Christian Heimes added the comment:
Thanks for your tests, Chris. :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16161
___
___
Roundup Robot added the comment:
New changeset ef90c5e482f4 by Chris Jerdonek in branch '3.3':
Issue #16115: Skip a newly added subprocess.Popen() test on Linux.
http://hg.python.org/cpython/rev/ef90c5e482f4
New changeset 96b8eb3d3208 by Chris Jerdonek in branch 'default':
Issue #16115: Merge
Chris Jerdonek added the comment:
More information on the failure above (from the same buildbot link):
test_executable (test.test_subprocess.ProcessTestCase) ... Could not find
platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting
Ned Deily added the comment:
Christian: That's right because there is only one configure execution in the OS
X universal builds and only compiler call per module just like a normal
single-architecture unix build. Under the covers, the Apple compiler driver
transparently makes multiple
New submission from Chris Jerdonek:
This issue is to make whatever changes are necessary to remove the skip from
test_subprocess's test_executable() test (currently skipping machines that are
neither Windows nor Mac):
Chris Jerdonek added the comment:
I created issue 16170 to track fixing the Linux-skip for the test_executable()
test.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16115
___
Chris Jerdonek added the comment:
I just created issue 16170 about a newly-added subprocess.Popen() test that
succeeds on Windows and Mac but fails on Linux. It seems closely related to
the issue discussed here.
Perhaps it signals an underlying issue that needs to be fixed.
--
nosy:
Chris Jerdonek added the comment:
For future reference, this issue resulted from the tests committed for issue
16115.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16170
___
Guido van Rossum added the comment:
I am going to reject this unless at least one other core developer supports it.
Extensive discussion on python-ideas has found very few supporters besides
Serhiy Storchaka.
--
___
Python tracker
Nick Coghlan added the comment:
As discussed on python-ideas: the iterator interface is narrower than the
generator interface. Tools for working with iterators are *expected* to lose
the generator specific details, just as for loops do, especially when they deal
with multiple iterators.
When
Terry J. Reedy added the comment:
In the python-ideas thread, Propagating StopIteration value,
Guido further elaborated But that just seems to perpetuate the idea that you
have, which IMO is wrongheaded. Itertools is for iterators, and all the extra
generator features make no sense for it. I
Roger Serwy added the comment:
While trying to address #15347, I discovered one too many corner cases where
the debugger breaks IDLE. The stable_idle_debugger.diff against 3.4 contains
necessary changes to make IDLE more reliable while debugging. Since the IDLE
debugger is not documented
jimbo1qaz added the comment:
Is it possible to make the X button quit the debugger if enabled?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15348
___
Roger Serwy added the comment:
Clicking X while the debugger is enabled, but not actively debugging a
program, will close the debugger window.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15348
jimbo1qaz added the comment:
What's the intended behavior? stop debugging and quit the program? stop
debugging and continue freerunning? I'm using 3.3, can you make the patch stop
debugging the active running program when you click the X?
--
___
Roger Serwy added the comment:
If the debugger is active, then clicking X will flash the Quit button. You
must click the quit button first before closing the debugger window.
--
___
Python tracker rep...@bugs.python.org
jimbo1qaz added the comment:
Then frigging change it!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15348
___
___
Python-bugs-list mailing list
Roger Serwy added the comment:
Closing the active debugger with X creates a problem with references and
callbacks. I encountered too many corner cases where I could not implement that
behavior simply.
--
___
Python tracker rep...@bugs.python.org
Roger Serwy added the comment:
But of course, you are more than welcomed to try to submit a patch yourself.
Just make sure that those corner cases I described earlier are handled
reasonable when running IDLE with and without a subprocess.
--
___
Terry J. Reedy added the comment:
I have never used the debugger, but I verified the bug. While something was
'hung', the debugger would not restart because something was 'busy'. I also
verified that clicking [quit] first and then [x] works. I will try to test the
second patch sometime.
Senthil Kumaran added the comment:
Personally, I want to do away with all those scheme specific stuff, if we can.
I have tried previously, but failed due to some backwards incompatibility. 3.4
gives a good chance/time to make those changes to get rid of those scheme
specific stuff (again).
Senthil Kumaran added the comment:
issue9374 - another related one which should be taken care. Which is simply
reverting this:
http://hg.python.org/cpython/diff/a0b3cb52816e/Lib/urllib/parse.py and
informing in the DOCs that those globals are not available anymore. (But this
should also be
Kushal Das added the comment:
splitunc is deprecated since 3.1. It is also written in the code that Paths
containing drive letters never have an UNC part
--
nosy: +kushaldas
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15880
101 - 154 of 154 matches
Mail list logo