Subscribe: Python | Python
http://www.gossamer-threads.com/lists/python/python.xml
Preview: Python | Python

Python | Python



Mailing List Archive by Gossamer Threads



Last Build Date: 20 Oct 2017 16:01:19 -0800

Copyright: (c) Gossamer Threads Inc. All rights reserved.
 



Save non-pickleable variable?

20 Oct 2017 10:19:16 -0800

tldr: I have an object that can't be picked. Is there any way to do a "raw" dump of the binary data to a file, and re-load it later? Details: I am us



Re: Re: Problem with StreamReaderWriter on 3.6.3? SOLVED

20 Oct 2017 03:46:46 -0800

Thanks MRAB, your solution works a treat. I'm replying to the list so others can know that this solution works. Note that sys.stderr.detach() is onl



integer copy

20 Oct 2017 01:30:05 -0800

Hello, I tried the following: import copy a = 5 b = copy.copy(a) a is b True I was expecting False I am aware that it is useless to copy an integ



Problem with StreamReaderWriter on 3.6.3?

19 Oct 2017 14:46:53 -0800

I came across this code in Google cpplint.py, a Python script for linting C++ code. I was getting funny results with Python 3.6.3, but it worked fin



Application and package of the same name

19 Oct 2017 11:18:19 -0800

I'm not understanding something fundamental about absolute/relative imports. Suppose I have an application, fribble.py, and it has a corresponding pac



make test on Centos 7.4 fails

19 Oct 2017 11:15:07 -0800

Hey Python guys, test_socket doesn't seem to be passing on a clean CentOS 7.4 install. strace -s 128 -e trace=%network -o trace ./python -m test -v



Vim, ctags jump to python standard library source

19 Oct 2017 11:08:01 -0800

I prefer to use vim and ctags when developing python, but I'm having trouble getting ctags to index the standard library. Sometimes I would like to se



Efficient counting of results

19 Oct 2017 10:40:23 -0800

I am working on developing a report that groups data into a two-dimensional array based on date and time. More specifically, date is grouped into cate



efficient way to get a sufficient set of identifying attributes

19 Oct 2017 07:20:13 -0800

Given a list of objects with attributes a0, a1, a2,....an-1 is there an efficient way to find sets of attributes which can be used to distinguish me



What happens when a __call__ function is defined in both class and object ?

19 Oct 2017 01:11:02 -0800

Hello, please have a look at following code snippet (python 3.4.4) class Test: a = 1 def __init__(self): self.a = 2 self.f