Skip to content

Commit

Permalink
Merge pull request #15 from pseeth/ps/fix-sysargv-bug
Browse files Browse the repository at this point in the history
Fixing issue with multiprocessing
  • Loading branch information
pseeth authored May 24, 2024
2 parents 13360c8 + b1cc9c1 commit e3e0b8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion argbind/argbind.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,8 @@ def parse_args(p=None, group: Union[list, str] = "default"):
used_args.extend(['args.save', 'args.load'])

known, unknown = p.parse_known_args()
sys.argv = sys.argv[:1] + unknown
args = vars(known)
args["args.unknown"] = unknown
load_args_path = args.pop('args.load')
save_args_path = args.pop('args.save')
debug_args = args.pop('args.debug')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name='argbind',
version='0.3.8',
version='0.3.9',
description='Simple way to bind function arguments to the command line.',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit e3e0b8d

Please sign in to comment.