-
I noticed this sniplet of code in load.py:
```
word_mat = [[0]*word_cnt]*(max_sent_len+k_wrd-1)
char_mat = [[[0]*char_cnt]*(max_word_len+k_chr-1)]*(max_sent_len+k_wrd-1)
for i in xrange(len(tokens))…
-
```
What steps will reproduce the problem?
1. Create test file with
for j in xrange(50000):
print ",".join(str(i) for i in [random.choice(xrange(1000)) for i in xrange(8)
2. Test with
time (c…
-
```
What steps will reproduce the problem?
1. Create test file with
for j in xrange(50000):
print ",".join(str(i) for i in [random.choice(xrange(1000)) for i in xrange(8)
2. Test with
time (c…
-
Testing locally, I see a failure in `test_show_aparc_aseg_with_new_values()`, where in
```python
for i in xrange(aparc_aseg_matrix.shape[0]):
for j in xrange(aparc_ase…
-
![image](https://user-images.githubusercontent.com/14135553/29003550-7219c894-7ad6-11e7-928f-dd3baebfff32.png)
-
```
What steps will reproduce the problem?
1. Create test file with
for j in xrange(50000):
print ",".join(str(i) for i in [random.choice(xrange(1000)) for i in xrange(8)
2. Test with
time (c…
-
The following code to create a view using a constant range argument fails to compile:
```
auto tensor = xt::xarray::from_shape({32, 32});
auto const span = xt::range(0, 10);
auto view = xt::view…
-
When using VectorTracker on macOS 12.6, Nuke 13.2V1, any attempt to track the vectors results in an error:
"name 'xrange' is not defined"
Showstopper.
-
In `gmpe-smtk/smtk/smoothing/konno_ohmachi.py` getting this error
`NameError: name 'xrange' is not defined`
-
https://pythonclock.org/
print function
xrange to range
many things now return iterators/generators vs. list objects.
etc., etc.
2to3 script can help