Hi
I'm using Python 2.7 and I'm creating a class decorator that extract
information from exceptions for logging purposes.
Everytime an exception is raised from the original function and I extract
the origin of the exception with sys.exc_info() I get a reference to the
line in the decorator where
Thanks Terry
Yes both lines where in the traceback using tb_next I got what I needed.
Regards,
Néstor
On Thu, Oct 30, 2014 at 1:36 PM, Terry Reedy wrote:
> On 10/30/2014 8:33 AM, Néstor Boscán wrote:
>
> I'm using Python 2.7 and I'm creating a class decorator that ext
So actually what I ended up doing was a function that will return the last
tb_next and this will always give me the reference to the py and line
number where the exception was raised.
Regards,
Néstor
On Thu, Oct 30, 2014 at 4:42 PM, Néstor Boscán
wrote:
> Thanks Terry
>
> Yes both li
Hola Yasna
Chris te escribe que puedes bajar la solución Python desde este link:
https://www.python.org/downloads/
También escribe que el foro es en inglés ya que la mayoría de las personas
que forman parte de la lista hablan inglés.
Saludos y éxitos
Translated:
Hi Yasna
Chris wrote that you
Hi
I've been trying to configure Apache and Python 2.7 on Red Hat. I've tried
the different configurations i've seen on the web, I've given chmod -R 777
tu my python code but I still get 403 Forbidden and I don't get any errors.
Regards,
Néstor
--
https://mail.python.org/mailman/listinfo/python
google the related configuration.
>
>
> from ex-redhatter
>
> 2015-06-12 20:51 GMT+08:00 Néstor Boscán :
>
>> Hi
>>
>> I've been trying to configure Apache and Python 2.7 on Red Hat. I've
>> tried the different configurations i've seen on the w
Hi
I disabled selinux completely and the page worked.
Regards,
Nestor
On Tuesday, June 16, 2015, Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info> wrote:
> On Tuesday 16 June 2015 13:31, Néstor Boscán wrote:
>
> > Tried it and I keep having the same error. Isn
; On Tue, Jun 16, 2015 at 12:11 PM, Néstor Boscán > wrote:
> > I disabled selinux completely and the page worked.
>
> So, selinux was the problem (which is typical, it’s a really dumb
> piece of software)
>
> The command to disable enforcing temporarily is actually "s
On Tuesday, June 16, 2015, Chris Warrick wrote:
> On Tue, Jun 16, 2015 at 8:14 PM, Néstor Boscán > wrote:
> > I tried that but it didn't work.
> >
> > I had to change /etc/selinux/config and reboot to make it work. It
> would be
> > nice if the wsgi modul