Re: sphinx (or other means to document python)

2016-09-24 Thread Yann Kaiser
pydoctor may be something you're looking for. I don't know if it supports exporting to PDF like Sphinx does. As you've no doubt figured out by now, Sphinx doesn't revolve around the Python files themselves, but rather .rst files in which you can indeed instruct Sphinx to just go and document a mod

Re: sphinx (or other means to document python)

2016-09-24 Thread chitturk
On Sunday, September 11, 2016 at 3:56:36 PM UTC-5, chit...@uah.edu wrote: (about being frustrated with sphinx) I _remain_ frustrated - even as I finally figured out how to use it (thanks to a complete example from a friend) sphinx is very picky about spaces, lines - I had a line with some math f

Re: Address boundary error when trying to use Image.putdata(array) from PIL

2016-09-24 Thread MRAB
On 2016-09-24 11:59, Tristan Trouwen wrote: Got a signal boundary error. Steps to reproduce: open python console Python 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. from PIL import Image im = Image.open('HKJ

Re: how to automate java application in window using python

2016-09-24 Thread Lawrence D’Oliveiro
On Monday, September 19, 2016 at 6:47:27 PM UTC+12, Christian Gollwitzer wrote: > Still, sometimes you just need to get the job done and it doesn't matter how. That is why the situation continues; because you keep showing a willingness to put up with it. -- https://mail.python.org/mailman/listin

Address boundary error when trying to use Image.putdata(array) from PIL

2016-09-24 Thread Tristan Trouwen
Got a signal boundary error. Steps to reproduce: open python console Python 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from PIL import Image >>> im = Image.open('HKJL.jpg') >>> import numpy as np >>> arr

ANN: asciimatics v1.7.0

2016-09-24 Thread Peter Brittain
I am very pleased to announce asciimatics v1.7.0! This is a major update since the last announced version of the package. ## What is asciimatics? Asciimatics is a package to help people create full-screen text UIs (from interactive forms to complex text animations) on Linux, Windows and OSX.

Re: Looking for tips and gotchas for working with Python 3.5 zipapp feature

2016-09-24 Thread Malcolm Greene
Hi Paul, > Just one further note, which may or may not be obvious. If your application > uses external dependencies from PyPI, you can bundle them with your > application using pip's --target option ... Cool stuff! To your question: None of what you've shared has been obvious to me :) Packagi

Re: How to import all things defined the files in a module directory in __init__.py?

2016-09-24 Thread Chris Angelico
On Sat, Sep 24, 2016 at 9:32 PM, Brendan Abel <007bren...@gmail.com> wrote: >> Splitting it up would make it slower to load. > > It's usually the opposite. When packages are split up, you only have to > load the specific portions you need. Putting it all in a single module > forces you to always

Re: How to import all things defined the files in a module directory in __init__.py?

2016-09-24 Thread Brendan Abel
> Splitting it up would make it slower to load. It's usually the opposite. When packages are split up, you only have to load the specific portions you need. Putting it all in a single module forces you to always load everything. On Fri, Sep 23, 2016 at 11:59 PM, Lawrence D’Oliveiro < lawrenced.

Re: How to import all things defined the files in a module directory in __init__.py?

2016-09-24 Thread Steve D'Aprano
On Sat, 24 Sep 2016 04:59 pm, Lawrence D’Oliveiro wrote: > On Saturday, September 24, 2016 at 2:11:09 PM UTC+12, Chris Angelico > wrote: >> It's a large and complex module, and about at the boundary of being >> broken up a bit. > > Splitting it up would make it slower to load. Would it? You've b

Re: PyThreadState_Get

2016-09-24 Thread dieter
Bharadwaj Srivatsa writes: > Which ever project I am trying to install using python setup.py install > command, i am getting the following error.. > > python -mtrace --trace setup.py install > Fatal Python error: PyThreadState_Get: no current thread > ABORT instruction (core dumped) > > How to g

Re: pypy on windows much slower than linux/mac when using complex number type?

2016-09-24 Thread Christian Gollwitzer
Am 23.09.16 um 21:50 schrieb Irmen de Jong: The problem boiled down to a performance issue in window's 32 bits implementation of the hypot() function (which abs(z) uses when z is a complex number type). The 64 bits windows crt lib version is much faster (on par with what is to be expected fro

Re: How to import all things defined the files in a module directory in __init__.py?

2016-09-24 Thread Lawrence D’Oliveiro
On Saturday, September 24, 2016 at 2:11:09 PM UTC+12, Chris Angelico wrote: > It's a large and complex module, and about at the boundary of being > broken up a bit. Splitting it up would make it slower to load. -- https://mail.python.org/mailman/listinfo/python-list