[issue11116] mailbox and email errors

2011-02-04 Thread R. David Murray
R. David Murray added the comment: Perhaps your problem with test_mailbox is that you are running the test_mailbox from a checkout, but using an installed python3 that is not RC2, rather than the python3 built from the checkout? -- ___ Python

[issue11116] mailbox and email errors

2011-02-04 Thread R. David Murray
R. David Murray added the comment: Again, can you provide example input data and a short program that demonstrates the problem? There's nothing I can reproduce in your report/question. As far as I noticed, the caught exceptions all occur at places where no output has yet been done t

[issue11119] Passing a socket to a process (multiprocessing module)

2011-02-04 Thread R. David Murray
Changes by R. David Murray : -- components: +Library (Lib) -None nosy: +asksol, jnoller type: crash -> behavior ___ Python tracker <http://bugs.python.org/issu

[issue11063] uuid.py module import has heavy side effects

2011-02-05 Thread R. David Murray
R. David Murray added the comment: If you do 'python -c "import uuid" under strace, _posixsubprocess is definitely loaded, and a pipe2 call is made. Take a look at the code starting at (py3k trunk) line 418 (try:). That's where the weird stuff happens, which is what the

[issue11116] mailbox and email errors

2011-02-05 Thread R. David Murray
R. David Murray added the comment: Thanks, much easier to communicate when runnable code is involved :) Now I can see what you mean about it writing the From. I will figure out why and fix it so that the From line is not written. The traceback from email.generator is unfortunate. I should

[issue11139] subprocess: Arguments to .bat scripts get interpreted by shell

2011-02-07 Thread R. David Murray
R. David Murray added the comment: Well, it's not really a duplicate, but rather invalid, since the 2.7 behavior is more correct than the 2.6 behavior. Not that it matters all that much what particular resolution is attached to a bug. Arve: It is unfortunate that the bug fix in issue

[issue11139] subprocess: Arguments to .bat scripts get interpreted by shell

2011-02-07 Thread R. David Murray
R. David Murray added the comment: The point is that subprocess (now!) is *not* interpreting the arguments when shell is false. It is passing them through to Windows. What windows does with them after that is out of the control of subprocess (and always has been

[issue11139] subprocess: Arguments to .bat scripts get interpreted by shell

2011-02-07 Thread R. David Murray
R. David Murray added the comment: As noted in issue 8972, it's not clear what such a mode should actually do. If you have a concrete proposal you could make it, probably on the python-ideas mailing list. But I'm personally not in favor of it; I prefer maintaining as much API c

[issue11143] Issue with the issue tracker

2011-02-07 Thread R. David Murray
R. David Murray added the comment: There is a link 'report tracker problem' at the bottom of the left hand column. Unfortunately you have to create an account there to submit an issue :( -- nosy: +r.david.murray resolution: -> invalid stage: -> committed/rejec

[issue11139] subprocess: Arguments to .bat scripts get interpreted by shell

2011-02-07 Thread R. David Murray
R. David Murray added the comment: Yes, having a cmd.exe 'quote' function, parallel to the shutil 'quote' function, would be an excellent addition to the stdlib. You could open a feature request for that. -- ___ P

[issue11146] Add a feature similar to C++ "using some_namespace"

2011-02-07 Thread R. David Murray
R. David Murray added the comment: This is a topic more suited to python-ideas. It isn't likely to get much traction there, but you can try :) -- nosy: +r.david.murray resolution: -> rejected stage: -> committed/rejected status: ope

[issue11150] SVN credentials can't be provided to easy_install

2011-02-08 Thread R. David Murray
R. David Murray added the comment: easy_install is not part of python. Please report this to the easy_install bug tracker instead. -- nosy: +r.david.murray, tarek resolution: -> later stage: -> committed/rejected status: open -&g

[issue10694] zipfile.py end of central directory detection not robust

2011-02-09 Thread R. David Murray
R. David Murray added the comment: Xuanji: yes, your test_ignores_stuff_appended_past_comments is exactly what I was asking for. I've put this patch on my review list, but I may not get to it until after 3.2 final. -- ___ Python tracker

[issue11156] email.encoders.encode_base64 create a single long line

2011-02-09 Thread R. David Murray
R. David Murray added the comment: This appears to be a duplicate of issue 9298. Yves, if you disagree let me know what's different. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status: open -> closed type: -> behavior vers

[issue9298] binary email attachment issue with base64 encoding

2011-02-09 Thread R. David Murray
R. David Murray added the comment: See also duplicate issue 11156. -- nosy: +y...@zioup.com ___ Python tracker <http://bugs.python.org/issue9298> ___ ___ Pytho

[issue9298] binary email attachment issue with base64 encoding

2011-02-09 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue9298> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11156] email.encoders.encode_base64 create a single long line

2011-02-09 Thread R. David Murray
Changes by R. David Murray : -- superseder: -> binary email attachment issue with base64 encoding ___ Python tracker <http://bugs.python.org/issue11156> ___ _

[issue4696] email module does not unfold headers

2011-02-09 Thread R. David Murray
R. David Murray added the comment: Yes, when I said "new version", I meant "new major version", as in email6. I have plans for this, but I'm waiting until after the release of 3.2 to make a presentation about it to the email-sig. -- versions

[issue11170] (MacOS X) Crash on non-english language keyboard input in Text widget

2011-02-10 Thread R. David Murray
R. David Murray added the comment: This looks like a duplicate of issue 10973. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> OS X 10.6 IDLE, tkinter: Cocoa Tk 8.5 crash when composite character typ

[issue11116] mailbox and email errors

2011-02-10 Thread R. David Murray
R. David Murray added the comment: Upon reflection I don't think my suggested email API change is a good one. Currently it is possible to create a Message using non-ASCII headers and manipulate that message. The fact that you can't serialize that message is, really, a bug: one

[issue11116] mailbox and email errors

2011-02-10 Thread R. David Murray
R. David Murray added the comment: Here is the promised patch, with tests. For once writing the patch was harder than writing the tests, but only just :) I'm not sure all the 100% sure the cleanups will work on all systems (I'm looking at you, Windows), but since any problems wil

[issue11180] More efficient nlargest()/nsmallest()

2011-02-10 Thread R. David Murray
Changes by R. David Murray : -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue11180> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11116] mailbox and email errors

2011-02-11 Thread R. David Murray
R. David Murray added the comment: The finally was doing a _sync_close, which flushes the tmp file and closes it. The except Exception is checking if any non-BaseException error occurs, *removing* the tmp file, and re-raising the exception. There's nothing to flush/close in that

[issue11116] mailbox and email errors

2011-02-11 Thread R. David Murray
R. David Murray added the comment: Duh. After writing all that you'd think I'd have seen my mistake. That's what reviews are for. So I guess it should be BaseException, since the most likely one is keyboard interrupt and this would prevent a corrupted mailbo

[issue9298] binary email attachment issue with base64 encoding

2011-02-11 Thread R. David Murray
R. David Murray added the comment: Yves: thanks for the patches. If you feel like redoing the test one as a patch against Lib/email/test/test_email.py, that would be great. I'd suggest having the test just split the lines and do assertLessEqual(max([len(x) for x in lines]), 76

[issue11116] mailbox and email errors

2011-02-11 Thread R. David Murray
R. David Murray added the comment: Revised patch using BaseException. -- Added file: http://bugs.python.org/file20746/mailbox_cleanup2.patch ___ Python tracker <http://bugs.python.org/issue11

[issue11116] mailbox and email errors

2011-02-11 Thread R. David Murray
R. David Murray added the comment: Woops. Thanks for catching that. Will fix before commit. -- ___ Python tracker <http://bugs.python.org/issue6> ___ ___

[issue11194] "lock.__exit__ == lock.release" should be False

2011-02-11 Thread R. David Murray
R. David Murray added the comment: Well, under the (C) hood, it is in fact the same method, it just takes a variable number of arguments (and ignores them, in the __exit__ case). The fact that the arguments are rejected in the 'release' case is because of how the C function is de

[issue1704474] optparse tests fail under Jython

2011-02-11 Thread R. David Murray
R. David Murray added the comment: Making the tests pass on Jython is certainly worthwhile, if anyone wants to do it. At a quick glance it looks like the optparse tests just need to be updated and made a bit more lenient. Since Jython is lagging CPython by so much a fix isn't going to

[issue11195] next fixer fooled by trailing cheracters

2011-02-11 Thread R. David Murray
Changes by R. David Murray : -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue11195> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11194] "lock.__exit__ == lock.release" should be False

2011-02-11 Thread R. David Murray
R. David Murray added the comment: Yeah, sometimes you just have to read the source. Previous to Python3.2, RLock was implemented in Python, and the two methods are actually different methods there. In Python3.2, rlock.release == rlock.__exit__ is True. -- resolution: -> inva

[issue11116] mailbox and email errors

2011-02-11 Thread R. David Murray
R. David Murray added the comment: Committed in r88403. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue11116] mailbox and email errors

2011-02-11 Thread R. David Murray
R. David Murray added the comment: Decided to backport the fix to 2.7, even though the tests won't backport. r88406. -- ___ Python tracker <http://bugs.python.org/is

[issue11198] re sub subn backreferrence too few replacements

2011-02-11 Thread R. David Murray
Changes by R. David Murray : -- nosy: +mrabarnett ___ Python tracker <http://bugs.python.org/issue11198> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11198] re sub subn backreferrence too few replacements

2011-02-11 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue10999] os.chflags refers to stat constants, but the constants are not documented in the stat module

2011-02-12 Thread R. David Murray
R. David Murray added the comment: Looks good to me. I wonder if the existing example should be moved up above the description of the chmod flags, though. This update puts it even farther away from the functions it is an example of

[issue11205] Evaluation order of dictionary display is different from reference manual.

2011-02-13 Thread R. David Murray
R. David Murray added the comment: Interesting. I would actually have expected the observed behavior. I think of the : in a dictionary literal as an assignment. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue11

[issue670664] HTMLParser.py - more robust SCRIPT tag parsing

2011-02-14 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue670664> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11208] example misprint in documentation whatsnew/3.2

2011-02-14 Thread R. David Murray
Changes by R. David Murray : -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue11208> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11216] email.message.Message set_charset does not encode properly?

2011-02-14 Thread R. David Murray
R. David Murray added the comment: Well, the docs don't say that the headers will be removed or modified as needed, only added as needed ;/. And in fact the set_charset code does "if 'Content-Transfer-Encoding' not in self". set_payload also says it is the c

[issue5831] Doc mistake : threading.Timer is *not* a class

2011-02-15 Thread R. David Murray
R. David Murray added the comment: Discussion should be moved to #10968, please. -- ___ Python tracker <http://bugs.python.org/issue5831> ___ ___ Python-bug

[issue3244] multipart/form-data encoding

2011-02-15 Thread R. David Murray
R. David Murray added the comment: This patch needs a Doc component. Having finally taken a quick look at the RFC (I haven't read it through yet), I think this does belong in email and not http. The RFC makes it clear that while the most common implementation is http, it is designed

[issue3244] multipart/form-data encoding

2011-02-15 Thread R. David Murray
R. David Murray added the comment: In principle I think something like this should go in. Since it is a Message subclass, I'd like it to follow the current Message API whether or not it is located in the email package. __str__ and as_string have the right default for line lengt

[issue11212] Python memory limit on AIX

2011-02-17 Thread R. David Murray
R. David Murray added the comment: Here is a proofread diff. I did make one substantive change: I added a comment about the test suite not running with the default maxdata and not raising memory errors with 512MB. Is that correct? -- nosy: +r.david.murray Added file: http

[issue11212] Python memory limit on AIX

2011-02-17 Thread R. David Murray
R. David Murray added the comment: oops. -- ___ Python tracker <http://bugs.python.org/issue11212> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11212] Python memory limit on AIX

2011-02-17 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file20776/aix-notes.patch ___ Python tracker <http://bugs.python.org/issue11212> ___ ___ Python-bug

[issue10709] Misc/AIX-NOTES needs updating

2011-02-17 Thread R. David Murray
R. David Murray added the comment: Here is a proofread diff. I did make one substantive change: I added a comment about the test suite not running with the default maxdata and not raising memory errors with 512MB. Is that correct? -- nosy: +r.david.murray

[issue10709] Misc/AIX-NOTES needs updating

2011-02-17 Thread R. David Murray
Changes by R. David Murray : -- keywords: +patch Added file: http://bugs.python.org/file20777/aix-notes.patch ___ Python tracker <http://bugs.python.org/issue10

[issue11233] clarifying Availability: Unix

2011-02-17 Thread R. David Murray
R. David Murray added the comment: I like the footnote idea. I wonder if it would also be worth marking which functions are Posix (Availability: posix) and therefore likely to be available on all unix systems. -- nosy: +r.david.murray ___ Python

[issue11233] clarifying Availability: Unix

2011-02-17 Thread R. David Murray
R. David Murray added the comment: Good point :( -- ___ Python tracker <http://bugs.python.org/issue11233> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-02-17 Thread R. David Murray
Changes by R. David Murray : -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue11236> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2571] can cmd.py's API/docs for the use of an alternate stdin be improved?

2011-02-17 Thread R. David Murray
Changes by R. David Murray : -- title: cmd.py always uses raw_input, even when another stdin is specified -> can cmd.py's API/docs for the use of an alternate stdin be improved? ___ Python tracker <http://bugs.python.or

[issue2571] can cmd.py's API/docs for the use of an alternate stdin be improved?

2011-02-17 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker <http://bugs.python.org/issue2571> ___ ___ Python-bugs-list mailing list Unsub

[issue11243] email/message.py str conversion

2011-02-18 Thread R. David Murray
R. David Murray added the comment: Thanks for the report. I probably won't have time to look at this for a bit. -- assignee: -> r.david.murray stage: -> patch review title: email/message.py str conversion [patch] -> email/message.py str conversion version

[issue11244] Negative tuple elements produce inefficient code.

2011-02-18 Thread R. David Murray
R. David Murray added the comment: I wonder if this has anything to do with issue 9011? -- nosy: +mark.dickinson, r.david.murray ___ Python tracker <http://bugs.python.org/issue11

[issue11233] clarifying Availability: Unix

2011-02-19 Thread R. David Murray
R. David Murray added the comment: Yes, but when you jump directly to one of the functions, you don't see that bullet list. Whereas if it were a footnote on the 'avaiability: unix" statement, the natural thing would be to follow the footnote and thus learn the limitations on

[issue11243] email/message.py str conversion

2011-02-19 Thread R. David Murray
R. David Murray added the comment: Well, it's not a crash, a crash is when the interpreter segfaults. I'm not clear on why you are having problems, actually, since if you treat the messages as binary (which they are), then you shouldn't be getting Headers introduced into the m

[issue11243] email/message.py str conversion

2011-02-19 Thread R. David Murray
R. David Murray added the comment: Ah, I think I see what is going on. If I'm right, then you are right, this is a serious problem for actually processing spam emails using email 5.1. Unfortunately it's too late to do anything for 3.2.0. But email 5.1 is still worlds better a

[issue11260] smtpd-as-a-script feature should be documented and should use argparse

2011-02-21 Thread R. David Murray
R. David Murray added the comment: Thanks for taking an interest in this and working up a patch. Unfortunately I do have some concerns. As far as I know the only module that currently uses argparse is compileall, which was only changed recently. Do tests currently exist for smtpd run as a

[issue11269] cgi.FieldStorage forgets to unquote field names when parsing multipart/form-data

2011-02-21 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue11269> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11270] logging: RotatingFileHandler crash when opening the Logfile in an Texteditor

2011-02-21 Thread R. David Murray
Changes by R. David Murray : -- nosy: +vinay.sajip ___ Python tracker <http://bugs.python.org/issue11270> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11216] email.message.Message set_charset does not encode properly?

2011-02-21 Thread R. David Murray
R. David Murray added the comment: While your idea has merit, we can only add a parameter in a new version (not in a bug-fix release), so the doc fix is all we can do before 3.3. -- versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6

[issue11243] email/message.py str conversion

2011-02-21 Thread R. David Murray
Changes by R. David Murray : -- priority: normal -> high ___ Python tracker <http://bugs.python.org/issue11243> ___ ___ Python-bugs-list mailing list Unsubscri

[issue11251] cmd.Cmd tab completion treats dashes as spaces

2011-02-21 Thread R. David Murray
Changes by R. David Murray : -- resolution: wont fix -> invalid stage: -> committed/rejected ___ Python tracker <http://bugs.python.org/issue11251> ___ ___

[issue11216] email.message.Message set_charset does not encode properly?

2011-02-21 Thread R. David Murray
R. David Murray added the comment: Discussion of the new API, and what changes will be made for 3.3, will take place on the email-sig mailing list (see http://mail.python.org). Please join! Right now it is a dormant list, but I plan to post some stuff soon :) The more I stare at the

[issue11269] cgi.FieldStorage forgets to unquote field names when parsing multipart/form-data

2011-02-21 Thread R. David Murray
R. David Murray added the comment: Thanks for doing the research. As far as I know we've never had a request to support RFC2047 in FieldStorage, so presumably no browsers actually generate it. -- resolution: -> invalid stage: -> committed/rejected status: ope

[issue11243] email/message.py str conversion

2011-02-22 Thread R. David Murray
R. David Murray added the comment: We might wind up with a relatively quick 3.2.1, in which case we can get this fixed then. The parser is supposed to operate without throwing exceptions (just setting defects), so if you find a case where *parsing* throws an exception please open an issue

[issue1670765] email.Generator: no header wrapping for multipart/signed

2010-01-16 Thread R. David Murray
R. David Murray added the comment: I've committed fix and the non-disabled tests to trunk in r77517. I updated the comments to point to the relevant RFC and note that the problem is not fixed, just mitigated. I've made a note of the additional tests in my issues list for the emai

[issue1670765] email.Generator: no header wrapping for multipart/signed

2010-01-16 Thread R. David Murray
R. David Murray added the comment: I actually had the wrong message number entirely. I was trying to reference this one, since it has the additional tests. Fixed in r77525. I backported the fix to 2.6 in r77526 and r77527, forwarded ported to py3k in r77542 (with the addition of the new

[issue7714] configure GCC version detection fix for Darwin

2010-01-16 Thread R. David Murray
Changes by R. David Murray : -- nosy: +ronaldoussoren ___ Python tracker <http://bugs.python.org/issue7714> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7715] Allow use of GNU arch on Darwin

2010-01-16 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> ronaldoussoren nosy: +ronaldoussoren ___ Python tracker <http://bugs.python.org/issue7715> ___ ___ Python-bugs-lis

[issue7732] imp.find_module crashes Python if there exists a directory named "__init__.py"

2010-01-18 Thread R. David Murray
R. David Murray added the comment: Confirmed that this does not affect py3k. -- nosy: +brett.cannon, r.david.murray priority: -> high ___ Python tracker <http://bugs.python.org/iss

[issue1670765] email.Generator: no header wrapping for multipart/signed

2010-01-18 Thread R. David Murray
R. David Murray added the comment: See issue 1670765 for more discussion of the whitespace issues. -- ___ Python tracker <http://bugs.python.org/issue1670

[issue1670765] email.Generator: no header wrapping for multipart/signed

2010-01-18 Thread R. David Murray
R. David Murray added the comment: Heh. Copy and paste error. I copied the issue number I wanted to reference, then copied the issue number I needed to open in order to paste the reference, and then promptly forgot that I had to recopy the issue number to paste it... Anyway, the correct

[issue7472] email.encoders.encode_7or8bit(): typo "iso-2202". "iso-2022" is correct.

2010-01-18 Thread R. David Murray
R. David Murray added the comment: Hmm. I suspect that that typo is fortunate rather than the source of a bug. As far as I can see, if a message contains valid iso-2022 characters, it will always encode to ASCII successfully and therefore be given a content-transfer-encoding of 7bit. If

[issue7472] email.encoders.encode_7or8bit(): typo "iso-2202". "iso-2022" is correct.

2010-01-18 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.org/issue7472> ___ ___ Python-bug

[issue7747] Function variable wrongly reported unassigned

2010-01-21 Thread R. David Murray
Changes by R. David Murray : -- priority: -> normal type: compile error -> behavior ___ Python tracker <http://bugs.python.org/issue7747> ___ ___ Pyth

[issue7749] pydoc error - "No module named tempfile"

2010-01-21 Thread R. David Murray
R. David Murray added the comment: Under 2.5 this could be due to various weird issues with your python path and the modules on it. Try running python from a clean directory and specifying the -E flag and see if the behavior changes, and/or try importing tempfile at the python prompt and

[issue7754] decimal.Decimal 0.0**0.0 error

2010-01-21 Thread R. David Murray
Changes by R. David Murray : -- components: +Library (Lib) nosy: +mark.dickinson priority: -> normal type: -> behavior versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.org/

[issue7242] Forking in a thread raises RuntimeError

2010-01-22 Thread R. David Murray
Changes by R. David Murray : -- nosy: +loewis ___ Python tracker <http://bugs.python.org/issue7242> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7757] sys.path is incorrect when prefix is ""

2010-01-22 Thread R. David Murray
R. David Murray added the comment: I thought I remembered a bug that mentioned prefix="/". What I found was Issue1676135, which might have something to do with your last question. -- nosy: +r.david.murray priority: -> normal ___ P

[issue7758] cPickle.load() segfault on invalid data

2010-01-22 Thread R. David Murray
R. David Murray added the comment: This is already fixed, I believe as part of a general cleanup of one of the CAPI macros. On current 2.6 branch and on trunk you now get an unpickling stack underflow in this case. -- nosy: +r.david.murray priority: -> normal resolution: ->

[issue7748] unicode supported in distutils register but not distutils upload

2010-01-23 Thread R. David Murray
Changes by R. David Murray : -- priority: -> normal stage: -> needs patch type: crash -> behavior ___ Python tracker <http://bugs.python.org/issue7748> ___ ___

[issue7780] unittest: allow an 'import_path' as an alternative to 'top_level_dir' in test discover

2010-01-25 Thread R. David Murray
New submission from R. David Murray : It would be nice if TestLoader.discover could take an argument that specifies the path to use to import the discovered tests, as an alternative to having to specify top_level_dir. -- assignee: michael.foord components: Library (Lib) messages

[issue7785] FileIO.write() accepts Unicode strings

2010-01-26 Thread R. David Murray
Changes by R. David Murray : -- nosy: +pitrou ___ Python tracker <http://bugs.python.org/issue7785> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7564] test_ioctl may fail when run in background

2010-01-26 Thread R. David Murray
R. David Murray added the comment: Could the skip message be made a little more explanatory? I have no idea why "Process group 1844 is associated with /dev/tty" would mean that test_ioctl would need to be skipped. -- nosy: +r.da

[issue7325] tempfile.mkdtemp() does not return absolute pathname when dir is specified

2010-01-26 Thread R. David Murray
R. David Murray added the comment: First of all, thanks for working on this. Now for some feedback :) It is most helpful if you provide patches against trunk (which is 2.7 alpha right now). We then forward port them to py3k. (This will change after the release of 2.7, when py3k will

[issue7786] Is the BlockingIOError exception an aborted idea?

2010-01-26 Thread R. David Murray
Changes by R. David Murray : -- nosy: +pitrou ___ Python tracker <http://bugs.python.org/issue7786> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7789] Issue using datetime with format()

2010-01-26 Thread R. David Murray
R. David Murray added the comment: If it is, it isn't any place obvious. I thought I remembered something about using strftime strings in format, but when I looked in the docs for datetime and the section on the format mini language I couldn't find it, so I ended up doing '

[issue7790] struct_time documentation entry should point to the table defining the tuple

2010-01-26 Thread R. David Murray
New submission from R. David Murray : In the beginning of 16.3 (time module documentation) the fields of a time tuple are defined, and it mentions that struct_time returns a named tuple version. The entry for struct_time, which is what you get sent to by the entries for the functions that

[issue7799] unittest returning standard_tests from load_tests in module fails

2010-01-28 Thread R. David Murray
New submission from R. David Murray : Working from the example in the docs, I wrote a test suite like this: def load_tests(loader, standard_tests, pattern): for case in email.test.emailtestdb.populated_test_cases(globals()): standard_tests.addTests(loader.loadFromTestCase(case

[issue3892] bsddb: test01_basic_replication fails sometimes

2010-01-29 Thread R. David Murray
Changes by R. David Murray : -- keywords: +buildbot -patch ___ Python tracker <http://bugs.python.org/issue3892> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3892] bsddb: test01_basic_replication fails sometimes

2010-01-29 Thread R. David Murray
R. David Murray added the comment: Hmm. That's not actually the same timeout. What that means is that if the startup timeout triggers, then a subsequent test (one that is looking for the results of a client transaction) fails, which contradicts the earlier observation that even i

[issue3892] bsddb: test01_basic_replication fails sometimes

2010-01-29 Thread R. David Murray
R. David Murray added the comment: Since this isn't likely to get fixed and it is causing buildbot instability, I propose the attached patch to just skip the remainder of the test method if this second timeout happens. -- keywords: +patch Added file: http://bugs.python.org/file

[issue7813] Bug in command-line module launcher

2010-01-30 Thread R. David Murray
R. David Murray added the comment: This fails on 2.6 maint but works on trunk. There have been several improvements to the way that that compile works in trunk, and one of those fixed the problem that you are seeing. The source of the problem is the final line in the source file containing

[issue7813] Bug in command-line module launcher

2010-01-30 Thread R. David Murray
R. David Murray added the comment: I meant issue 7268 in my previous message. -- ___ Python tracker <http://bugs.python.org/issue7813> ___ ___ Python-bugs-list m

[issue7823] multiplying a list of dictionaries

2010-02-01 Thread R. David Murray
R. David Murray added the comment: I'm not quite sure from what you wrote if you understood. Just to make sure no one reading this ticket later gets confused: it works the same way for all objects, and the behavior that sometimes surprises people shows up with mutable objects. So list

[issue7823] multiplying a list of dictionaries

2010-02-01 Thread R. David Murray
Changes by R. David Murray : -- priority: -> normal stage: -> committed/rejected ___ Python tracker <http://bugs.python.org/issue7823> ___ ___ Python-bugs-

[issue7749] pydoc error - "No module named tempfile"

2010-02-01 Thread R. David Murray
R. David Murray added the comment: Just FYI, it was backported to 2.6 in r76313. -- ___ Python tracker <http://bugs.python.org/issue7749> ___ ___ Python-bug

[issue7835] Minor bug in 2.6.4 related to cleanup at end of program

2010-02-01 Thread R. David Murray
R. David Murray added the comment: Here's a patch that fixes the problem for shelve. For the more general problem with Python shutdown and module cleanup, see issue 812369. I can come up with a sort-of unit test for this (setting _ClosedDict to None, calling close to prove it do

<    14   15   16   17   18   19   20   21   22   23   >