Josiah Carlson josiahcarl...@users.sourceforge.net added the comment:
It would seem that we need to be more defensive in our calls. We need
to check to make sure that the socket isn't closed before calling
read/write/expt events.
--
___
Python
Brett Cannon br...@python.org added the comment:
Damn, that patch should have caused those case-sensitivity tests to be
skipped. I will dig into this later today and hopefully have another
patch to test some time tonight.
--
resolution: fixed -
title: [3.1alpha1,2,beta1] test_importlib
Josiah Carlson josiahcarl...@users.sourceforge.net added the comment:
Mark, try this:
if flags select.POLLIN and (obj.connected or obj.accepting):
obj.handle_read_event()
if flags select.POLLOUT and obj.connected:
obj.handle_write_event()
if
Mark Dickinson dicki...@gmail.com added the comment:
That fixes test_empty_line (in test_asynchat.py), but now I get a hang in
test_close_when_done.
By the way, here's an interesting site that goes some way to explaining
what to expect from select.poll and EOF.
Mark Dickinson dicki...@gmail.com added the comment:
Getting rid of the and ... on the handle_read_event didn't make a
difference: I still get the hang in test_close_when_done.
But if I get rid of the and clause on the handle_write_event branch then
all the test_asynchat tests pass. So that
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Thanks for the info.
This problem is a duplicate of issue767111, which was corrected two
years ago.
I suggest you to upgrade to 2.5 at least.
--
resolution: - out of date
status: open - closed
Josiah Carlson josiahcarl...@users.sourceforge.net added the comment:
I went ahead and plugged my mac in (which reminded me of why I unplugged
it in the first place), and I'm able to reproduce your error in the test
after my proposed modifications.
One thing to remember is that the test is
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Fixed in r72445 and r72446
Thanks David !
--
status: open - closed
versions: -Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5941
Kevin Watters kevinwatt...@gmail.com added the comment:
I wasn't sure--the docs for SSLSocket.read
(http://docs.python.org/library/ssl.html#ssl.SSLSocket.read) say
Reads up to nbytes bytes from the SSL-encrypted channel and returns
them.
With that up to I wasn't sure that an empty string
Changes by Tarek Ziadé ziade.ta...@gmail.com:
Removed file: http://bugs.python.org/file11650/remove-custom-log.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3992
___
Changes by Tarek Ziadé ziade.ta...@gmail.com:
Removed file: http://bugs.python.org/file13260/remove-custom-log-revised.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3992
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I removed the _global_logger/logger variables, because they're
superfluous
Yes but by adding log instead, and removing log = _global_log.log
you are breaking Distutils because its uses log.log
Besides, the rest seem OK.
I'll work on your
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
After some attempts, it seems that PYTHONPATH is completely ignored if
it is longer than 256 characters
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Confirmed in PC/getpathp.c:
size_t r = mbstowcs(wenvpath, _envpath, MAXPATHLEN+1);
envpath = wenvpath;
if (r == (size_t)-1 || r = MAXPATHLEN)
envpath = NULL;
Changes by Brett Cannon br...@python.org:
Removed file: http://bugs.python.org/file13914/case_sensitivity_tests.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5442
___
Brett Cannon br...@python.org added the comment:
OK, Ismail, here is another patch. Revert the last one and try this.
Looks like I was being stupid by forgetting to remove the 'darwin'
platform check. But I also made the check simpler.
--
status: open - pending
Added file:
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I have reworked your patch a little bit so it works for Distutils. But I
still need to digg on the initialization problem to see if we can get
rid of the problem : the new logging will not get imported as well
during tests so it is not what
Jean Brouwers mrje...@gmail.com added the comment:
I reran the test_synchat.py test after patching to the Lib/asyncore.py
and Lib/test/test-asynchat.py files of Python-3.1b1 on MacOS X 10.4.11
(Intel).
The test now hangs in
...
test_string_producer (__main__.TestAsynchat) ... ok
Josiah Carlson josiahcarl...@users.sourceforge.net added the comment:
As an aside, I was testing against trunk, not 3.1b1 .
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5798
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
ok the problem occurs because site.py calls distutils.util.get_platform
in addbuilddir. I'll see what we can do in there.
--
___
Python tracker rep...@bugs.python.org
Jean Brouwers mrje...@gmail.com added the comment:
Understood.
On Thu, May 7, 2009 at 5:18 PM, Josiah Carlson rep...@bugs.python.orgwrote:
Josiah Carlson josiahcarl...@users.sourceforge.net added the comment:
As an aside, I was testing against trunk, not 3.1b1 .
--
New submission from Robert Schuppenies robert.schuppen...@gmail.com:
Running this code:
import weakref
class C: pass
...
ws = weakref.WeakSet([C])
if ws == 1:
... print(1)
...
gives me the following exception:
Traceback (most recent call last):
File stdin, line 1, in module
New submission from Terry J. Reedy tjre...@udel.edu:
String Services / Format Specification Mini-Language (7.1.3.1 in 3.1)
Building on #5963: document type 's' and implicit conversions.
Near the top, after
A general convention is that an empty format string () produces the
same result as if you
Terry J. Reedy tjre...@udel.edu added the comment:
I forgot to include:
Error messages for mismatches between specification type and value type
currently look like
ValueError: Unknown conversion type d
They would be *much* clearer written as something like
ValueError: Conversion type d is
Terry J. Reedy tjre...@udel.edu added the comment:
Whoops, I believe my suggested replacement.
A precision is not allowed for integer values.
should really be
A precision is not allowed for integer presentation types.
or something similar.
If you did not change the end of the sentence, please
Changes by Suzumizaki suzumiz...@free.japandesign.ne.jp:
--
nosy: +Suzumizaki
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5924
___
___
Philip Jenvey pjen...@users.sourceforge.net added the comment:
this and more applied in r72458
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4351
___
Ismail Donmez ism...@namtrac.org added the comment:
Down to 1 failure:
FAILED (failures=1)
test test_importlib failed -- Traceback (most recent call last):
File /Users/cartman/Python-
3.1b1/Lib/importlib/test/source/test_abc_loader.py, line 271, in
test_lacking_parent
Ned Deily n...@acm.org added the comment:
--enable-framework and --enable-shared are mutually exclusive options.
See, for example, the discussion in Issue4472. Use one or the other, not
both.
As a side comment, I think this error crops up often enough that it would
make sense to add a
201 - 229 of 229 matches
Mail list logo