Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixes for parallel code on Python 3 #985

Merged
merged 1 commit into from

2 participants

Thomas Kluyver Min RK
Thomas Kluyver
Owner

Just a couple of minor fixes. Annoyingly, the parallel test suite now hangs (before it just failed) - but doing a basic example using ipcluster3 worked.

Min RK
Owner

This seems just fine, go for it. I can dig into real bugs in the test suite later.

Thomas Kluyver
Owner

Great, thanks.

Thomas Kluyver takluyver merged commit a5245d0 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 9, 2011
  1. Thomas Kluyver
This page is out of date. Refresh to see the latest.
2  IPython/parallel/apps/ipcontrollerapp.py
View
@@ -273,7 +273,7 @@ def init_hub(self):
if not self.reuse_files:
# save to new json config files
f = self.factory
- cdict = {'exec_key' : f.session.key,
+ cdict = {'exec_key' : f.session.key.decode('ascii'),
'ssh' : self.ssh_server,
'url' : "%s://%s:%s"%(f.client_transport, f.client_ip, f.regport),
'location' : self.location
2  IPython/utils/traitlets.py
View
@@ -961,7 +961,7 @@ def validate (self, obj, value):
class Bytes(TraitType):
"""A trait for byte strings."""
- default_value = ''
+ default_value = b''
info_text = 'a string'
def validate(self, obj, value):
Something went wrong with that request. Please try again.