Comments (2)
Pulled the tests directory from tcalmant branch to ours to check functionality.
Only one difference between the branches. His version takes dictionary
rather than dict
for the name of the proxy.
from jpype.
Check for uses without macro in our code
- self->ob_type->tp_free(o);
+ Py_TYPE(self)->tp_free(o);^M
}
and
@@ -50,7 +50,15 @@ void JPArray::setRange(int start, int stop, vector<HostRef*>& val)
^M
JPType* compType = m_Class->getComponentType();^M
^M
- int len = stop-start;^M
+ if(stop < start)^M
+ {^M
+ std::stringstream out;^M
+ out << "Slice start (" << start << ") is greater than stop ("^M
+ << stop << ")";^M
+ RAISE(JPypeException, out.str());^M
+ }^M
+^M
+ unsigned int len = stop-start;^M
size_t plength = val.size();^M
^M
from jpype.
Related Issues (20)
- Str/Unicode HOT 1
- Item check list HOT 1
- Docstring generation
- Implements
- Stack trace integration
- Auto Proxy
- Segfault on call abstract method
- No numpy checklist HOT 2
- JPype crashing with "AttributeError: _hints can't be set" HOT 33
- Task list for JPype 0.8 Release HOT 1
- Verify the behavior of underbar with Java symbols
- Check if Java primitives are closed
- See about making List satisfy Sequence contract
- Elementwise access for buffers?
- Make JChar derive from unicode
- Investigate exception reported in testDoc.py
- Getting started? HOT 4
- Speed HOT 20
- epypj master list HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jpype.