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

Maildir dumpmessage on #48503

Closed
marcusinternetnowaspnet mannequin opened this issue Nov 3, 2008 · 3 comments
Closed

Maildir dumpmessage on #48503

marcusinternetnowaspnet mannequin opened this issue Nov 3, 2008 · 3 comments
Labels
stdlib Python modules in the Lib dir

Comments

@marcusinternetnowaspnet
Copy link
Mannequin

marcusinternetnowaspnet mannequin commented Nov 3, 2008

BPO 4253
Nosy @terryjreedy, @akheron

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 2012-08-17.04:34:26.151>
created_at = <Date 2008-11-03.08:18:43.971>
labels = ['invalid', 'library']
title = 'Maildir dumpmessage on'
updated_at = <Date 2012-08-17.04:34:26.080>
user = 'https://bugs.python.org/marcusinternetnowaspnet'

bugs.python.org fields:

activity = <Date 2012-08-17.04:34:26.080>
actor = 'petri.lehtinen'
assignee = 'none'
closed = True
closed_date = <Date 2012-08-17.04:34:26.151>
closer = 'petri.lehtinen'
components = ['Library (Lib)']
creation = <Date 2008-11-03.08:18:43.971>
creator = 'marcus@internetnowasp.net'
dependencies = []
files = []
hgrepos = []
issue_num = 4253
keywords = []
message_count = 3.0
messages = ['75463', '107983', '168431']
nosy_count = 3.0
nosy_names = ['terry.reedy', 'marcus@internetnowasp.net', 'petri.lehtinen']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue4253'
versions = ['Python 2.7']

@marcusinternetnowaspnet
Copy link
Mannequin Author

marcusinternetnowaspnet mannequin commented Nov 3, 2008

When using maildir on windows, the maildir._dump_message erronously
added "\r\n" to "\r\r\n" : in mailbox.py

target.write(buffer.read().replace('\n', os.linesep))

@marcusinternetnowaspnet marcusinternetnowaspnet mannequin added the stdlib Python modules in the Lib dir label Nov 3, 2008
@terryjreedy
Copy link
Member

This report is a bit hard to interpret. In 3.1, the mailbox module has a Maildir class with a private _dump_message method. Since the method is undocumented and not part of the public API, there cannot be a conflict between the doc and behavior ;-).

So you need to show with minimal but complete code, and now, with 2.7 or 3.1, that there is a bug in a public method caused by its use of the private method.

I do not see what the code line has to do with the report.

@akheron
Copy link
Member

akheron commented Aug 17, 2012

No reply in two years, closing.

@akheron akheron closed this as completed Aug 17, 2012
@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
Projects
None yet
Development

No branches or pull requests

2 participants