Ticket #4774 (closed: fixed)
Create a return_value_policy for upcasting Python objects
Reported by: | Martyn Gigg | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | major | Milestone: | Release 2.1 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Russell Taylor |
Description
This should simplify the code around retrieving items from the ADS and from properties as the correct type.
Change History
comment:2 Changed 9 years ago by Martyn Gigg
Refs #4774. File rename.
Changeset: 2c633f6f9674a20d88ee9eab6d980eaad20c65bc
comment:3 Changed 9 years ago by Martyn Gigg
Refs #4774. Missed the file references from the commit.
Changeset: 8ef4394b027c74388b5df5a5eb900308cd6bd746
comment:5 Changed 9 years ago by Martyn Gigg
Refs #4774. Implemented return_value_policy to simplify code.
There no longer needs to be two functions to upcast a DataItem pointer to a derived class in Python.
Changeset: f71ad9e58bb053089ebe0e69b025a6ac9e5407da
comment:6 Changed 9 years ago by Martyn Gigg
Refs #4774. Remove file references.
Changeset: 377ac63a2df7a5e5caabd030e8d3149ea773c0c9
comment:7 Changed 9 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to fixed
comment:8 Changed 8 years ago by Russell Taylor
- Status changed from verify to verifying
- Tester set to Russell Taylor
comment:9 Changed 8 years ago by Russell Taylor
- Status changed from verifying to closed
Nice. As an aside, the Mantid wiki is the number 3 hit on Google for 'return value policy'!
comment:10 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 5621
Refs #4774. Code reorg before implementing return_value_policy