[Zope3-dev] Re: ZConfig change breaks Zope 2 and Zope 3

2005-05-09 Thread yuppie
Derrick Hudson wrote:
On Sun, May 08, 2005 at 02:28:55PM +0200, yuppie wrote:
| Hi!
| 
| On Windows, this 15 months old change in ZConfig sets the default 
| hostname for inet_address to 'localhost':
| 
|   http://svn.zope.org/ZConfig/?rev=376&view=rev
| 
| I have no idea why this was changed, the checkin message is not very 
| helpful: "fix the default hostname for address datatypes for Windows"

| Any comments?
Search the list archives for a discussion of why that was changed.
IIRC it is due to quirks in Windows' network libraries -- a test was
failing because the system API to query the identity of the socket
did something funny with 'localhost' vs. '127.0.0.1' and that caused
the comparison in the test to fail even though there was no actual
defect.
OTOH, after a quick look at the referenced defects and archived emails
I may be remembering something else.
Anyways, hopefully my memory will help you.  If not, well that's all I
can offer.
I couldn't find anything in the archives, but Tim's Entry #5 in
  http://www.zope.org/Collectors/Zope/1728
might explain the change in ZConfig. It seems to work around an issue 
with connect() on Windows.

But I still believe it was wrong to change the 'inet_address' datatype 
in ZConfig.

Cheers, Yuppie
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com


[Zope3-dev] Re: ZConfig change breaks Zope 2 and Zope 3

2005-05-09 Thread Derrick Hudson
On Sun, May 08, 2005 at 02:28:55PM +0200, yuppie wrote:
| Hi!
| 
| On Windows, this 15 months old change in ZConfig sets the default 
| hostname for inet_address to 'localhost':
| 
|   http://svn.zope.org/ZConfig/?rev=376&view=rev
| 
| I have no idea why this was changed, the checkin message is not very 
| helpful: "fix the default hostname for address datatypes for Windows"

| Any comments?

Search the list archives for a discussion of why that was changed.
IIRC it is due to quirks in Windows' network libraries -- a test was
failing because the system API to query the identity of the socket
did something funny with 'localhost' vs. '127.0.0.1' and that caused
the comparison in the test to fail even though there was no actual
defect.

OTOH, after a quick look at the referenced defects and archived emails
I may be remembering something else.

Anyways, hopefully my memory will help you.  If not, well that's all I
can offer.

-D

-- 
Whoever loves discipline loves knowledge,
but he who hates correction is stupid.
Proverbs 12:1
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com