[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-12-07 Thread R. David Murray
R. David Murray added the comment: That said, the fact that windows is just *wrong* about some mimetypes is definitely an issue. We could call it a platform bug, but that would be a disservice to the user community. -- ___ Python tracker <h

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-12-07 Thread R. David Murray
R. David Murray added the comment: To be consistent with the overall philosophy of the mimetypes module, it should be instead a list of "windows fixes" which are applied if the broken mimetype is found in the windows registry. If you want to avoid the overhead, pass an empty list t

[issue16637] py-bt, py-locals, etc. GDB commands fail with output-radix 16

2012-12-07 Thread R. David Murray
Changes by R. David Murray : -- nosy: +dmalcolm ___ Python tracker <http://bugs.python.org/issue16637> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16652] socket.getfqdn docs are not explicit enough about the algorithm.

2012-12-09 Thread R. David Murray
New submission from R. David Murray: >From the docs it isn't quite clear if getfqnd() does the equivalent of: gethostbyaddr('127.0.0.1') or gethostbyaddr(gethostbyname(gethostname())) It matters which it is, when debugging a host's name configuration a

[issue16654] IDLE problems with Mac OS 10.6.8 ("print syntax")

2012-12-09 Thread R. David Murray
R. David Murray added the comment: The statement print "hello world" is indeed invalid syntax in Python3. -- nosy: +r.david.murray resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Py

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-12-10 Thread R. David Murray
R. David Murray added the comment: I'm personally OK with the option of removing the registry support (or making it optional-by-default), but I'm not going to make that call, we need a windows dev opinion. Maintaining the list of windows exceptions shouldn't be much worse th

[issue16656] os.walk ignores international dirs on Windows

2012-12-10 Thread R. David Murray
R. David Murray added the comment: No. -- nosy: +r.david.murray resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue16656] os.walk ignores international dirs on Windows

2012-12-10 Thread R. David Murray
R. David Murray added the comment: Oops, clicked submit too soon. It isn't likely to get fixed in 2.7, because 2.7's unicode support problems is the major reason python3 was developed. -- stage: -> committed/rejected ___ Python t

[issue16656] os.walk ignores international dirs on Windows

2012-12-10 Thread R. David Murray
R. David Murray added the comment: For that matter, it isn't reproduced in python2.7, either: >>> for r, dirs, files in os.walk(u'.'): ... print dirs ... [u'\u0420\u0443\u0441\u0441\u043a\u043e\u0435 \u0438\u043c\u044f'] [] --

[issue16656] os.walk ignores international dirs on Windows

2012-12-10 Thread R. David Murray
R. David Murray added the comment: Works for me without the u'.', too, though less usefully: >>> for r, dirs, files in os.walk('.'): ... print dirs ... ['\xd0\xa0\xd1\x83\xd1\x81\xd1\x81\xd0\xba\xd0\xbe\xd0\xb5 \xd0\xb8\xd0\xbc\xd1\x8f'] Maybe that

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-12-10 Thread R. David Murray
R. David Murray added the comment: I would say Brian Curtin, Tim Golden, and/or Martin von Löwis, as they are the currently active committers with significant Windows expertise. Other committers may have opinions as well. If you don't get an answer here in a reasonable amount of time, p

[issue16656] os.walk ignores international dirs on Windows

2012-12-11 Thread R. David Murray
R. David Murray added the comment: My guess is that your unicode issue is issue 1602, which is non-trivial to solve. -- ___ Python tracker <http://bugs.python.org/issue16

[issue16662] load_tests not invoked in package/__init__.py

2012-12-11 Thread R. David Murray
R. David Murray added the comment: test_email is a package, and has a load_tests in its __init__.py that I had to add in order to make "python -m unittest test.test_email" work. So I'm not sure what bug you are reporting here. -- nosy:

[issue16656] os.walk ignores international dirs on Windows

2012-12-12 Thread R. David Murray
R. David Murray added the comment: Based on the pasted results I'm pretty sure there's nothing wrong with walk and listdir. But it sounds like Serhiy will check to make sure, so we'll wait for his report. The byte string vs the coding cookie is an interesting observation, but

[issue16673] Corrections in the library OS (PEP8)

2012-12-13 Thread R. David Murray
R. David Murray added the comment: That is indeed our standard policy. And yes, thank you for trying, Raninho. A good way to make an initial contribution is to look for modules that don't yet have full test coverage (there are a lot) and add tests. The devguide (http://docs.pytho

[issue16675] Ship Python with a package manager

2012-12-13 Thread R. David Murray
R. David Murray added the comment: Matt, thanks for your interest. This possibility has been discussed, so you aren't the only one who thinks it should happen. However, I don't think this is an appropriate issue for the tracker. This is part of an ongoing discussion and process on

[issue16678] optparse: parse only known options

2012-12-14 Thread R. David Murray
R. David Murray added the comment: We aren't encouraging people to use optparse any more. The recipe isn't needed in argparse, as that has a "parse_known_args" method that achieves the same end. -- nosy: +r.david.murray ___ P

[issue16656] os.walk ignores international dirs on Windows

2012-12-14 Thread R. David Murray
R. David Murray added the comment: That's what surrogateescape is for, on linux. I thought Victor dealt with this a different way in Windows. Maybe by deprecating the bytes interface :) -- nosy: +haypo ___ Python tracker <http://bugs.py

[issue16656] os.walk ignores international dirs on Windows

2012-12-14 Thread R. David Murray
R. David Murray added the comment: Ah, I misunderstood your comment. So, listdir is returning the "correct" the filename, it's just that we can't encode it to the console encoding. So, it is working as expected within the current windows console limitations, if not in a

[issue16656] os.listdir() returns unusable bytes result on Windows

2012-12-14 Thread R. David Murray
R. David Murray added the comment: Oh, I remember Victor complaining about that behavior of Windows. I'm pretty sure it is the windows API and not python that is doing that mangling. But Victor would know for sure. -- ___ Python tracker

[issue16678] optparse: parse only known options

2012-12-14 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> out of date stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue16693] Assertion error in ceval if Chainmap(object()) used as locals in eval

2012-12-15 Thread R. David Murray
New submission from R. David Murray: >>> import collections [61531 refs, 20955 blocks] >>> eval('foo', {}, collections.ChainMap(object())) python: Python/ceval.c:2996: PyEval_EvalFrameEx: Assertion `0' failed. zsh: abort ./python -- messages: 177542

[issue16697] argparse kwarg 'choices' documentation

2012-12-16 Thread R. David Murray
R. David Murray added the comment: This is a duplicate of issue issue 16468, which may get closed with either a bug fix or a doc fix, depending on the outcome of the overall discussion. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status

[issue16468] argparse only supports iterable choices

2012-12-16 Thread R. David Murray
Changes by R. David Murray : -- nosy: +wim.glenn ___ Python tracker <http://bugs.python.org/issue16468> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16701] Docs missing the behavior of += (in-place add) for lists.

2012-12-16 Thread R. David Murray
R. David Murray added the comment: Well, it is effectively documented by the text here: http://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements since "a + b" is logically equivalent to a.extend(b) when a is being updated "in-place". Th

[issue16708] Module: shutil will not import when writen in the text editor but will in the python shell

2012-12-17 Thread R. David Murray
New submission from R. David Murray: It works fine for me. Are you on windows by any chance? I suspect you should take this to python-list for help, but you could paste the traceback you are getting if you still think it is a bug in Python. -- nosy: +r.david.murray resolution

[issue16708] Module: shutil will not import when writen in the text editor but will in the python shell

2012-12-18 Thread R. David Murray
R. David Murray added the comment: You have a 'copy.py' module in your python path, as is evidenced by the filename in your traceback, which tarfile is importing instead of the real copy module, and your copy.py is therefore trying to use shutil before it is completely imported

[issue16716] Deprecate OSError aliases in the doc

2012-12-18 Thread R. David Murray
R. David Murray added the comment: It seems sensible to me. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue16716> ___ ___ Python-bug

[issue16725] Add 'ident' property to SysLogHandler like in Python 3.x

2012-12-19 Thread R. David Murray
R. David Murray added the comment: No, that would be a feature addition, and we don't do those in bug fix releases. -- nosy: +r.david.murray resolution: -> rejected stage: -> committed/rejected status: open -> closed ___ Python

[issue16724] Rename `data` argument names to `bytes`

2012-12-19 Thread R. David Murray
R. David Murray added the comment: We do not use data type names as formal parameter names. You will realize this is sensible if you consider that in most cases in Python the formal parameter name is something gets used in more than just the documentation, and that using a type name would

[issue16735] zipfile.is_zipfile wrongly recognizes non-zip as zip

2012-12-20 Thread R. David Murray
R. David Murray added the comment: I'm imagining that it creates jar files, and thus has the signature as a constant. The is_zipfile check is much more complicated than just looking for that string, though, so what is going on must be even more perverse than that. It would be interesti

[issue16735] zipfile.is_zipfile wrongly recognizes non-zip as zip

2012-12-20 Thread R. David Murray
R. David Murray added the comment: So, it looks like this is not a bug in Python, just a weirdness of fastjar. Or, if you prefer, a bug in fastjar (they could assemble the signature instead of coding it as a single constant). -- resolution: -> invalid stage: -> committed/re

[issue16735] zipfile.is_zipfile wrongly recognizes non-zip as zip

2012-12-20 Thread R. David Murray
R. David Murray added the comment: Well, yes, but that ship has already sunk :) -- ___ Python tracker <http://bugs.python.org/issue16735> ___ ___ Python-bug

[issue16746] clarify what should be sent to peps@

2012-12-21 Thread R. David Murray
R. David Murray added the comment: The editors do more than your sentence suggests. They also (sometimes) edit peps, (sometimes) provide advice about preparing one, and commit and update peps when the author(s) do not have commit access. The distinction in the types of email that PEP 1 is

[issue16749] Fatal Python Error

2012-12-21 Thread R. David Murray
R. David Murray added the comment: Given the error message, my guess would be that there is a bug in the Solidoodle Python extension module. That is, it is unlikely to be a bug in Python. -- nosy: +r.david.murray ___ Python tracker <h

[issue16749] Fatal Python Error

2012-12-22 Thread R. David Murray
R. David Murray added the comment: Not really, I'm afraid. You'd have to look at the crash dump in a debugger to get more useful information. Perhaps one of the windows devs will have more concrete advice, I don't use

[issue16751] Using modern unittest asserts in the documentation

2012-12-22 Thread R. David Murray
Changes by R. David Murray : -- nosy: +michael.foord ___ Python tracker <http://bugs.python.org/issue16751> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15302] Use argparse instead of getopt in test.regrtest

2012-12-23 Thread R. David Murray
R. David Murray added the comment: I am -1 on doing this as one big refactoring, unless tests are written for regrtest first. Incremental (over a period of weeks or months, so that the changes get some soak time each time) is I think acceptable even without tests, given that this is a test

[issue15302] Use argparse instead of getopt in test.regrtest

2012-12-24 Thread R. David Murray
R. David Murray added the comment: Yes, I apologize for not getting around to a review previously. Chris: why regrlib.py at all? Why isn't the code in regrtest.py? And I'm not clear on why there is a desire to have regrtest be a package. Did I miss that

[issue16767] Cannot install Python 2.7 in Wine 1.4.1

2012-12-24 Thread R. David Murray
R. David Murray added the comment: Thanks for the report, however WINE is not an environment we support. A quick google indicates people have occasionally succeeded in getting it to install and run (for some definition of run), but it sounds like you've read about those. If you want to

[issue16778] Logger.findCaller needs to be smarter

2012-12-25 Thread R. David Murray
Changes by R. David Murray : -- nosy: +vinay.sajip ___ Python tracker <http://bugs.python.org/issue16778> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16780] fail to compile python in msys with mingw

2012-12-25 Thread R. David Murray
R. David Murray added the comment: The bug tracker is not a place to get help, but is rather for reporting bugs and proposing patches. We do not currently support msys/mingw. As you have observed, various patches have been proposed; however, in order for any of them to get committed, we need

[issue16781] execfile/exec execution of class statement does not access locals()

2012-12-25 Thread R. David Murray
R. David Murray added the comment: The fact that the print works should be a clue that Python is in fact finding the module and importing it. So your problem actually has to do with namespaces, which is something you have to think about when using exec or execfile. You can see this by

[issue16786] argparse doesn't offer localization interface for "version" action

2012-12-26 Thread R. David Murray
Changes by R. David Murray : -- nosy: +bethard ___ Python tracker <http://bugs.python.org/issue16786> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15302] Use argparse instead of getopt in test.regrtest

2012-12-26 Thread R. David Murray
R. David Murray added the comment: I'm still -0 on making a new file. regrtest will be running as __main__, so I don't see any reason the test file can't import it to test functions within it. -- ___ Python tracker <http

[issue15302] Use argparse instead of getopt in test.regrtest

2012-12-26 Thread R. David Murray
R. David Murray added the comment: (I could, of course, be wrong :) -- ___ Python tracker <http://bugs.python.org/issue15302> ___ ___ Python-bugs-list mailin

[issue16781] execfile/exec execution in other than global scope uses locals(), leading to undefined behavior

2012-12-26 Thread R. David Murray
R. David Murray added the comment: Do you mean that *modifying* locals() in the function scope is undefined behavior? That makes sense, and is a documented limitation. So we need to clarify the execfile/exec documentation to note that if called in anything other than the global scope, locals

[issue16791] itertools.chain.from_iterable doesn't stop

2012-12-27 Thread R. David Murray
R. David Murray added the comment: Yes, the behavior here is "undefined" at the language level. And as pyos says, technically it is documented: if you mutate the object over which you are iterating inside the iteration context (a for loop is just one example of same), the b

[issue16794] Can't get a list of modules in Python's help system

2012-12-27 Thread R. David Murray
R. David Murray added the comment: This is a duplicate of issue 10060, and as indicated there there really isn't much Python can do about this. You should report the bug to Ubuntu, but I'm pretty sure there is already a bug in their system for it (which I believe has

[issue16791] itertools.chain.from_iterable doesn't stop

2012-12-28 Thread R. David Murray
R. David Murray added the comment: If it is a feature, then is it documented in the language reference and is this actually a bug in PyPy (it sounds like it is)? -- ___ Python tracker <http://bugs.python.org/issue16

[issue16801] Preserve original representation for integers / floats in docstrings

2012-12-28 Thread R. David Murray
R. David Murray added the comment: I don't think you mean 'docstring'. A docstring is something a human writes in the source code. I presume you are actually talking about introspection of the signature here. Beyond that, I agree with Mark's comments. -- n

[issue16748] Ensure test discovery doesn't break for modules testing C and Python implementations

2012-12-28 Thread R. David Murray
R. David Murray added the comment: That sounds right to me. Note that PEP 399 is following older conventions that were laid down in a time when unittest did not *have* test discovery, so this is a new paradigm we'd like to move to (for the reasons Brett mentioned), and it may take a whi

[issue16781] execfile/exec execution in other than global scope uses locals(), leading to undefined behavior

2012-12-28 Thread R. David Murray
R. David Murray added the comment: It looks like you are correct Terry. The problem, I think, is that the behavior of name spaces inside a class definition is probably the least intuitive aspect of python scoping, so that sentence, while technically complete, doesn't provide enough gui

[issue16811] email.message.Message flatten dies of list index out of range

2012-12-29 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry, r.david.murray stage: -> needs patch type: crash -> behavior versions: +Python 3.4 ___ Python tracker <http://bugs.python.org/i

[issue16811] email.message.Message flatten dies of list index out of range

2012-12-29 Thread R. David Murray
R. David Murray added the comment: Thanks for the report. We thought we fixed this once already (in issue 11401). It looks like that only fixed the "old" folding algorithm, and that the new one has the same bug. I thought the test ran against both algorithms, but I must have made

[issue16813] use paths relative to CPython root in documentation building instructions

2012-12-29 Thread R. David Murray
R. David Murray added the comment: Thanks for the suggestion, but the context is that you are in the Doc directory in order to run make, so I think the existing documentation is preferable. I'd let George decide, though. -- nosy: +georg.brandl, r.david.murray title: use

[issue16814] use --directory option of make

2012-12-29 Thread R. David Murray
R. David Murray added the comment: I think the fact that the cd paradigm is more commonly encountered is a fairly strong argument in favor of keeping it, but I'm only -0 on this change. -- nosy: +r.david.murray ___ Python tracker

[issue16814] use --directory option of make in describing how to build the docs

2012-12-29 Thread R. David Murray
Changes by R. David Murray : -- title: use --directory option of make -> use --directory option of make in describing how to build the docs ___ Python tracker <http://bugs.python.org/issu

[issue16817] test___all__ has to save and restore sys.modules while it does all the importing

2012-12-29 Thread R. David Murray
R. David Murray added the comment: As Nick pointed out in the thread, getting the correct module imports for C and python versions is what import_fresh_module in test.support is for. -- nosy: +r.david.murray ___ Python tracker <h

[issue16817] test___all__ has to save and restore sys.modules while it does all the importing

2012-12-30 Thread R. David Murray
R. David Murray added the comment: Hmm. What if we made import_fresh_module a context manager, so that the restore of the original module in sys.modules only happened at the end of the context? -- ___ Python tracker <http://bugs.python.

[issue16817] test___all__ has to save and restore sys.modules while it does all the importing

2012-12-30 Thread R. David Murray
R. David Murray added the comment: It would help because import_fresh_module would have updated sys.modules to be the module under test, and would not restore the previously existing entry in sys.modules until after your test had completed

[issue16820] configparser.ConfigParser.clean and .update bugs

2012-12-30 Thread R. David Murray
Changes by R. David Murray : -- nosy: +lukasz.langa ___ Python tracker <http://bugs.python.org/issue16820> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16747] Remove 'file' type reference from 'iterable' glossary entry

2013-01-01 Thread R. David Murray
R. David Murray added the comment: senthil: the file type doesn't exist any more in python3. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/is

[issue16844] funcName in logging module for python 2.6

2013-01-02 Thread R. David Murray
R. David Murray added the comment: I wonder if this is related to issue 16778. -- nosy: +r.david.murray, vinay.sajip ___ Python tracker <http://bugs.python.org/issue16

[issue13094] Need Programming FAQ entry for the behavior of closures

2013-01-03 Thread R. David Murray
R. David Murray added the comment: The FAQ (as in, this question gets asked again and again) is something like "why do the lambdas I define in a loop all return the same result when the input value was different when each one was defined?" The same applies to regular functions,

[issue16846] relative import solution

2013-01-03 Thread R. David Murray
R. David Murray added the comment: Could you give more information about what you see as the bug, here? I'm not understanding the problem because there doesn't appear to be enough context. What is your directory structure? Where is the import happening? -- components: +I

[issue16748] Make CPython test package discoverable

2013-01-03 Thread R. David Murray
R. David Murray added the comment: I would suggest one patch and issue per test module. If multiple test modules are related enough, they could go in one patch/issue; that's a judgement call. We can make this issue dependent on those individual i

[issue13094] Need Programming FAQ entry for the behavior of closures

2013-01-03 Thread R. David Murray
R. David Murray added the comment: The point is, it is a FAQ. We are talking about updating the FAQ document. It doesn't matter if the text is "too specific", if it is in fact a FAQ. And it is. -- ___ Python tracker <http

[issue15416] 3 * [] gives a list of 3 cross-referenced lists, a[1]='blah' writes in to ALL three!

2013-01-03 Thread R. David Murray
R. David Murray added the comment: But that's about numpy, which is not part of core Python, and so doesn't belong in a Python FAQ. But perhaps your posting it here will help someone doing an internet search... -- nosy: +r.david.murray

[issue16856] Segfault from calling repr() on a dict with a key whose repr raise an exception

2013-01-03 Thread R. David Murray
R. David Murray added the comment: Confirmed on Gentoo linux. On default, too. This is a regression from 3.2. -- nosy: +r.david.murray versions: +Python 3.4 ___ Python tracker <http://bugs.python.org/issue16

[issue16863] Argparse tutorial outdated

2013-01-04 Thread R. David Murray
R. David Murray added the comment: Ah, the whole tutorial is newish. So this is a bug just in the 2.7 version of the tutorial (it doesn't match the 2.7 code), and yes, there may be other issues as well. -- ___ Python tracker

[issue16863] Argparse tutorial outdated

2013-01-04 Thread R. David Murray
R. David Murray added the comment: Actually it looks like it is future-dated. The documented error message is the one you get from 3.3. I guess someone backported a doc change for a feature change. -- nosy: +r.david.murray ___ Python tracker

[issue16863] Argparse tutorial outdated

2013-01-04 Thread R. David Murray
R. David Murray added the comment: See issue 14034. Ezio apparently left the error messages unchanged on purpose...I'm not sure why. -- assignee: docs@python -> nosy: +ezio.melotti, tshepang ___ Python tracker <http://bugs.python.org

[issue16864] sqlite3.Cursor.lastrowid isn't populated when executing a SQL REPLACE statement

2013-01-04 Thread R. David Murray
R. David Murray added the comment: Considering that sqlite's 'replace' is a synonym for 'insert or replace', I think the logic error is actually in the detect_statement_type function. Since actions are conditionally taken on the REPLACE statement type in the code, in

[issue13094] Need Programming FAQ entry for the behavior of closures

2013-01-04 Thread R. David Murray
R. David Murray added the comment: Looks good to me. -- ___ Python tracker <http://bugs.python.org/issue13094> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16877] Odd behavior of ~ in os.path.abspath and os.path.realpath

2013-01-05 Thread R. David Murray
R. David Murray added the comment: This is intentional. You have to call expanduser yourself if you want ~ to be expanded. Otherwise it is treated as any other path component would be. I don't understand your final comment, can you clarify? -- nosy: +r.david.murray resol

[issue16878] argparse: positional args with nargs='*' defaults to []

2013-01-06 Thread R. David Murray
R. David Murray added the comment: I'd prefer to fix it, since having the action='append' and nargs='*' behaviors be different looks like a bug. However, fixing it to match 'append' (default really is None) would be likely to break working code, so we cer

[issue16877] Odd behavior of ~ in os.path.abspath and os.path.realpath

2013-01-06 Thread R. David Murray
R. David Murray added the comment: In addition, as far as I know, ba/sh has no equivalent to os.path.join (see, eg: http://unix.stackexchange.com/questions/23208/building-paths-robustly). So even if we *did* want to "act like the shell" there's no analog to point to. The she

[issue16877] Odd behavior of ~ in os.path.abspath and os.path.realpath

2013-01-06 Thread R. David Murray
R. David Murray added the comment: Here is a proposed doc patch. While not a necessary doc addition, I do think it provides some useful guidance, and is short enough that it doesn't weigh down the docs. -- keywords: +patch Added file: http://bugs.python.org/file

[issue16878] argparse: positional args with nargs='*' defaults to []

2013-01-06 Thread R. David Murray
R. David Murray added the comment: >>> p.add_argument('-a', action="append", default=None) >>> p.parse_args([]) Namespace(a=None) >>> p.parse_args(['-a', '1', '-a', '2']) Namespace(a=['1', '

[issue16675] Ship Python with a package manager

2013-01-07 Thread R. David Murray
R. David Murray added the comment: I'm afraid the discussions are many and lengthly and on several lists (python-dev, distutils-sig, probably also python-list and python-ideas), and that you will rarely find a discussion of "whether" without an accompanying discussion of "

[issue16748] Make CPython test package discoverable

2013-01-07 Thread R. David Murray
R. David Murray added the comment: Great list, thanks. The ones that fail to be run/skipped when run under discovery can probably be fixed by moving them to the more modern unittest 'skip' functions instead of depending on being run under regrtest and using the test.suppor

[issue16748] Make CPython test package discoverable

2013-01-07 Thread R. David Murray
R. David Murray added the comment: As we discussed in another issue, you just need to change your pattern to: >>> import unittest.main as runtest >>> import test.test_xxx as t >>> runtest(t) Which granted is more typing if you are running just one test, but not mu

[issue16613] ChainMap.new_child could use improvement

2013-01-07 Thread R. David Murray
R. David Murray added the comment: I agree that this would be useful. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue16613> ___ ___ Pytho

[issue16748] Make CPython test package discoverable

2013-01-08 Thread R. David Murray
R. David Murray added the comment: Yes, but not many, and not as many as there used to be. I'd like to see them all moved, but met resistance on that front. It may be that those just can't be run using unittest discovery, and perhaps that will eventually convince the maintaine

[issue16748] Make CPython test package discoverable

2013-01-08 Thread R. David Murray
R. David Murray added the comment: Also, it may be possible to add unittest discovery hooks to the stubs that *are* in Lib/test. -- ___ Python tracker <http://bugs.python.org/issue16

[issue16891] Fix docs about module search order

2013-01-08 Thread R. David Murray
R. David Murray added the comment: > So it looks like if "import xyz.b" bahaves different depending on how > a.py was initially loaded as a script or imported from another module. There are several differences between importing a module and running a script, one of whi

[issue16509] sqlite3 docs do not explain check_same_thread

2013-01-10 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue16509> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15545] sqlite3.Connection.iterdump() does not work with row_factory = sqlite3.Row

2013-01-10 Thread R. David Murray
R. David Murray added the comment: For the record, this is a regression introduced by the fix for issue 9750. I plan to commit the fix shortly, thanks for the report and patch. -- nosy: +r.david.murray stage: -> commit review type: crash -> behavior versions: +Python 2.7, Pyth

[issue9750] sqlite3 iterdump fails on column with reserved name

2013-01-10 Thread R. David Murray
R. David Murray added the comment: For the record, this patch also introduced another regression (issue 15545). -- ___ Python tracker <http://bugs.python.org/issue9

[issue15545] sqlite3.Connection.iterdump() does not work with row_factory = sqlite3.Row

2013-01-10 Thread R. David Murray
R. David Murray added the comment: Peter, I see you've made contributions before, but you don't show as having a contributor agreement on file according to the tracker. Have you sent one in? If not, would you, please? Thanks again for the fix. -- components: +Library (

[issue16914] timestamping in smtplib.py to help troubleshoot server timeouts/delays

2013-01-10 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry, r.david.murray stage: -> patch review ___ Python tracker <http://bugs.python.org/issu

[issue8145] Documentation about sqlite3 isolation_level

2013-01-10 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue8145> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10572] Move test sub-packages to Lib/test

2013-01-10 Thread R. David Murray
R. David Murray added the comment: I believe that the complete list of test files still located outside of Lib/test are: tkinter/test distutils/tests ctypes/tests lib2to3/tests sqlite3/test unittest/test That last is somewhat ironic since Michael opened the issue :). I&#

[issue10572] Move test sub-packages to Lib/test

2013-01-10 Thread R. David Murray
R. David Murray added the comment: Talked to Michael in IRC. He isn't particularly in favor of the move of the unittest tests, but doesn't object if someone else wants to do it. So, unassigning the issue from him. -- assignee: mic

[issue13934] sqlite3 test typo

2013-01-10 Thread R. David Murray
R. David Murray added the comment: These patches are small enough a contributor agreement is not required, but it would still be great if you would submit one, poq. -- nosy: +r.david.murray stage: patch review -> committed/rejected status: open ->

[issue15109] sqlite3.Connection.iterdump() dies with encoding exception

2013-01-10 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue16924] try: except: ordering error

2013-01-10 Thread R. David Murray
R. David Murray added the comment: Print b happens when the interpreter is processing the loop condition for loop c. print c happens when it is processing the body of the loop (ie: is inside the try/except in the body of the loop). Presumably if you set your keyboard autorepeat interval

[issue8145] Documentation about sqlite3 isolation_level

2013-01-11 Thread R. David Murray
R. David Murray added the comment: I believe this patch is correct in essence, but I think it would be helpful to clarify the explanation of what autocommit mode is. I'll work on an updated patch. It could also be considered a bug that the standard context manager does not su

[issue16886] Doctests in test_dictcomp depend on dict order

2013-01-11 Thread R. David Murray
R. David Murray added the comment: I'm not positive what Terry means by export patch and import patch...I think hg actually has commands like that, but I don't use them myself. I just use hg diff to generate the diff/patch file, and then use the regular patch command to apply

<    49   50   51   52   53   54   55   56   57   58   >