Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let cmd.cmd.intro be unicode friendly #52716

Closed
phep mannequin opened this issue Apr 20, 2010 · 5 comments
Closed

Let cmd.cmd.intro be unicode friendly #52716

phep mannequin opened this issue Apr 20, 2010 · 5 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@phep
Copy link
Mannequin

phep mannequin commented Apr 20, 2010

BPO 8470
Nosy @merwok, @bitdancer

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2010-07-05.15:07:36.383>
created_at = <Date 2010-04-20.15:29:07.710>
labels = ['type-feature', 'library']
title = 'Let cmd.cmd.intro be unicode friendly'
updated_at = <Date 2010-07-05.15:07:36.208>
user = 'https://bugs.python.org/phep'

bugs.python.org fields:

activity = <Date 2010-07-05.15:07:36.208>
actor = 'r.david.murray'
assignee = 'none'
closed = True
closed_date = <Date 2010-07-05.15:07:36.383>
closer = 'r.david.murray'
components = ['Library (Lib)']
creation = <Date 2010-04-20.15:29:07.710>
creator = 'phep'
dependencies = []
files = []
hgrepos = []
issue_num = 8470
keywords = []
message_count = 5.0
messages = ['103726', '106735', '106736', '109293', '109323']
nosy_count = 4.0
nosy_names = ['eric.araujo', 'r.david.murray', 'l0nwlf', 'phep']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue8470'
versions = ['Python 2.6']

@phep
Copy link
Mannequin Author

phep mannequin commented Apr 20, 2010

Since cmd.cmdloop() says:

# ...
self.stdout.write(str(self.intro)+"\n")
# ....

one cannot use unicode characters in cmd.cmd.intro, for example the copyright (©) character (u'\xa9').

TIA

@phep phep mannequin added the type-feature A feature request or enhancement label Apr 20, 2010
@merwok
Copy link
Member

merwok commented May 29, 2010

Since 2.7 is nearing the second beta, I’m afraid no new features can be added.

Note that classes using cmd in 3.x get Unicode arguments.

@merwok
Copy link
Member

merwok commented May 29, 2010

Correction: beta is behind us, it’s nearly rc time.

@l0nwlf
Copy link
Mannequin

l0nwlf mannequin commented Jul 5, 2010

Python 2.7 is already released. This is a non-issue on py3.x. Should this issue be closed or we work on it.

@bitdancer
Copy link
Member

If someone wants to try arguing that this is a bug fix (and can provide a patch that does not change existing behavior), then we could reopen it, but as a feature request it is closed for 2.7.

@bitdancer bitdancer added the stdlib Python modules in the Lib dir label Jul 5, 2010
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants