Skip to content

Cleanup and deprecates autoindent flags and options. - #10356

Closed
Carreau wants to merge 1 commit into
ipython:masterfrom
Carreau:deprecate-autoindent
Closed

Carreau wants to merge 1 commit into
ipython:masterfrom
Carreau:deprecate-autoindent

Conversation

@Carreau

@Carreau Carreau commented Feb 28, 2017

Copy link
Copy Markdown
Member

@Carreau Carreau added this to the 6.0 milestone Feb 28, 2017
"multiple lines without turning autoindentation off.")
self.shell.set_autoindent()
print("Automatic indentation is:",['OFF','ON'][self.shell.autoindent])
print("Automatic indentation is deprecated and will have no effects.")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need two messages about the same deprecation.

@takluyver

Copy link
Copy Markdown
Member

I'm having trouble seeing tests on Travis at the moment, but the test failures on Appveyor look real.

@Carreau

Carreau commented Mar 1, 2017

Copy link
Copy Markdown
Member Author

@ivanov I'm going to guess we should not remove that if you'r going to bring back readline ?

@Carreau Carreau modified the milestones: 6.0, 7.0 Mar 13, 2017
@Carreau Carreau closed this May 8, 2017
@minrk minrk modified the milestone: 7.0 Jul 12, 2017
@Carreau Carreau modified the milestones: wishlist, no action Sep 12, 2017
@unode

unode commented Oct 24, 2017

Copy link
Copy Markdown

I was looking for a way to disable autoindentation and found --no-autoindent but this option has no effect (IPython 6.1.0 & 6.2.1).
Should the deprecation in this issue also affect --no-autoindent and --autoindent? Those do not produce any warning.

@Carreau
Carreau deleted the deprecate-autoindent branch January 14, 2024 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants