-
```
ibm_db_sa-0.3.0-py27.egg/ibm_db_sa/base.py:509
illegal_initial_characters = set(xrange(0, 10)).union(["_", "$"])
The expression 'set(xrange(0, 10))' gives set made of 10 integers, where set o…
-
The command was initially developed for Python 2, but now breaks with Python 3.
These only small changes are needed to correct the errors:
- [`s3_directory_generator.py`](https://github.com/Every…
-
In case of numeric implementation, save `start`, `stop`, and `step` as properties of range:
```ts
const { start, stop, step } = xrange(10);
start; // 0
stop; // 10
step; // 1
```
```ts
c…
-
I've been using lands to create some desktop backgrounds, and it is rather slow.
Seems like there is some low hanging fruit for optimizations.
There are a lot of constructs in the code like:
```
fo…
-
**Q1:**
I find the elements in `nns` and `others` is useless in the `triplets` collection
`
for i in xrange(wtvv.shape[0]):
for j in xrange(len(nns[i])):
…
-
I just found this code. A triple nested loop in Python. Isn't this really slow, or am I missing some compile magic?
```
for k in xrange(N - 1, -1, -1):
for j in xrange(k + 1, N):
…
-
Very useful pattern... adding this to the top of the module will make it work for python3:
try:
xrange
except NameError:
xrange = range
-
I am a student of Yunnan University in China and learning the code ,could you help me get the 'past.builtins'? Thangks
GYBTA updated
3 years ago
-
**Issue by [Fahrzin Hemmati](/fahhem)**
_15 Nov 2010 at 2:18 GMT_
_Originally opened on Google Code_
---
```
This originally was a segfault issue, but in trying to reproduce it I got a
different er…
-
When running `pip install seal`, i get this error: NameError: name 'xrange' is not defined,
which comes from xrange being replaced with range in python3 as i understand it.
would it be possible to c…