[issue13403] Option for XMLPRC Server to support HTTPS

2011-11-14 Thread Raymond Hettinger
New submission from Raymond Hettinger : The xmlrpc.client module supports secure transport using https; however, the xmlrpc.server does not have an https option. Adding this support isn't difficult. Here's an example of how to it could be implemented: http://code.activestate.c

[issue13404] Add support for system.methodSignature() to XMLRPC Server

2011-11-14 Thread Raymond Hettinger
New submission from Raymond Hettinger : Currently, the server has a stub method that returns: 'signatures not supported'. Using the inspect module, it shouldn't be difficult to provide function/method signatures for over-the-wire introspection. -- components: Library

[issue13396] new method random.getrandbytes()

2011-11-14 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> low ___ Python tracker <http://bugs.python.org/issue13396> ___ ___ Python-bugs-list mailing list Unsubscri

[issue13391] string.strip Does Not Remove Zero-Width-Space (ZWSP)

2011-11-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: I would also object to the feature creep. -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue13

[issue13238] Add shell command helpers to subprocess module

2011-11-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: I like Nick's original idea for a handful of convenience functions but want to caution against adding a bunch of tools that start guessing at what you want. Adding automatic wildcard expansion, shell quoting/splitting and whatnot can make the module

[issue13451] sched.py: speedup cancel() method

2011-11-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: Can you post your other patch too? I would like to review both at the same time. -- assignee: -> rhettinger components: +Library (Lib) priority: normal -> low type: -> performance ___ Python track

[issue13481] Use an accurate clock in timeit

2011-11-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: I think this should be rejected. -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue13481> ___ ___ Pytho

[issue13496] bisect module: Overflow at index computation

2011-11-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: This looks like a reasonable suggestion. -- assignee: -> rhettinger priority: normal -> low ___ Python tracker <http://bugs.python.org/i

[issue5654] Add C hook in PyDict_SetItem for debuggers

2011-11-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: Can this be closed? -- ___ Python tracker <http://bugs.python.org/issue5654> ___ ___ Python-bugs-list mailing list Unsub

[issue3573] IDLE hangs when passing invalid command line args (directory(ies) instead of file(s))

2011-11-29 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> high ___ Python tracker <http://bugs.python.org/issue3573> ___ ___ Python-bugs-list mailing list Unsubscri

[issue13496] bisect module: Overflow at index computation

2011-11-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: The fix is trivial. I'll do it soonish. -- priority: low -> normal ___ Python tracker <http://bugs.python.org

[issue12919] Control what module is imported first

2011-11-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: I concur with Antoine. -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue12919> ___ ___ Python-bugs-list m

[issue13489] collections.Counter doc does not list added version

2011-11-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, the version added is also prominently shown at the top of the page: http://docs.python.org/library/collections.html#module-collections I don't think the CSS should be changed or that versionadded should become more prominent -- this is usually o

[issue7652] Merge C version of decimal into py3k.

2011-11-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: We've been wanting this for a long time. Strong +1 from me. -- ___ Python tracker <http://bugs.python.org/i

[issue13515] Consistent documentation practices for security concerns and considerations

2011-12-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Also consider writing a security howto guide so that the docs don't become littered with warnings. -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/is

[issue13521] Make dict.setdefault() atomic

2011-12-02 Thread Raymond Hettinger
New submission from Raymond Hettinger : A dialog on python-dev suggests that dict.setdefault() was intended to be atomic and that a number of experienced developers have deployed code relying on its atomicity: http://mail.python.org/pipermail/python-3000/2007-July/008693.html The actual

[issue13521] Make dict.setdefault() atomic

2011-12-02 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker <http://bugs.python.org/issue13521> ___ ___ Python-bugs-list mailing list Un

[issue13573] csv.writer uses str() for floats instead of repr()

2011-12-10 Thread Raymond Hettinger
New submission from Raymond Hettinger : The csv.writer needs a special case for floats to print them to full precision. See http://stackoverflow.com/a/8455313/1001643 In Py2.7, the csv.writer converts floats to strings using str(). This will store 1323494016.8556759 as '1323494016.86

[issue13575] old style classes still alive

2011-12-10 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: low -> normal ___ Python tracker <http://bugs.python.org/issue13575> ___ ___ Python-bugs-list mailing list Unsubscri

[issue11822] Improve disassembly to show embedded code objects

2011-12-10 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thank you :-) -- ___ Python tracker <http://bugs.python.org/issue11822> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13585] Add contextlib.CleanupManager

2011-12-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: I would like to see this posted as a recipe before being put in the standard library. It needs a chance to mature and to demonstrate that people will want to use it. FWIW, the example is problematic in a couple of ways. The registration of

[issue13585] Add contextlib.CleanupManager

2011-12-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: ''' Example code: with CleanupManager() als mngr: tmpdir = tempfile.mkdtemp() mngr.register(shutil.rmtree(tmpdir)) <-- this makes the call right away # do stuff with tmpdir ''' The part of my note that should b

[issue11468] Improve unittest basic example in the doc

2011-12-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'll be updating this example shortly, but it is intentional that it include only assertEqual, assertTrue, and assertRaises. Those three are the minimum necessary to get up and running (which is the whole point of the BASIC example). -- ass

[issue13521] Make dict.setdefault() atomic

2011-12-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: Let's just start with a working 2.7 patch and go from there. -- ___ Python tracker <http://bugs.python.org/is

[issue11468] Improve unittest basic example in the doc

2011-12-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: Ezio, please leave this one for me. -- ___ Python tracker <http://bugs.python.org/issue11468> ___ ___ Python-bugs-list mailin

[issue13585] Add contextlib.CleanupManager

2011-12-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: I think you guys need to post your code somewhere (perhaps on PyPi or the ASPN Cookbook). It needs to mature beyond the stage of "I just whipped-up this code and think it would be great if everybody used it". I've seen nothing like thi

[issue13585] Add contextlib.CleanupManager

2011-12-12 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger resolution: -> later ___ Python tracker <http://bugs.python.org/issue13585> ___ ___ Python-bugs-

[issue13521] Make dict.setdefault() atomic

2011-12-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks, I'll look at it over the next few days. -- ___ Python tracker <http://bugs.python.org/issue13521> ___ ___ Pytho

[issue13585] Add contextlib.CleanupManager

2011-12-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks Nick. You're awesome. -- ___ Python tracker <http://bugs.python.org/issue13585> ___ ___ Python-bugs-list m

[issue13592] repr(regex) doesn't include actual regex

2011-12-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: ISTM that .pattern is the one way to do it. -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue13

[issue13592] repr(regex) doesn't include actual regex

2011-12-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: If you change the repr, it should at least eval-able, so be sure to capture the flags and whatnot. -- ___ Python tracker <http://bugs.python.org/issue13

[issue13603] Add prime-related and number theory functions to Python

2011-12-15 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> rejected status: languishing -> closed ___ Python tracker <http://bugs.python.org/issue13603> ___ ___ Pyth

[issue13573] csv.writer uses str() for floats instead of repr()

2011-12-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: The code is fixed. Am leaving this open until I have a chance to see if anything in the docs need to be updated. -- ___ Python tracker <http://bugs.python.org/issue13

[issue13610] On Python parsing numbers.

2011-12-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: -1 I'm with Mark, Georg, and Benjamin on this one. -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/is

[issue13585] Add contextlib.ContextStack

2011-12-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: "I put my version up as a cookbook recipe: http://code.activestate.com/recipes/577981-cleanupmanager-for-with-statements/"; One other idea is to model what I've done with the itertools docs by adding a recipe section. I used it as a

[issue13592] repr(regex) doesn't include actual regex

2011-12-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: "I don't see how eval()able repr is a big deal. Most reprs aren't, ..." Sometimes, I wonder if we're even talking about the same programming language. Historically, a good deal of effort has gone into creating evalable rep

[issue13653] reorder set.intersection parameters for better performance

2011-12-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks guys. I'll look at this in detail when I get a chance. Offhand, it seems like a good idea though it may rarely be of benefit. The only downsides I see are that it overrides the user's ability to specify the application order and that i

[issue7098] g formatting for decimal types should always strip trailing zeros.

2011-12-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: I would like to think about this one for a bit before it moves forward. -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue7

[issue6028] Interpreter aborts when chaining an infinite number of exceptions

2011-12-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, I concur with Antoine on this one. -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue6028> ___ ___

[issue13346] re.split() should behave like string.split() for maxsplit=0 and maxsplit=-1

2011-12-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: I concur with closing this one. -- ___ Python tracker <http://bugs.python.org/issue13346> ___ ___ Python-bugs-list mailin

[issue13667] __contains__ method behavior

2011-12-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: -1 on this proposal. It has everyone paying a price for a questionable feature that would benefit very few. -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue13

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-01-03 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker <http://bugs.python.org/issue13701> ___ ___ Python-bugs-list mailing list Un

[issue13704] Random number generator in Python core

2012-01-03 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: christian.heimes -> rhettinger nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue13704> ___ ___ Py

[issue13707] Clarify hash() constancy period

2012-01-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: -1 I concur with Martin. -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue13707> ___ ___ Python-bug

[issue13704] Random number generator in Python core

2012-01-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: Why is this listed as a release blocker? It is questionable whether it should be done at all? It is a very aggressive change. -- ___ Python tracker <http://bugs.python.org/issue13

[issue13704] Random number generator in Python core

2012-01-04 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: rhettinger -> christian.heimes ___ Python tracker <http://bugs.python.org/issue13704> ___ ___ Python-bugs-list mai

[issue13707] Clarify hash() constancy period

2012-01-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: [Antoine] > Suggest closing as invalid/rajected. [Martin] > -1. The hash has nothing to do with the lifetime, > but with the value of an object. -- resolution: -> invalid status: open -> closed ___

[issue13701] Remove Decimal Python 2.3 Compatibility

2012-01-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: Mark, do you think the C version of decimal is going to happen for 3.3? If so, it make little sense to make any changes at all the current version of the pure python code. Another advantage to leaving the pure python code alone is that it will make

[issue13731] Awkward phrasing in Decimal documentation

2012-01-07 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue13731> ___ ___ Python-

[issue13731] Awkward phrasing in Decimal documentation

2012-01-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm sorry but I think the current wording is better that your proposed revision. When I get a chance, I'll revisit it to see if I can find another way to improve the text. -- priority: normal -> low _

[issue13731] Awkward phrasing in Decimal documentation

2012-01-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: If you can't ascertain the meaning of the sentence, I'll consider making a change. Itherwise, this appears to have degenerated into trivial micro-wordsmithing and I'll close this as not being worth consuming any m

[issue13731] Awkward phrasing in Decimal documentation

2012-01-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: No problem. Thanks for showing an interest in the quality of the documentation. -- resolution: -> rejected status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue13050] RLock support the context manager protocol but this is not documented

2012-01-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: This edit looks reasonable. -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue13050> ___ ___ Python-bug

[issue13742] Add a key parameter (like sorted) to heapq.merge

2012-01-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Simon, please keep the original version fast by creating two code paths: if key is None: original_code else: new_code using the key_function -- priority: normal -> low ___ Python tracker &l

[issue13750] queue broken when built without-thread

2012-01-09 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker <http://bugs.python.org/issue13750> ___ ___ Python-bugs-list mailing list Un

[issue13750] queue broken when built without-thread

2012-01-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Fixed in changeset 32eae3c48631. Thanks for the report. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue13755] str.endswith and str.startswith do not take lists of strings

2012-01-10 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue13755> ___ ___ Python-bugs-

[issue12146] Possible bug in 're' documentation example

2011-05-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: I wrote the recipe and wanted to follow any actions related to it. -- ___ Python tracker <http://bugs.python.org/issue12

[issue12155] queue example doesn't stop worker threads

2011-05-23 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger ___ Python tracker <http://bugs.python.org/issue12155> ___ ___ Python-bugs-list mai

[issue12155] queue example doesn't stop worker threads

2011-05-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: > It doesn't define do_work(), num_worker_threads or do_work() Is it unclear to you what those mean? They are placeholders for the user's actual task at hand. > my concern is that it doesn't stop worker threads. Stopping the threads

[issue11889] 'enumerate' 'start' parameter documentation is confusing

2011-05-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> low ___ Python tracker <http://bugs.python.org/issue11889> ___ ___ Python-bugs-list mailing list Unsubscri

[issue12165] Does nonlocal include global?

2011-05-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Lukas, I'll fix-up the docs. Thanks for pointing out the deficiency. -- assignee: -> rhettinger components: +Documentation -Interpreter Core nosy: +rhettinger versions: +Python 3.3 ___ Python tracke

[issue12170] Bytes.index() and bytes.count() should accept byte ints

2011-05-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue12170> ___ ___ Python-bugs-list mai

[issue12042] What's New multiprocessing example error

2011-05-26 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue12042> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12192] Doc that collection mutation methods return item or None

2011-05-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 on the doc suggestions -1 on any hope that casual users will have read or remembered them. ISTM that a common theme among the post of people getting tripped-up by this is that they aren't doing more than a quick skim of the docs a

[issue12195] Little documentation of annotations

2011-05-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: We could beef this up a little bit, but it was intentional that we leave it completely open on how to use it. -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker <http://bugs.pyth

[issue12185] Decimal documentation lists "first" and "second" arguments, should be "self" and "other"

2011-05-28 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue12185> ___ ___ Python-

[issue12134] json.dump much slower than dumps

2011-05-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: Please don't add notes of this sort to the docs. -- assignee: docs@python -> rhettinger ___ Python tracker <http://bugs.python.org

[issue12233] Lists in class objects not independent

2011-05-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: Sorry, that is correct behavior for class variables. To get your intended effect (independent lists) do the list instantiation inside the __init__ method. -- nosy: +rhettinger resolution: -> invalid status: open ->

[issue5384] mmap and exception type

2011-06-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: It is uncomfortable changing exception types have been a published API for over a decade, so I'll leave this one open for a bit so that others can comment. Most of the changes in the patch are correct and match their counterparts for lists and st

[issue12245] Document the meaning of FLT_ROUNDS constants for sys.float_info

2011-06-02 Thread Raymond Hettinger
New submission from Raymond Hettinger : >>> sys.float_info.rounds 1 -- assignee: docs@python components: Documentation messages: 137493 nosy: docs@python, rhettinger priority: normal severity: normal status: open title: Document the meaning of FLT_ROUNDS constants for sys.f

[issue12248] __dir__ semantics changed in Python 2.7.2

2011-06-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I don't believe there is any reason to have tightened up > the type constraints while fixing that - dir() should be > returning sorted(obj.__dir__()) and not caring about the > exact return type of the magic method. +1 --

[issue12185] Decimal documentation lists "first" and "second" arguments, should be "self" and "other"

2011-06-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm not sure this improves the docs. Will give it more thought and thorough review at a later date. Also, I will compare it to the "docstrings" in the spec itself. -- priority: normal -> low

[issue12248] __dir__ semantics changed in Python 2.7.2

2011-06-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: I believe the type check was gratuitous to begin with and should be removed. There's no reason the result has to be a list. -- ___ Python tracker <http://bugs.python.org/is

[issue12248] __dir__ semantics changed in Python 2.7.2

2011-06-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: Can sorted() be used instead? -- ___ Python tracker <http://bugs.python.org/issue12248> ___ ___ Python-bugs-list mailin

[issue12248] __dir__ semantics changed in Python 2.7.2

2011-06-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: or something like: result = obj.__dir__() if not isinstance(result, list): result = list(result) result.sort() return result -- ___ Python tracker <http://bugs.python.org/issue12

[issue12248] __dir__ semantics changed in Python 2.7.2

2011-06-04 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- keywords: +patch Added file: http://bugs.python.org/file22246/dir.patch ___ Python tracker <http://bugs.python.org/issue12

[issue12164] str.translate docstring doesn't mention that 'table' can be None

2011-06-04 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> accepted ___ Python tracker <http://bugs.python.org/issue12164> ___ ___ Python-bugs-list mailing list Un

[issue11802] filecmp.cmp needs a documented way to clear cache

2011-06-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: Nadeem, I want to review this but won't have a chance to do it right away. Offhand, it seems like we could use the existing functools.lru_cache() for this if the stats were included as part of the key: cache[f1, f2, s1, s2]=outcome. Also, I want to

[issue11802] filecmp.cmp needs a documented way to clear cache

2011-06-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: We will do something. The next release isn't for a while, so there is time to put thought into it rather than making an immediate check-in. -- ___ Python tracker <http://bugs.python.org/is

[issue11549] Build-out an AST optimizer, moving some functionality out of the peephole optimizer

2011-06-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: Updated the title to reflect that the peephole optimizer will likely continue to exist but in a much simpler form. Some complex peephole optimization such as constant folding can be handled more easily and more robustly at the AST level. Other minor

[issue12248] __dir__ semantics changed in Python 2.7.2

2011-06-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: My preference is to remove the type check. It hasn't and won't serve a useful purpose so there's no reason to freeze it into the API and have it live on. That being said, it probably doesn't matter one bit how this r

[issue12318] list + tuple inconsistency

2011-06-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: Yes, this is the expected behavior and yes, it is inconsistent. It's been that way for a long while and Guido said he wouldn't do it again (it's in his list of regrets). However, we're not going to break code by changing it (list._

[issue1711800] SequenceMatcher bug with insert/delete block after "replace"

2011-06-15 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue1711800> ___ ___ Python-bugs-list mailing list Un

[issue12345] Add math.tau

2011-06-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: -1 -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue12345> ___ ___ Python-bugs-list mailing list Unsub

[issue12384] difflib.SequenceMatcher and Match: code and doc bugs

2011-06-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'll take a look at this when I get a chance (est. two weeks). -- ___ Python tracker <http://bugs.python.org/is

[issue7434] general pprint rewrite

2011-06-22 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +aronacher ___ Python tracker <http://bugs.python.org/issue7434> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7434] general pprint rewrite

2011-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Link to Armin's work on a pprint improvement based on a Ruby pprint tool: https://github.com/mitsuhiko/prettyprint -- ___ Python tracker <http://bugs.python.org/i

[issue10326] Can't pickle unittest.TestCase instances

2011-06-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue10326> ___ ___ Python-bugs-

[issue11163] iter() documentation code doesn't work

2011-06-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue11163> ___ ___ Python-bugs-

[issue11889] 'enumerate' 'start' parameter documentation is confusing

2011-06-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue11889> ___ ___ Python-bugs-

[issue11758] increase xml.dom.minidom test coverage

2011-06-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/issue11758> ___ ___ Python-bugs-

[issue12086] Tutorial doesn't discourage name mangling

2011-06-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Added an example of how to use double underscores correctly. I agree with Ezio that the rest of the documentation is clear on the subject. -- resolution: -> rejected status: open -> closed ___ Python t

[issue11802] filecmp.cmp needs a documented way to clear cache

2011-06-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Made a simple fix to keep the cache from growing without bound. Leaving this open for 3.3 as a feature request to implement a more sophisticated strategy using file hashes or somesuch. -- ___ Python tracker

[issue4608] urllib.request.urlopen does not return an iterable object

2011-06-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: flox -> rhettinger nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue4608> ___ ___ Python-bugs-lis

[issue12409] Moving "Documenting Python" to Devguide

2011-06-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: I agree with Fred. -- nosy: +rhettinger resolution: -> rejected status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue11802] filecmp.cmp needs a documented way to clear cache

2011-06-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: After more thought, will just close this report. If a new project emerges to improve the design of filecmp, it can be done in a separate tracker entry. -- resolution: later -> fixed status: open ->

[issue4608] urllib.request.urlopen does not return an iterable object

2011-06-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the patch. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue4608> ___ ___ Python-

[issue8890] Use tempfile instead of /tmp in examples

2011-06-26 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue8890> ___ ___ Python-bugs-list mailing list Unsubscri

[issue12384] difflib.SequenceMatcher and Match: code and doc bugs

2011-06-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Go head an patch the first self.matching_blocks to also return a named tuple. Also, correct any doctests or examples using these. The docs could also mention that list of namedtuples with fields a, b, and size is returned by get_matching_blocks

<    1   2   3   4   5   6   7   8   9   10   >