Re: Encrypted web mail

2015-08-15 Thread Uri Even-Chen
Hi Dennis, On Sat, Aug 15, 2015 at 7:35 PM, Dennis Lee Bieber wrote: > On Sat, 15 Aug 2015 12:47:17 +0300, Uri Even-Chen > declaimed the following: > > >To Python, Django and Speedy Mail Software developers, > > > >Is it possible to make Speedy Mail encrypted? I want mail to be encrypted > >o

Re: How to model government organization hierarchies so that the list can expand and compress

2015-08-15 Thread Denis McMahon
On Thu, 13 Aug 2015 12:10:12 -0700, Alex Glaros wrote: > What would the data model look like for this? Define an organizational unit. Give it a unique name. Give it a list of superiors and a list of subordinates. government = { 'president' : { 'superiors' : [], 'subordinates' : ['jcs', 'cia',

Re: memory control in Python

2015-08-15 Thread Laura Creighton
If the problem is that Python is using too much memory, then PyPy may be able to help you. PyPy is an alternative implementation of Python, and by defaiult uses a minimark garbage collector. https://pypy.readthedocs.org/en/release-2.4.x/garbage_collection.html You will have to write your own bind

Re: memory control in Python

2015-08-15 Thread Mark Lawrence
On 15/08/2015 18:28, Terry Reedy wrote: On 8/15/2015 3:21 AM, dieter wrote: Ping Liu writes: ... For small cases, Python works well. But if we consider longer time period. then it would fail due to the memory usage issues. We have tested several case studies to check the memory use for differe

Re: memory control in Python

2015-08-15 Thread Terry Reedy
On 8/15/2015 3:21 AM, dieter wrote: Ping Liu writes: ... For small cases, Python works well. But if we consider longer time period. then it would fail due to the memory usage issues. We have tested several case studies to check the memory use for different time period, including 1) 2 hours in o

Re: Encrypted web mail

2015-08-15 Thread Uri Even-Chen
Hi Michael, Thanks for the feedback. Actually the passwords on my webmail in 2000 to 2005 were not encrypted, but I agree with you that passwords should be always encrypted. Uri. *Uri Even-Chen* [image: photo] Phone: +972-54-3995700 Email: u...@speedy.net Website: http://www.speedysoftware.com

Re: Encrypted web mail

2015-08-15 Thread Michael Torrie
On 08/15/2015 03:47 AM, Uri Even-Chen wrote: > To Python, Django and Speedy Mail Software developers, > > Is it possible to make Speedy Mail encrypted? I want mail to be encrypted > on the server, and only the user will be able to read his/her mail. The > user's password will be encrypted on the s

Re: Detecting if a library has native dependency

2015-08-15 Thread Laura Creighton
In a message of Sat, 15 Aug 2015 17:10:01 +0530, Harish Vishwanath writes: >Hello > >Is there a reliable way to detect if a python library has native dependency >or native code? For ex. can I programmatically determine that "lxml" >package has native code and depends on the presence of libxml on th

Re: Encrypted web mail

2015-08-15 Thread Uri Even-Chen
Thanks Pedro, actually I understand cryptography and I agree with you. Sonebody replied to me off-list and wrote me about ProtonMail , actually they are doing exactly what I wanted (I think), so maybe I will try to cooperate with them and/or use their open source source code

Detecting if a library has native dependency

2015-08-15 Thread Harish Vishwanath
Hello Is there a reliable way to detect if a python library has native dependency or native code? For ex. can I programmatically determine that "lxml" package has native code and depends on the presence of libxml on the system? Regards, Harish -- https://mail.python.org/mailman/listinfo/python-l

Re: Python 2.7: _PyLong_NumBits() Segfault

2015-08-15 Thread Ned Batchelder
On Saturday, August 15, 2015 at 2:36:44 AM UTC-4, Adam Meily wrote: > I am working on a CPython library that serializes Python objects to disk in a > custom format. I'm using _PyLong_NumBits() to determine whether > PyLong_AsLong(), PyLong_AsUnsignedLong(), PyLong_AsLongLong(), or > PyLong_AsUns

Re: Mock object but also assert method calls?

2015-08-15 Thread Thomas Lehmann via Python-list
Am Freitag, 14. August 2015 04:53:56 UTC+2 schrieb Steven D'Aprano: > On Fri, 14 Aug 2015 07:21 am, Ben Finney wrote: > > >> If find following totally different to the normal API which > >> is provided by the mock library: > >> > >> assert call().test2("hello") in mocked_objects.mock_calls > > >

Encrypted web mail

2015-08-15 Thread Uri Even-Chen
To Python, Django and Speedy Mail Software developers, Is it possible to make Speedy Mail encrypted? I want mail to be encrypted on the server, and only the user will be able to read his/her mail. The user's password will be encrypted on the server and nobody will be able to read the user's mail e

Re: memory control in Python

2015-08-15 Thread dieter
Ping Liu writes: > ... > For small cases, Python works well. But if we consider longer time period. > then it would fail due to the memory usage issues. We have tested several > case studies to check the memory use for different time period, including > 1) 2 hours in one day, 2) 24 hours in one da