[issue9382] os.popen referenced but not documented in Python 3.x

2010-07-25 Thread Chris Rebert
New submission from Chris Rebert : http://docs.python.org/py3k/library/os.html currently mentions os.popen() in several places. The docs for os.popen() itself say: 'These functions are described in section "File Object Creation"' However, unlike the 2.x version of

[issue7950] subprocess.Popen documentation should contain a good warning about the security implications when using shell=True

2010-07-25 Thread Chris Rebert
Changes by Chris Rebert : Added file: http://bugs.python.org/file18209/subprocess.rst.diff ___ Python tracker <http://bugs.python.org/issue7950> ___ ___ Python-bugs-list m

[issue7950] subprocess.Popen documentation should contain a good warning about the security implications when using shell=True

2010-07-25 Thread Chris Rebert
Chris Rebert added the comment: My apologies for the extra email... -- Added file: http://bugs.python.org/file18210/subprocess.rst.diff ___ Python tracker <http://bugs.python.org/issue7

[issue7950] subprocess.Popen documentation should contain a good warning about the security implications when using shell=True

2010-07-25 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file18209/subprocess.rst.diff ___ Python tracker <http://bugs.python.org/issue7950> ___ ___ Python-bug

[issue9404] IDLE won't launch on XP

2010-07-28 Thread Chris Leaf
New submission from Chris Leaf : I have been using IDLE on my previous laptop and it was working well although I have to say I'm still very new to python. I've read around about the issue and can't find any solution I can use. I can run the IDLE GUI through the python command

[issue9404] IDLE won't launch on XP

2010-07-28 Thread Chris Leaf
Chris Leaf added the comment: Also the IDLE that I do manage to get open really doesn't work correctly, more errors appear on the command line console as I try to do things like close the IDLE window. So that doesn't serve as a useful t

[issue9404] IDLE won't launch on XP

2010-07-28 Thread Chris Leaf
Chris Leaf added the comment: I can clear the attributes from the properties window of the folder but if I remove them both it will automatically reset it back to Read Only every time i close the properties window. I can get it to be hidden but I can't make it permanently avai

[issue9404] IDLE won't launch on XP

2010-07-28 Thread Chris Leaf
Chris Leaf added the comment: The hidden field is not filled in, here's a screenshot of the attributes options -- Added file: http://bugs.python.org/file18240/Attributes.JPG ___ Python tracker <http://bugs.python.org/i

[issue9404] IDLE won't launch on XP

2010-07-28 Thread Chris Leaf
Chris Leaf added the comment: Upon trying to delete I'm prompted with an error: Access is denied. Make sure the disc is not full or write-protected and that the file is currently not in use. My disc isn't full and I cannot find anything accessing it (and the folder is empty

[issue9404] IDLE won't launch on XP

2010-07-28 Thread Chris Leaf
Chris Leaf added the comment: I also cannot get into the folder itself. "Access Denied" -- ___ Python tracker <http://bugs.python.org/issue9404> ___ ___

[issue9404] IDLE won't launch on XP

2010-07-28 Thread Chris Leaf
Chris Leaf added the comment: The problem is that I can do nothing to the folder at all -- ___ Python tracker <http://bugs.python.org/issue9404> ___ ___ Pytho

[issue9404] IDLE won't launch on XP

2010-07-29 Thread Chris Leaf
Chris Leaf added the comment: Sorry but I still cannot get it to work because the folder remains inaccessible to me and immutable. Is there any way around this problem? -- ___ Python tracker <http://bugs.python.org/issue9

[issue9404] IDLE won't launch on XP

2010-07-29 Thread Chris Leaf
Chris Leaf added the comment: I solved the problem myself by editing the EditorWindow.py file where it sets self.recent_files_path by setting it to a different file location (I created a file in my Python31 directory named recent-files.lst and then set the recent_files_path to the absolute

[issue5612] whitespace folding in the email package could be better ; -)

2010-08-07 Thread Chris Withers
Chris Withers added the comment: What's email6 and where can I find out more about it? Chris -- ___ Python tracker <http://bugs.python.org/issue5612> ___ ___

[issue9559] mailbox.mbox creates new file when adding message to mbox

2010-08-10 Thread Chris Green
New submission from Chris Green : When you call mailbox.mbox.add() the old mbox file is copied, the new file is modified and then renamed to the name of the'old' mbox file. This breaks the way that many MUAs detect and manage new mail in an mbox, in particular I discovered this with

[issue29134] contextlib doc bug

2017-01-02 Thread Chris Warrick
Changes by Chris Warrick : -- nosy: +Kwpolska ___ Python tracker <http://bugs.python.org/issue29134> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27198] Adding an assertClose() method to unittest.TestCase

2016-06-03 Thread Chris Barker
New submission from Chris Barker: In py3.5, the math.isclose() function was added to the standard library. It can be used to compare floating point numbers to see if they are close to each other, rather than exactly equal. It's not a lot of code, but there are nuances that not every p

[issue27198] Adding an assertClose() method to unittest.TestCase

2016-06-03 Thread Chris Barker
Chris Barker added the comment: Thanks, I'll add the equation to the docstring and docs. As for adding a rel_tol to assertAlmostEqual -- I think that's a bad idea -- it's a pretty different concept -- overloading the same method would be more confusing than anything el

[issue27198] Adding an assertClose() method to unittest.TestCase

2016-06-03 Thread Chris Barker
Chris Barker added the comment: updated patch with the equation in the docs. -- Added file: http://bugs.python.org/file43165/assertClose.patch ___ Python tracker <http://bugs.python.org/issue27

[issue27198] Adding an assertClose() method to unittest.TestCase

2016-06-03 Thread Chris Barker
Chris Barker added the comment: I'm not sure it's confusing --what would "close" mean for an assertion for a file? "assertClosed" would be confusing -- and an even more trivial assert :-). But we can bikeshed the name if we decide to put this in. ""&quo

[issue27198] Adding an assertClose() method to unittest.TestCase

2016-06-03 Thread Chris Barker
Chris Barker added the comment: thanks, that's Issue27152 if anyone's curious. Though I have no idea why you'd want it in a mixin, rather than just there. But sure, this could be "bundled" in with that. Perhaps it's time for a broader discussion / consensus abo

[issue27152] Additional assert methods for unittest

2016-06-03 Thread Chris Barker
Chris Barker added the comment: Why a mixin rather than adding to TestCase? If they are useful they should be easy to find. Also, see Issue27198 for another possible new assert. -- nosy: +ChrisBarker ___ Python tracker <http://bugs.python.

[issue27198] Adding an assertClose() method to unittest.TestCase

2016-06-03 Thread Chris Barker
Chris Barker added the comment: Would that make folks more amenable to adding more "specialized" asserts? If so, then sure. I don't know that it takes a PEP (I hope not) but it would be good to have some guidance as to the direction we want unittest to take written

[issue27198] Adding an assertClose() method to unittest.TestCase

2016-06-03 Thread Chris Barker
Chris Barker added the comment: """w.r.t. error messages, a regular function that raises AssertionError with a nice message will be precisely as usable.""" sure -- I totally agree -- but that's not the current unittest API :-( where would you put it? How w

[issue27198] Adding an assertClose() method to unittest.TestCase

2016-06-05 Thread Chris Barker
Chris Barker added the comment: Thanks Raymond. Damn! I wrote a nice comprehensive note, and my browser lost it somehow :-(. Here's a shorter version: "FWIW, I find assertClose easy to misinterpret. At first, it looks like an assertion that a file is closed." sure -- we can

[issue27244] print(';;') fails in pdb with SyntaxError

2016-06-06 Thread Chris Withers
New submission from Chris Withers: This doesn't seem right: (Pdb) ';;' *** SyntaxError: EOL while scanning string literal *** SyntaxError: EOL while scanning string literal (Pdb) p ';;' *** SyntaxError: EOL while scanning string literal *** SyntaxError: EOL while sca

[issue23670] Modifications to support iOS as a cross-compilation target

2016-06-07 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue23670> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23496] Steps for Android Native Build of Python 3.4.2

2016-06-07 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue23496> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27198] Adding an assertClose() method to unittest.TestCase

2016-06-21 Thread Chris Barker
Chris Barker added the comment: Did my comments not get posted, or are they not being read? Anyway: Could we keep the issues separate here? 1) If you don't like the name, propose another name -- no none has defended this name since an objection was first raised. I"m sure we can fin

[issue27198] Adding an assertClose() method to unittest.TestCase

2016-06-24 Thread Chris Barker
Chris Barker added the comment: Thanks Robert. I'll try to find time to re-do the patch soon. There was enough resistance to the whole idea that I wanted some confirmation that is was worth my time to do that! Stay tuned. -- ___ Python tr

[issue23085] update internal libffi copy to 3.2.1

2016-07-06 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Are there any issue *we* have with libffi which an update to 3.2.1 would > solve ? There are these Ubuntu-specific compiler warnings: https://bugs.python.org/issue25077 which Berker says have been fixed in upstream libffi: https://bugs.pyth

[issue25077] Compiler warnings: initialization from incompatible pointer type

2016-07-06 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +chris.jerdonek ___ Python tracker <http://bugs.python.org/issue25077> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27582] Mispositioned SyntaxError caret for unknown code points

2016-07-21 Thread Chris Angelico
Changes by Chris Angelico : -- nosy: +Rosuav ___ Python tracker <http://bugs.python.org/issue27582> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27582] Mispositioned SyntaxError caret for unknown code points

2016-07-21 Thread Chris Angelico
Chris Angelico added the comment: The question was raised that there might be a problem with (UTF-8) bytes vs characters, but that's definitely not it - pythonrun.c:1362 UTF-8-decodes the line of source and then gets its character length to use as the new offset. So I don't think

[issue27582] Mispositioned SyntaxError caret for unknown code points

2016-07-21 Thread Chris Angelico
Chris Angelico added the comment: Actually pinpointing the invalid character may be impractical, as there are two boolean situations: either a UnicodeDecodeError (because you had an invalid UTF-8 stream), or PyUnicode_IsIdentifier returns false. Either way, it applies to the whole identifier

[issue27582] Mispositioned SyntaxError caret for unknown code points

2016-07-21 Thread Chris Angelico
Changes by Chris Angelico : Added file: http://bugs.python.org/file43812/method2-change-cur-and-inp.patch ___ Python tracker <http://bugs.python.org/issue27582> ___ ___

[issue27582] Mispositioned SyntaxError caret for unknown code points

2016-07-21 Thread Chris Angelico
Changes by Chris Angelico : Added file: http://bugs.python.org/file43814/method4-change-all-errors-if-possible.patch ___ Python tracker <http://bugs.python.org/issue27

[issue27582] Mispositioned SyntaxError caret for unknown code points

2016-07-21 Thread Chris Angelico
Changes by Chris Angelico : Added file: http://bugs.python.org/file43813/method3-change-all-errors.patch ___ Python tracker <http://bugs.python.org/issue27582> ___ ___

[issue27582] Mispositioned SyntaxError caret for unknown code points

2016-07-21 Thread Chris Angelico
Chris Angelico added the comment: BTW, here's how a session looks using method 4's change: >>> varname = asdf“d“a”t”apoint File "", line 1 varname = asdf“d“a”t”apoint ^ SyntaxError: invalid character in identifier >>> varname = asdf“d

[issue27582] Mispositioned SyntaxError caret for unknown code points

2016-07-21 Thread Chris Angelico
Chris Angelico added the comment: Hmm, that'd be curious. The code to do that is actually pretty simple - see attached patch - but actually using that to affect error messages is a bit harder. Is it safe to mess with tok->start? -- Added file: http://bugs.python.org/file438

[issue27582] Mispositioned SyntaxError caret for unknown code points

2016-07-21 Thread Chris Angelico
Chris Angelico added the comment: Attached is a combined patch that has the new private function for IsIdentifier, method 4's error handling change, and a bit of glue in the middle to make use of it. The result is a passing test suite (bar test_site which was already failing on my system

[issue27591] multiprocessing: Possible uninitialized pointer use in Windows builds

2016-07-22 Thread Chris Angelico
New submission from Chris Angelico: Originally reported (if you can call it "reported") here: http://www.viva64.com/en/b/0414/ AFAICT, this is an easy and inconsequential fix. -- files: uninitialized-pointer.patch keywords: patch messages: 270991 nosy: Rosuav priority: norma

[issue27591] multiprocessing: Possible uninitialized pointer use in Windows builds

2016-07-22 Thread Chris Angelico
Chris Angelico added the comment: Berker, I don't push code to CPython (I have the commitbit for PEP editing), so do you want to push that? -- ___ Python tracker <http://bugs.python.org/is

[issue27591] multiprocessing: Possible uninitialized pointer use in Windows builds

2016-07-22 Thread Chris Angelico
Chris Angelico added the comment: Cool cool! Then someone will need to notify the PVS-Studio people that we've fixed the two bugs that are actually our bugs :) -- ___ Python tracker <http://bugs.python.org/is

[issue27561] Warn against subclassing builtins, and overriding their methods

2016-07-22 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue27561> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27587] Issues, reported by PVS-Studio static analyzer

2016-07-22 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue27587> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27587] Issues, reported by PVS-Studio static analyzer

2016-07-23 Thread Chris Angelico
Changes by Chris Angelico : -- nosy: +Rosuav ___ Python tracker <http://bugs.python.org/issue27587> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25170] 3.4.4, 3.4.5, 3.5.0, 3.5.1, 3.5.2 documentation archives missing

2016-07-24 Thread Chris Mayo
Changes by Chris Mayo : -- nosy: +cjmayo ___ Python tracker <http://bugs.python.org/issue25170> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27226] distutils: unable to compile both .opt-1.pyc and .opt2.pyc simultaneously

2016-07-24 Thread Chris Mayo
Changes by Chris Mayo : -- nosy: +cjmayo ___ Python tracker <http://bugs.python.org/issue27226> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27713] Spurious "platform dependent libraries" warnings when running make

2016-08-08 Thread Chris Jerdonek
New submission from Chris Jerdonek: When installing Python 3.5.2 from source on Ubuntu 14.04 and running make, I get the below "Could not find platform dependent libraries" warnings (which I prefixed with "***" for better visibility). >From this message which has more bac

[issue27080] Implement the formatting part of PEP 515, '_' in numeric literals.

2016-08-19 Thread Chris Angelico
Chris Angelico added the comment: Here's a first-cut patch. No docs, no tests, and applies only to decimal formatting. It involves redefining the thousands_separators flag from being a boolean to being a three-state flag (none, comma, or underscore), and (ab)uses LT_*_LOCALE to carry

[issue27080] Implement the formatting part of PEP 515, '_' in numeric literals.

2016-08-19 Thread Chris Angelico
Changes by Chris Angelico : -- nosy: +Rosuav ___ Python tracker <http://bugs.python.org/issue27080> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27080] Implement the formatting part of PEP 515, '_' in numeric literals.

2016-08-19 Thread Chris Angelico
Chris Angelico added the comment: Hmm, adding bin/oct/hex support didn't turn out that hard. Although it feels like this code is getting hackish. Definitely needs code review! -- Added file: http://bugs.python.org/file44153/underscores_all_bases.

[issue27080] Implement the formatting part of PEP 515, '_' in numeric literals.

2016-08-19 Thread Chris Angelico
Chris Angelico added the comment: Hmm, strange. Comma formatting never seems to have had tests added. So I've added a couple of simple tests of comma formatting at the same time as adding underscore formatting tests. Also, test_long.py currently has a comment "# octal" prece

[issue27126] Apple-supplied libsqlite3 on OS X is not fork safe; can cause crashes

2016-08-19 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +chris.jerdonek ___ Python tracker <http://bugs.python.org/issue27126> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27126] Apple-supplied libsqlite3 on OS X is not fork safe; can cause crashes

2016-08-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: FWIW, I just came across an issue in Django's test suite that I believe is caused by the issue reported here. Some of Django's unit tests were hanging for me when run in "parallel" mode (which uses multiprocessing). Here is the ticket

[issue27807] Prevent site-packages .pth files from causing test_site failure

2016-08-19 Thread Chris Angelico
Changes by Chris Angelico : -- keywords: +patch Added file: http://bugs.python.org/file44158/no-site-packages-in-test.patch ___ Python tracker <http://bugs.python.org/issue27

[issue27807] Prevent site-packages .pth files from causing test_site failure

2016-08-19 Thread Chris Angelico
New submission from Chris Angelico: Having matplotlib installed globally causes test_site to fail, due to the .pth file importing types. The point of the test is to monitor startup dependencies (and thus time) for the core interpreter and standard library, not third-party libraries, so having

[issue27126] Apple-supplied libsqlite3 on OS X is not fork safe; can cause crashes

2016-08-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: > We can't solve that problem; only Apple can; > So, if we don't change _scproxy or urllib*'s use of it, only Apple can fix > the problem. In the Django ticket I mentioned in my comment above, one of the commenters said, "Just r

[issue27836] VCRUNTIME140.DLL not found

2016-08-23 Thread Chris Wood
New submission from Chris Wood: Windows 7 / 64-bit / 4 Gb Ram / Intel i5 processor. This seems to have been discussed intermittently in the past, but none of the previous answers fixed my problem. I installed 3.5, and when I tried running it (both from the Windows cmd line and from the

[issue27836] VCRUNTIME140.DLL not found

2016-08-23 Thread Chris Wood
Chris Wood added the comment: https://www.python.org/downloads/ -- ___ Python tracker <http://bugs.python.org/issue27836> ___ ___ Python-bugs-list mailin

[issue27836] VCRUNTIME140.DLL not found

2016-08-23 Thread Chris Wood
Chris Wood added the comment: Apologies, there are typos in my final paragraph - 3.5.11 should just be 3.5, and 3.5.12 should be 3.5.2 -- ___ Python tracker <http://bugs.python.org/issue27

[issue27836] VCRUNTIME140.DLL not found

2016-08-23 Thread Chris Wood
Chris Wood added the comment: Ah, in that case: - I guess the issue would have been that the python 3.5 installation I tried (which was 3.5.0a1) had the vcruntime140.dll issue - I've realised that the 3.5* installation puts Python on the beginning of the PATH - whereas I was puttin

[issue16278] os.rename documentation slightly inaccurate

2013-02-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: I commented above that the tests are not very DRY though. Shouldn't there be tests to check that the documented behavior is correct? -- ___ Python tracker <http://bugs.python.org/is

[issue16278] os.rename documentation slightly inaccurate

2013-02-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: Senthil, in my experience, whenever documentation is added that documents new aspects of behavior (e.g. is not just a rewording of existing documentation), tests are always added simultaneously (if not already present) to ensure that the code doesn't re

[issue16278] os.rename documentation slightly inaccurate

2013-02-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: > If it would help I could submit a single patch. Yes, a single patch is best. One way to make code more DRY is refactoring to use helper functions as needed (i.e. same code in multiple places -> one helper fu

[issue16278] os.rename documentation slightly inaccurate

2013-02-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: The number of test cases isn't the problem. Having more but finer-grained test cases is usually preferred in fact. It's just that the test cases should be sharing code where possible so that they're shorter and easy to see how they differ f

[issue17179] Incorrect use of type function in types.new_class

2013-02-13 Thread Chris Withers
Chris Withers added the comment: Eric, surely this is a bugfix candidate for 3.3.1? -- ___ Python tracker <http://bugs.python.org/issue17179> ___ ___ Python-bug

[issue17203] add long option names to unittest discovery docs

2013-02-13 Thread Chris Jerdonek
New submission from Chris Jerdonek: Currently, unittest's discovery command-line documentation: http://docs.python.org/dev/library/unittest.html#test-discovery does not include the long option names (--start-directory, --pattern, and --top-level-directory): http://hg.python.org/cpython

[issue17204] argparser's subparsers.add_parser() should accept an ArgumentParser

2013-02-13 Thread Chris Jerdonek
New submission from Chris Jerdonek: Currently, argparser's subparsers.add_parser() method (for adding sub-commands) takes the following input: "This object has a single method, add_parser(), which takes a command name and any ArgumentParser constructor arguments, and returns an Argu

[issue17203] add long option names to unittest discovery docs

2013-02-16 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks, one patch should be fine, though the change should be applied to all branches. -- ___ Python tracker <http://bugs.python.org/issue17

[issue17218] support title and description in argparse add_mutually_exclusive_group

2013-02-16 Thread Chris Jerdonek
New submission from Chris Jerdonek: This issue is to add to argparse's add_mutually_exclusive_group() method support for passing a title and description. From the argparse docs: "Note that currently mutually exclusive argument groups do not support the title and description ar

[issue17179] Misleading error from type() when passing unknown keyword argument

2013-02-18 Thread Chris Withers
Chris Withers added the comment: Some background: I hit this problem when adding Python 3 compatibility to one of my libraries, where I had the following code: from types import ClassType ... class_ = ClassType(n, (sometype, ), dict(class_attr1='foo', class_attr2='bar'

[issue15767] add ModuleNotFoundError

2013-02-18 Thread Chris Jerdonek
Chris Jerdonek added the comment: >> from foo import bar >> Here bar can be not module, but an attribute of foo (for example, os.path). > Serhiy: What exception is raised in that situation is controlled by the eval > loop, not importlib so that would be a separate change. Ju

[issue17227] devguide: buggy heading numbers

2013-02-18 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +chris.jerdonek ___ Python tracker <http://bugs.python.org/issue17227> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15767] add ImportNotFoundError

2013-02-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: If we can promise not to use it in the from-import case :) I'm okay with the more specific name (in fact it is preferable). From Brett's response, it sounds like we have flexibility there and don't need it to be the same? For from-import I w

[issue17240] argparse: subcommand name and arity

2013-02-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: > This is not satisfactory. I would prefer: > import argparse > argparser = argparse.ArgumentParser() > subparsers = argparser.add_subparsers('cmd1') % name here Have you tried passing by keyword? subparsers = argparser.add_subparsers(des

[issue17250] argparse: Issue 15906 patch; positional with nargs='*' and string default

2013-02-19 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +bethard, chris.jerdonek ___ Python tracker <http://bugs.python.org/issue17250> ___ ___ Python-bugs-list mailing list Unsub

[issue17227] devguide: buggy heading numbers

2013-02-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: I noticed this before and wasn't able to fix it after trying a few things. I wonder if this is a limitation or bug in Sphinx. At the top, the FAQ page has-- :tocdepth: 2 Levels beyond 2 are getting numbered 25 (the number of the top level) instea

[issue17227] devguide: buggy heading numbers

2013-02-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Levels beyond 2 are getting numbered 25 (the number of the top level) instead > of having their numbering suppressed (as I would expect it to). Actually, what I meant to say is that I would expect the "tocdepth" to affect only the level

[issue17256] code example in C API docsshould be highlighted

2013-02-20 Thread Chris Jerdonek
Chris Jerdonek added the comment: Looks like it's because highlightlang:: c is at the top. -- nosy: +chris.jerdonek ___ Python tracker <http://bugs.python.org/is

[issue14468] Update cloning guidelines in devguide

2013-02-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks for waiting and for posting the patches here. I think the second patch "2-move_two_sections.diff" should be committed now, along with making "Working with Mercurial" a higher-level header (as it is done in the aggregate patch). Th

[issue17270] make the section header doc convention more clearly optional

2013-02-21 Thread Chris Jerdonek
New submission from Chris Jerdonek: The documentation guidelines in the devguide list a convention for section headers: http://docs.python.org/devguide/documenting.html#sections The current wording, however, can be interpreted to mean that this convention is always (and should always) be

[issue17109] unittest.mock has wrong heading levels

2013-02-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: > It can just be changed to being a suggestion as opposed to "the convention > that we use." I created issue 17270 for this. -- ___ Python tracker <http://bugs.py

[issue17270] make the section header doc convention more clearly optional

2013-02-21 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue17203] add long option names to unittest discovery docs

2013-02-21 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue14468] Update cloning guidelines in devguide

2013-02-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: For reasons I stated above, I think it will help to break this issue into smaller, self-contained parts as we go -- even if some of the issues turn out to be short-lived. For example, an issue can be created for adding to the docs a section on how to set up

[issue14468] Update cloning guidelines in devguide

2013-02-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: > The "Clones setup" section is not about "how to set up a clone", but "how do > I do these steps depending on the specific setup I'm using" (single or > multiple clones). Then the section should be called some

[issue17227] devguide: buggy heading numbers

2013-02-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Adding a patch to fix this issue. I had tried this, but doesn't this make the contents in the left side bar unwieldy (and perhaps also on the devguide index page) -- is that what we want? I was under the assumption that the purpose of the

[issue17186] no way to introspect registered atexit handlers

2013-02-22 Thread Chris Withers
Chris Withers added the comment: Barry advised me to open this issue as it's a functional regression from Python 2. My use case is unit testing code that registers atexit handlers and making sure the right handlers are registered with the correct param

[issue17186] no way to introspect registered atexit handlers

2013-02-22 Thread Chris Withers
Chris Withers added the comment: I can think of other use cases. Anyway, I'm just glad your opinion isn't the only one there is ;-) -- ___ Python tracker <http://bugs.python.o

[issue15132] Let unittest.TestProgram()'s defaultTest argument be a list

2013-02-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks, Jyrki and Petri. I just noticed that a "Changed in version" should probably be added at the end of this section: http://docs.python.org/dev/library/unittest.html#unittest.main *defaultTest* should probably also be documented in the text (it

[issue15132] Let unittest.TestProgram()'s defaultTest argument be a list

2013-02-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: I can take care of the Changed in version. -- ___ Python tracker <http://bugs.python.org/issue15132> ___ ___ Python-bugs-list m

[issue17282] document the defaultTest parameter to unittest.main()

2013-02-23 Thread Chris Jerdonek
New submission from Chris Jerdonek: This issue is to document the defaultTest parameter to unittest.main(): http://docs.python.org/dev/library/unittest.html#unittest.main Note that it is not enough simply to say that *defaultTest* is a "default test name or iterable of test names.&

[issue15132] Let unittest.TestProgram()'s defaultTest argument be a list

2013-02-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: > *defaultTest* should probably also be documented in the text I created issue 17282 for this. -- ___ Python tracker <http://bugs.python.org/issu

[issue16401] mention PKG-INFO in the documentation

2013-02-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: FYI, the fix for issue 16403 adds I believe the first mention of PKG-INFO to the docs (as an aside when discussing the maintainer field). However, a description of PKG-INFO, etc. should still be added somewhere

[issue15305] Test harness unnecessarily disambiguating twice

2013-02-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: I would be happy to commit and watch the buildbots, once I have confidence in the patch though. Question: I noticed that the following was changed in Lib/test/regrtest.py: -with support.temp_cwd(TESTCWD, quiet=True): +with support.temp_cwd(quiet=True

[issue17283] Lib/test/__main__.py should share code with regrtest.py

2013-02-23 Thread Chris Jerdonek
New submission from Chris Jerdonek: As discussed here: http://bugs.python.org/issue15305#msg182853 this issue is for Lib/test/__main__.py to share code with Lib/test/regrtest.py to minimize duplication of code: http://hg.python.org/cpython/file/96f08a22f562/Lib/test/regrtest.py#l1594 http

[issue15305] Test harness unnecessarily disambiguating twice

2013-02-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Those two code chunks should really share code by the way I created issue 17283 for this (it's okay to fix the current issue before this one). -- ___ Python tracker <http://bugs.python.org

[issue17284] create mercurial section in devguide's committing.rst

2013-02-24 Thread Chris Jerdonek
New submission from Chris Jerdonek: As discussed in issue 14468, this issue is to reorder the sections in the devguide's committing.rst to create a section dedicated to using Mercurial when committing. The attached patch is adapted from the "2-move_two_sections.diff" patc

<    20   21   22   23   24   25   26   27   28   >