[issue26870] Unexpected call to readline's add_history in call_readline

2016-05-06 Thread Tyler Crompton
Changes by Tyler Crompton : -- status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue26870] Unexpected call to readline's add_history in call_readline

2016-05-06 Thread Tyler Crompton
Changes by Tyler Crompton : -- keywords: +patch Added file: http://bugs.python.org/file42748/set_auto_history.patch ___ Python tracker ___ ___

[issue17765] weakref.ref ignores a 'callback' keyword argument

2016-05-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: no_weakref_kwargs_2.patch LGTM. -- components: +Extension Modules nosy: +serhiy.storchaka stage: needs patch -> commit review type: enhancement -> behavior versions: +Python 3.5, Python 3.6 -Python 3.3, Python 3.4 _

[issue26970] Replace OpenSSL's CPRNG with system entropy source

2016-05-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Then I'd say just keep them private. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue26970] Replace OpenSSL's CPRNG with system entropy source

2016-05-06 Thread Christian Heimes
Christian Heimes added the comment: I have used the helper methods during development. They are also used in unit tests. -- ___ Python tracker ___ __

[issue26970] Replace OpenSSL's CPRNG with system entropy source

2016-05-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: What are the helper methods good for? I don't think we want to expose them for now. -- ___ Python tracker ___ _

[issue26756] fileinput handling of unicode errors from standard input

2016-05-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pytho

[issue26959] pickle: respect dispatch for functions again

2016-05-06 Thread Hrvoje Nikšić
Hrvoje Nikšić added the comment: You can simplify pickle_lambda in the test by using marshal.dumps(code_obj) and marshal.loads(code_obj) to dump and load the code object without going through its entire guts. It would be a shame to have to change a pickle test just because some detail of the c

[issue15071] TLS get keys and randoms

2016-05-06 Thread Christian Heimes
Christian Heimes added the comment: This request is an advanced use case. I'd rather keep the Python _ssl module simple and suggest PyOpenSSL + PyCA/cryptography for advanced features. -- status: open -> languishing versions: +Python 3.6 -Python 3.4

[issue26970] Replace OpenSSL's CPRNG with system entropy source

2016-05-06 Thread Christian Heimes
New submission from Christian Heimes: The patch adds a new RAND engine for OpenSSL. The engine uses the system's entropy source (/dev/urandom, CryptGenRandom(), getentropy() ...). The engine is automatically installed with OpenSSL as default RAND engine. The new engine fixes the fork() bug onc

[issue26970] Replace OpenSSL's CPRNG with system entropy source

2016-05-06 Thread Cory Benfield
Changes by Cory Benfield : -- nosy: +Lukasa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue15753] No-argument super in method with variable arguments raises SystemError

2016-05-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue18531] Undocumented different between METH_KEYWORDS and **kws

2016-05-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Proposed patch converts var-keyword arguments to exact dict. Since it changes the behavior of str.format() it can be pushed only in 3.6. -- Added file: http://bugs.python.org/file42746/ceval_kwargs_exact_dict.patch ___

[issue26931] android: test_distutils fails

2016-05-06 Thread Xavier de Gaye
Xavier de Gaye added the comment: On android, the shell path is /system/bin/sh. The attached patch fixes this, assuming that there is a platform.android_ver() as per issue #26855: add platform.android_ver() for android. This could be changed for a test on sys.platform if there was a specific s

[issue26931] android: test_distutils fails

2016-05-06 Thread Xavier de Gaye
Xavier de Gaye added the comment: The attached patch skips some tests when the interpreter was cross-compiled. When the interpreter has been cross-compiled, there is probably no compiler on the host system. -- keywords: +patch Added file: http://bugs.python.org/file42744/cross-compiled

[issue26931] android: test_distutils fails

2016-05-06 Thread Xavier de Gaye
Xavier de Gaye added the comment: The last two failed tests: test_sysconfig_compiler_vars test_sysconfig_module are caused by LDFLAGS being set in the environment both when configure is run and when make is run. Removing LDFLAGS from the environment when running make fixes these tests.

[issue18531] Undocumented different between METH_KEYWORDS and **kws

2016-05-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file42743/test_args_kwargs_types.patch ___ Python tracker ___ ___ Python-bugs

[issue18531] Undocumented different between METH_KEYWORDS and **kws

2016-05-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file42742/test_args_kwargs_types.patch ___ Python tracker ___ ___ Python-bu

[issue18531] Undocumented different between METH_KEYWORDS and **kws

2016-05-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yet one difference is that kwargs can be NULL in C function if no keyword arguments are supplied. Here is a patch that adds tests for exact types of args and kwargs arguments in C functions. I think that we should keep passing NULL as kwargs for performance

[issue26959] pickle: respect dispatch for functions again

2016-05-06 Thread SilentGhost
Changes by SilentGhost : -- nosy: +alexandre.vassalotti, pitrou stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list ma

<    1   2