You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In python 2.6rc2, the async_chat.__init__() parameters have changed.
The first arg was called 'conn' in python 2.5, and it is now called
'sock'. This change breaks code that worked with previous python 2.x
versions, if that code followed the example in the official docs:
The change appears to come from Nadeem Vawda as part of bpo-1519. (See msg57989.)
I expect that existing python code could be modified to work around the
problem by using positional args instead of keyword args. However, I
didn't expect to have to update my working code to accommodate such a
change in the python 2.x code line. I agree that 'sock' is a better
name for the parameter, especially since it matches the same in
asyncore.dispatcher, but should the change really happen before python
3.0? If so, let's at least update the docs.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: