[issue42738] subprocess: don't close all file descriptors by default (close_fds=False)

2021-12-17 Thread Cristian Rodriguez


Cristian Rodriguez  added the comment:

My 2 CLP.
On linux/glibc you do not have to do this, there is a 
posix_spawn_file_actions_addclosefrom_np action which is implemented using  
close_range(2) which will give you the fastest way to this job without hassle.

for the not posix_spawn case, interate over /proc/self/fd and set the CLOEXEC 
flag using fcntl.. if close_Range is not available or returns returns different 
than 0

--
nosy: +judas.iscariote

___
Python tracker 
<https://bugs.python.org/issue42738>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36207] robotsparser deny all with some rules

2020-04-04 Thread Rodriguez


Rodriguez  added the comment:

I can't display my robot.TXT. I want to ban robots
 https://melwynn-rodriguez.fr/robots.txt

--
nosy: +lagustais

___
Python tracker 
<https://bugs.python.org/issue36207>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36189] DOC: Correct word in tutorial introduction

2019-05-04 Thread Jonatan Yucra Rodriguez


Change by Jonatan Yucra Rodriguez :


--
keywords: +patch
pull_requests: +13004
stage: needs patch -> patch review

___
Python tracker 
<https://bugs.python.org/issue36189>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36189] DOC: Correct word in tutorial introduction

2019-05-04 Thread Jonatan Yucra Rodriguez


Jonatan Yucra Rodriguez  added the comment:

I would like to take this issue.

--
nosy: +jonyucra

___
Python tracker 
<https://bugs.python.org/issue36189>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25448] Exception ABC doesn't work in Python 3 (but does in Python 2.7)

2015-10-20 Thread Medardo Rodriguez

Medardo Rodriguez added the comment:

Josh Rosenberg, you are right, it's a duplication. Sorry I didn't find the 
issue #12029 before.

--

___
Python tracker 
<http://bugs.python.org/issue25448>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25448] Exception ABC doesn't work in Python 3 (but does in Python 2.7)

2015-10-20 Thread Medardo Rodriguez

Medardo Rodriguez added the comment:

Thanks ~eryksun, you clarified me in where the error is located and possible 
patches for it.

We are programming a framework where is very important to do mappings between 
(1) the API and (2) the drivers layers.

We try to make our code available to both branches of Python (2 and 3).  This 
case is complex because a logical exception type definition (like "resource not 
found") is implemented different by disparate API consumer applications (these 
implementing the drivers), for example `httplib`, `couchdb` or any specific 
database management system.

So, the API layer have to find a way to uniform disparate exception "fauna" in 
its definitions at a logical level.

ABCs are the nice solution, only have to work as its conceptual definition 
said, including exceptions, in all Python versions.

--

___
Python tracker 
<http://bugs.python.org/issue25448>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25448] Exception ABC doesn't work in Python 3 (but does in Python 2.7)

2015-10-20 Thread Medardo Rodriguez

New submission from Medardo Rodriguez:

When I run the next code in all my installed versions of Python 3 (and the 
equivalent code for PyPy and CPython 2.7):

- Runs OK in CPython 2.7 equivalent code (using `ABCMeta` as meta-class).

- Fails in PyPy and all versions of Python 3.

--
files: tests.py
messages: 253246
nosy: merchise
priority: normal
severity: normal
status: open
title: Exception ABC doesn't work in Python 3 (but does in Python 2.7)
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file40823/tests.py

___
Python tracker 
<http://bugs.python.org/issue25448>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17140] Provide a more obvious public ThreadPool API

2014-01-14 Thread Sebastian Rodriguez

Changes by Sebastian Rodriguez :


--
nosy: +srodriguez

___
Python tracker 
<http://bugs.python.org/issue17140>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9227] can't import Tkinter / use IDLE after installing Python 2.7 on Mac OS X

2010-12-02 Thread Alex Rodriguez

Alex Rodriguez  added the comment:

I downloaded "python-2.7.1-macosx10.6.dmg" file and tested if Tkinter and IDLE 
still have same issue reported here and I did not find anymore this issue.

I was able to launch IDLE and create a Tkinter GUI. From my side we can resolve 
and close this issue.

--

___
Python tracker 
<http://bugs.python.org/issue9227>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9620] Python 2.7 IDLE fails on OS X 10.6

2010-11-29 Thread Alex Rodriguez

Alex Rodriguez  added the comment:

I didn't see this issue resolved in the changelog for 2.7.1 release. Are we 
going to wait until 2.7.2 now??

--
nosy: +Alex.Rodriguez

___
Python tracker 
<http://bugs.python.org/issue9620>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9227] can't import Tkinter / use IDLE after installing Python 2.7 on Mac OS X

2010-07-14 Thread Alex Rodriguez

Changes by Alex Rodriguez :


--
nosy: +Alex.Rodriguez

___
Python tracker 
<http://bugs.python.org/issue9227>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com