[issue1152] Bug in documentation for SimpleXMLRPCServer

2007-09-11 Thread Frank Millman
New submission from Frank Millman: I spotted a minor bug in the documentation to SimpleXMLRPCServer. Background: xmlrpclib.py has the following - # This class is available as ServerProxy and Server. New code should # use ServerProxy, to avoid confusion

[issue7688] TypeError: __name__ must be set to a string object

2010-01-12 Thread Frank Millman
New submission from Frank Millman fr...@chagford.com: At the top of my program I have 'from __future__ import unicode_literals'. The relevant lines from my program read - from multiprocessing.managers import BaseManager class MyManager(BaseManager): pass MyManager.register

[issue7571] Change 'name' of Process - assertion failure if Unicode

2009-12-23 Thread Frank Millman
New submission from Frank Millman fr...@chagford.com: At the top of my program, I have 'from __future__ import unicode_literals'. I subclassed Process, and passed name='test' as an argument. I got the following traceback. Traceback (most recent call last): File F:\junk\multiprocess\mp5.py

[issue14720] sqlite3 microseconds

2012-05-04 Thread Frank Millman
New submission from Frank Millman fr...@chagford.com: sqlite3/dbapi2.py contains the following - def convert_timestamp(val): datepart, timepart = val.split(b ) timepart_full = timepart.split(b.) [...] if len(timepart_full) == 2: microseconds

[issue20791] copy.copy(bytes) is slow

2014-02-27 Thread Frank Millman
New submission from Frank Millman: Using copy.copy on a byte string returns a new copy instead of the original immutable object. Using copy.deepcopy returns the original, as expected. Testing with timeit, copy.copy is much slower than copy.deepcopy. import copy a = 'a'*1000 # string

[issue23677] Mention dict and set comps in library reference

2015-03-16 Thread Frank Millman
New submission from Frank Millman: This is from the documentation at Section 4.6.4. Lists Lists may be constructed in several ways: Using a pair of square brackets to denote the empty list: [] Using square brackets, separating items with commas: [a], [a, b, c] Using a list comprehension: [x

[issue23677] Mention dict and set comps in library reference

2015-03-18 Thread Frank Millman
Frank Millman added the comment: Lists and tuples are described like this - class list([iterable]) Lists may be constructed in several ways: [...] class tuple([iterable]) Tuples may be constructed in a number of ways: [...] I think a similar approach to Dicts and Sets could make sense

[issue26294] Queue().unfinished_tasks not in docs - deliberate?

2016-02-05 Thread Frank Millman
New submission from Frank Millman: dir(queue.Queue()) shows an attribute 'unfinished_tasks'. It appears to be the counter referred to in the docs to 'join()', but it is not documented itself. I would like to make use of it, but I don't know if it is part of the official API for this module

[issue26157] Typo in asyncio documentation

2016-01-19 Thread Frank Millman
New submission from Frank Millman: 18.5.1.15. Server close() "The sockets that represent existing incoming client connections are leaved open." I think this should say 'are left open'. -- assignee: docs@python components: Documentation messages: 258599 nosy: d

[issue29062] Documentation link error

2016-12-24 Thread Frank Millman
New submission from Frank Millman: If you call up online documentation for Python3.6, and select modules>h>hashlib, it takes you to 15.2. hashlib — BLAKE2 hash functions It should take you to 15.1. hashlib — Secure hashes and message digests -- assignee: docs@python comp

[issue35007] Minor change to weakref docs

2018-10-16 Thread Frank Millman
New submission from Frank Millman : weakref.WeakKeyDictionary.keyrefs() - The documentation says 'Return an iterable of the weak references to the keys'. I was not sure if this would expose me to the 'dictionary changed size while iterating' error, so I checked the source. The source shows