Documentation contradicts with implementation on running several files
See original GitHub issueSteps to reproduce
- Create a
test1.py
file with the contentsimport sys; print(1, sys.argv)
in the current directory - Create a
test2.py
file with the contentsprint(2)
in the current directory
Expected result
As per the IPython reference:
Both files are executed in sequence, the stdout has 1 ['<cwd>/test.py']
and 2
.
As per ipython --help
:
The first file is executed, test2.py
being its command-line argument, the stdout has 1 ['<cwd>/test.py', 'test2.py']
.
Actual result
The actual behaviour is as per ipython --help
.
System info
Manjaro Linux, Python 3.9.4, IPython 7.22.0 (reproduces on IPython 8.0.0.dev)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
c# - Exception handling (contradicting documentation / try- ...
This document claims that the following two code snippets are equivalent. They are. The using statement ensures that Dispose is called even ...
Read more >Android 7.0 Virtual Files Documentation - Issue Tracker
Thus, there is no contradiction. A virtual file is one whose native representation cannot be obtained using openInputStream but which may be ...
Read more >Integrity of the Healthcare Record: Best Practices for EHR ...
From a billing perspective, defaulting or copying and pasting clinical information with previous existing documentation from other patient encounters in a ...
Read more >15-410 Coding Style and Doxygen Documentation
Each file needs to begin with the @file command stating the name of the file. This should be followed by a brief description...
Read more >Contradiction in .rec documentation
Hi, there are two contradicting statements in the recordIO documentation ... number of files and cross-validate it every time run-time settings change?
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@strawhat54 yes, that’s correct.
Yes, that seems to be the case.