We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
GitHub fields:
assignee = 'https://github.com/birkenfeld' closed_at = <Date 2008-11-11.21:56:23.496> created_at = <Date 2008-11-11.19:04:01.272> labels = ['docs'] title = 'error in multiprocessing logging docs' updated_at = <Date 2008-11-11.21:56:23.473> user = 'https://bugs.python.org/dursobr'
bugs.python.org fields:
activity = <Date 2008-11-11.21:56:23.473> actor = 'benjamin.peterson' assignee = 'georg.brandl' closed = True closed_date = <Date 2008-11-11.21:56:23.496> closer = 'benjamin.peterson' components = ['Documentation'] creation = <Date 2008-11-11.19:04:01.272> creator = 'dursobr' dependencies = [] files = [] hgrepos = [] issue_num = 4300 keywords = [] message_count = 2.0 messages = ['75755', '75762'] nosy_count = 3.0 nosy_names = ['georg.brandl', 'benjamin.peterson', 'dursobr'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = None status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue4300' versions = ['Python 2.6']
The text was updated successfully, but these errors were encountered:
the 2.6 docs for the multiprocessing module have a minor error in the logging example which causes it to fail:
the documentation says to get the logger with 'multiprocessing.get_logger()' which works
but the example uses 'multiprocessing.getLogger()' which uses the logging package method name and is not valid.
The full example in the docs is:
>>> import multiprocessing, logging >>> logger = multiprocessing.getLogger() >>> logger.setLevel(logging.INFO) >>> logger.warning('doomed') [WARNING/MainProcess] doomed >>> m = multiprocessing.Manager() [INFO/SyncManager-1] child process calling self.run() [INFO/SyncManager-1] manager bound to '\\\\.\\pipe\\pyc-2776-0-lj0tfa' >>> del m [INFO/MainProcess] sending shutdown message to manager [INFO/SyncManager-1] manager exiting with exitcode 0
Sorry, something went wrong.
Thanks for the report! Fixed in r67189.
birkenfeld
No branches or pull requests
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:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: