Skip to content

Set trait values from static defaults at instance_init#35

Merged
minrk merged 1 commit intoipython:masterfrom
takluyver:fix-cross-validation
Jun 15, 2015
Merged

Set trait values from static defaults at instance_init#35
minrk merged 1 commit intoipython:masterfrom
takluyver:fix-cross-validation

Conversation

@takluyver
Copy link
Member

Should fix the problem introduced in gh-31 for the widgets. @SylvainCorlay

One small behavioural change: traitlets with no default value will raise TraitError when accessed instead of returning Undefined.

Should fix the problem introduced in ipythongh-31 for the widgets.

One small behavioural change: traitlets with no default value will raise
TraitError when accessed instead of returning Undefined.
@SylvainCorlay
Copy link
Member

I checked out Thomas' branch and I can confirm that it fixes the issue.

@takluyver
Copy link
Member Author

Thanks. Again, I'd like @minrk to have a quick look before we merge this, but it's a fairly small change.

@SylvainCorlay
Copy link
Member

Well, in any case, there is no risk I merge anything in traitlets :-)

minrk added a commit that referenced this pull request Jun 15, 2015
Set trait values from static defaults at instance_init
@minrk minrk merged commit b3988bc into ipython:master Jun 15, 2015
@minrk
Copy link
Member

minrk commented Jun 15, 2015

Thanks, guys.

@takluyver takluyver deleted the fix-cross-validation branch June 15, 2015 18:33
@minrk minrk modified the milestones: 4.1, 4.0 Nov 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants