Mailing List Archive

[issue4078] asyncore fixes are not backwards compatible
New submission from Sidnei da Silva <sidnei.da.silva@gmail.com>:

I am working on getting Zope to run (or at least, start) with Python
2.6. It actually starts right now after applying some patches, which
is amazing on itself, but it dies right away due to changes in
asyncore that break Zope's internal version of medusa.

I've opened a bug against Zope on Launchpad, but someone suggested
that it might actually be a bug in python, in the sense that it
changed asyncore in a backwards-incompatible way. I wouldn't go that
far, since I think it's more likely that Zope's version of medusa is
poking into asyncore internals instead.

Here's the bug, for reference:

https://bugs.launchpad.net/zope2/+bug/280020

I suspect a change similar to this will need to be applied to medusa:

http://codereview.appspot.com/744/diff/1/23

I'm puzzled though as to why the change is incompatible. I would have
expected at least some kind of deprecation warning on Python 2.5.

Either way, if you think the issue needs to be fixed in medusa feel free
to close this bug.

----------
components: Library (Lib)
messages: 74540
nosy: sidnei
severity: normal
status: open
title: asyncore fixes are not backwards compatible
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue4078>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue4078] asyncore fixes are not backwards compatible [ In reply to ]
Changes by Giampaolo Rodola' <billiejoex@users.sourceforge.net>:


----------
nosy: +giampaolo.rodola, josiah.carlson

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue4078>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue4078] asyncore fixes are not backwards compatible [ In reply to ]
Changes by Benjamin Peterson <musiccomposition@gmail.com>:


----------
assignee: -> josiahcarlson
nosy: +josiahcarlson

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue4078>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue4078] asyncore fixes are not backwards compatible [ In reply to ]
Josiah Carlson <josiahcarlson@users.sourceforge.net> added the comment:

Zope's medusa was relying on internal details of asyncore (the
ac_out_buffer attribute), which is no longer applicable. It also seems
as though much of medusa itself borrows from asynchat.async_chat, which
suggests that it should subclass there.

----------
resolution: -> wont fix

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue4078>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com