[issue44748] argparse: a bool indicating if arg was encountered

2021-07-28 Thread 🖤Black Joker🖤
🖤Black Joker🖤 added the comment: I would like to use argparse to parse boolean command-line arguments written as "--foo True" or "--foo False". For example: my_program --my_boolean_flag False However, the following test code does not do what I would like: im

[issue44757] Insecure Deserialization

2021-07-28 Thread 🖤Black Joker🖤
🖤Black Joker🖤 added the comment: Hi Steven D'Aprano, well first of all thank you to posting reply on this. Could please fix this follwoing errors of the code? import python from CallNode call where call = value::named("yaml.load").getACall() where call.getrNode(), "y

[issue44757] Insecure Deserialization

2021-07-27 Thread 🖤Black Joker🖤
Change by 🖤Black Joker🖤 : Added file: https://bugs.python.org/file50188/1_9WKsHGuOMbSsXo24PZepuw.png ___ Python tracker <https://bugs.python.org/issue44757> ___ ___

[issue44757] Insecure Deserialization

2021-07-27 Thread 🖤Black Joker🖤
New submission from 🖤Black Joker🖤 : There are a number of techniques for reading external files and loading their content into (de/serializing) Python objects. Pickle is one such powerful serialization technique that is inherently risky, especially when an attacker tampers with serialized