Comments (5)
[deleted comment]
from bitstring.
[deleted comment]
from bitstring.
Now that we have the Bits class, I think that in the interests of sane garbage
collection this enhancement should be re-written to just say that copies of Bits
objects shouldn't make unneccesary copies.
>>> a = Bits('0xff')
>>> b = Bits(a)
>>> c = a[:]
>>> d = copy.copy(a)
>>> a._datastore is b._datastore
True
>>> a._datastore is c._datastore
True
>>> a._datastore is d._datastore
True
Original comment by [email protected]
on 20 Mar 2010 at 8:50
- Added labels: Milestone-2.0, Priority-High
- Removed labels: Priority-Low
from bitstring.
Original comment by [email protected]
on 23 May 2010 at 11:00
- Added labels: Milestone-2.1
- Removed labels: Milestone-2.0
from bitstring.
Done in rev 795.
Original comment by [email protected]
on 30 Sep 2010 at 2:31
- Changed state: Verified
from bitstring.
Related Issues (20)
- Add support for LSB0 on a per object / instance basis HOT 2
- Iterating using over Bits.find() causes an infinite loop HOT 5
- Add support for NO_COLOR terminal variable
- Shortcut for current dtype in pp.
- ImportError: cannot import name 'BitString' from 'bitstring' HOT 3
- 4.2.0 crashes upon import with 32 bit python versions HOT 2
- 4.2.0: Bitarray(bytes=...) constructor no longer accepts list of bytes (or integers) HOT 2
- Unpack decoding error HOT 2
- 4.2.0: Typing of BitStream-slice HOT 3
- 4.2.0 crashes upon import when PYTHONOPTIMIZE is set to 2 or larger HOT 2
- 4.2.0: BitArray.join() no longer ignores None types HOT 2
- Change string representation of dtypes to short version when available.
- 4.2.x: Reading past the end of stream no longer raises ReadError HOT 2
- Significant slowdown in find / findall for some cases since version 4.1. HOT 7
- DeprecationWarning: invalid escape sequence in tests HOT 1
- Test failures due to lack of gfloat formats import HOT 2
- `BitStream.__add__` throws `AttributeError: 'Bits' object has no attribute '_pos'` HOT 3
- Add levels to dtype definitions in the dtype register
- Add offset to Dtype
- Some exotic float codes representing negative zero converted to positive zero.
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 bitstring.