[issue6559] add pass_fds paramter to subprocess.Popen()

2019-09-19 Thread Orivej Desh


Change by Orivej Desh :


--
pull_requests: +15868
pull_request: https://github.com/python/cpython/pull/16283

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



[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2019-09-02 Thread Orivej Desh


Change by Orivej Desh :


--
nosy: +orivej

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



[issue37649] calculate_init fails to check that EXEC_PREFIX was decoded

2019-07-22 Thread Orivej Desh


New submission from Orivej Desh :

See https://github.com/python/cpython/pull/14897

The bug was introduced in 
https://github.com/python/cpython/commit/0327bde9da203bb256b58218d012ca76ad0db4e4#diff-fa81ddea06129e7a2ef6b5a1c6a0af4dR925

--
components: Interpreter Core
messages: 348292
nosy: orivej
priority: normal
pull_requests: 14683
severity: normal
status: open
title: calculate_init fails to check that EXEC_PREFIX was decoded
versions: Python 3.7, Python 3.8, Python 3.9

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



[issue26180] multiprocessing.util._afterfork_registry leak in threaded environment

2019-06-11 Thread Orivej Desh


Change by Orivej Desh :


--
keywords: +patch
pull_requests: +13849
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/13986

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



[issue22189] collections.UserString missing some str methods

2019-03-25 Thread Orivej Desh


Orivej Desh  added the comment:

collections.UserString.__rmod__ references an undefined variable `args`:

def __rmod__(self, format):
return self.__class__(format % args)

https://github.com/python/cpython/commit/573b44c18f69307d7dbc95c950aab57ef7ea303e#diff-8a750c700ae5ac1d0a14922de83e99ccR1109

--
nosy: +orivej

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



[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2018-10-11 Thread Orivej Desh


Change by Orivej Desh :


--
nosy: +orivej

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



[issue32696] Fix pickling exceptions with multiple arguments

2018-10-11 Thread Orivej Desh


Change by Orivej Desh :


--
nosy: +orivej

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



[issue34027] python 3.7 openpty/forkpty build failure using nix package manager macOS environment

2018-07-02 Thread Orivej Desh


Orivej Desh  added the comment:

I understand the desirability of avoiding potential problems on supported 
platforms (given that you can not test building Python on all of them) and 
recognize that both options you have given are reasonable, but as I see it 
posixmodule.c incorrectly uses autoconf checks for the presence of header files 
to infer the platform: it assumes that libutil.h can not exist on macOS. It 
should either include all found relevant headers, as proposed in my patch or 
done e.g. in dropbear [1] and gnulib [2], or it should dispatch on the platform 
directly as LnL7 has proposed (although in this case it should no longer use 
the autoconf check on macOS).

[1] https://secure.ucc.asn.au/hg/dropbear/file/DROPBEAR_2018.76/includes.h
[2] 
http://git.savannah.gnu.org/cgit/gnulib.git/tree/lib/pty.in.h?id=281b825eba78dc403b9bf34979923bc587bc31af

--

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



[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Orivej Desh


Orivej Desh  added the comment:

The explicit conditional on __APPLE__ can be avoided with the attached patch. 
(Tested on NixOS and macOS with Nixpkgs.)

--
nosy: +orivej
Added file: https://bugs.python.org/file47666/darwin-libutil.patch

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