Skip to content Skip to sidebar Skip to footer
Showing posts with the label Immutability

Wrapping Big List In Python 2.7 To Make It Immutable

In case I have a really big list (>100k elements) that can be retrieved from some object through… Read more Wrapping Big List In Python 2.7 To Make It Immutable

Python - Why Does Extend() And Append() Return None (void)?

Possible Duplicate: why does python's list.append evaluate to false? In my opinion, I think l… Read more Python - Why Does Extend() And Append() Return None (void)?

Making A List Subclass Hashable

I want to derive a class from list, add a few instance attributes to it, and make it hashable. What… Read more Making A List Subclass Hashable

Changing Values On A Werkzeug Request Object

I have a request object that comes from werkzeug. I want to change a value on this request object. … Read more Changing Values On A Werkzeug Request Object