Issue 10 in stacklessexamples: error in StacklessNonblockModules/socketlibevent.py

2 views
Skip to first unread message

stackles...@googlecode.com

unread,
Jan 8, 2014, 11:42:20 AM1/8/14
to stackless-exa...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 10 by Faun...@gmail.com: error in
StacklessNonblockModules/socketlibevent.py
http://code.google.com/p/stacklessexamples/issues/detail?id=10

In wiki/StacklessNonblockModules/socketlibevent.py

Line 98: def create_connection(address, timeout=0.1):

If try:
>>> urllib2.urlopen("http://www.google.com").read(12)

get error:
TypeError: create_connection() takes at most 2 arguments (3 given)

I think this more correctly:

Line 98: def create_connection(address, timeout=0.1, sourse_address=''):


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages