[issue19499] "import this" is cached in sys.modules

2013-11-05 Thread R. David Murray
R. David Murray added the comment: It seems to me that having import this work more than once would teach a beginner the *wrong* lesson about how python import works. So I agree that it should be a teaching moment, not a bug to be fixed. -- nosy: +r.david.murray

[issue19502] Wrong time zone offset, when using time.strftime() with a given struct_time

2013-11-05 Thread R. David Murray
Changes by R. David Murray : -- nosy: +belopolsky, r.david.murray ___ Python tracker <http://bugs.python.org/issue19502> ___ ___ Python-bugs-list mailin

[issue11245] Implementation of IMAP IDLE in imaplib?

2013-11-07 Thread R. David Murray
R. David Murray added the comment: What do you mean by the whole test routine failing? The test suite is currently passing on the buildbots, so are you speaking of the new test you are trying to write? -- ___ Python tracker <h

[issue11245] Implementation of IMAP IDLE in imaplib?

2013-11-07 Thread R. David Murray
R. David Murray added the comment: Hmm. Looking at this again, it appears as though there's no way to interrupt IDLE if you want to, say, send an email. If you are actually using this in code, how are you handling that situation? -- ___ P

[issue18985] Improve the documentation in fcntl module

2013-11-07 Thread R. David Murray
R. David Murray added the comment: Thanks, Vajrasky (and Victor :) -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue3158] Doctest fails to find doctests in extension modules

2013-11-07 Thread R. David Murray
R. David Murray added the comment: Added some review comments. Because it could cause possibly buggy doctest fragments to run that previously did not run, I don't think it should be backported as a bug fix. -- nosy: +r.david.murray ___ P

[issue19532] compileall -f doesn't force to write bytecode files

2013-11-09 Thread R. David Murray
R. David Murray added the comment: test_compileall has fairly extensive tests of the command line behavior, added when we refactored from optparse to argparse. So a test should be added for this case. -- nosy: +r.david.murray ___ Python tracker

[issue19533] Unloading docstrings from memory if -OO is given

2013-11-09 Thread R. David Murray
R. David Murray added the comment: So the question is, if there is no longer a reference to the docstring, why isn't it garbage collected? (I tested adding a gc.collect(), and it didn't make any difference.) -- nosy: +r.david.murray

[issue19533] Unloading docstrings from memory if -OO is given

2013-11-09 Thread R. David Murray
R. David Murray added the comment: Hmm. If I turn on gc debugging before the def, I don't see anything get collected. If I allocate a series of new 10K strings, the memory keeps growing. Of course, that could still be down to the vagaries of OS memory management. Time to brea

[issue19546] configparser leaks implementation detail

2013-11-10 Thread R. David Murray
R. David Murray added the comment: I'd vote -1 on this one. The extra context in this case is not confusing, and might be helpful to someone. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/is

[issue6208] path separator output ignores shell's path separator: / instead of \

2013-11-12 Thread R. David Murray
R. David Murray added the comment: I think both of you could stand to turn down the rhetoric :) Laurent: we're not saying there's no issue, we're saying we don't see an acceptable fix for the issue. So the bottom line is that for this situation to improve someone is

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2013-11-12 Thread R. David Murray
R. David Murray added the comment: We have an OpenIndian buildbot that compiles from our source, so no distro changes. Can you sort out why this isn't a problem on the buildbut but is for you? Your patch files says 2.6, so is it possible it is fixed in 2.7? -- nosy: +r.david.m

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2013-11-12 Thread R. David Murray
R. David Murray added the comment: Libreoffice is a big thing to compile as a test...do you know of any smaller packages that exhibit the bug? I've added jcea to nosy, he set up the OpenIndiana buildbots and may be able to help clarify the issue. I'm not willing to opine on it sin

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2013-11-12 Thread R. David Murray
Changes by R. David Murray : -- assignee: jcea -> ___ Python tracker <http://bugs.python.org/issue19561> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue19567] mimetypes.init() raise unhandled excption in windows

2013-11-13 Thread R. David Murray
R. David Murray added the comment: This is a duplicate of issue 9291. Can you answer Victor's question over there for us? -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> mimetypes initialization

[issue9291] mimetypes initialization fails on Windows because of non-Latin characters in registry

2013-11-13 Thread R. David Murray
Changes by R. David Murray : -- nosy: +adamhj ___ Python tracker <http://bugs.python.org/issue9291> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19571] urlparse.parse_qs with empty string

2013-11-13 Thread R. David Murray
R. David Murray added the comment: It is not a bug: >>> parse_qs('a=&b=1', keep_blank_values=True) {'a': [''], 'b': ['1']} -- nosy: +r.david.murray resolution: -> invalid stage

[issue19574] Negative integer division error

2013-11-13 Thread R. David Murray
R. David Murray added the comment: This is not an aspect of Python that can possibly change, I'm afraid, for backward compatibility reasons. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Int

[issue19575] subprocess.Popen with multiple threads: Redirected stdout/stderr files still open after process close

2013-11-13 Thread R. David Murray
R. David Murray added the comment: It doesn't look like you are waiting for the subprocess to complete (and therefore close the files) before doing the rmtree. What happens if you do that? -- nosy: +r.david.murray ___ Python tracker

[issue19575] subprocess.Popen with multiple threads: Redirected stdout/stderr files still open after process close

2013-11-13 Thread R. David Murray
R. David Murray added the comment: Nevermind, I forgot that the context manager also does the wait. -- ___ Python tracker <http://bugs.python.org/issue19

[issue19575] subprocess.Popen with multiple threads: Redirected stdout/stderr files still open after process close

2013-11-13 Thread R. David Murray
R. David Murray added the comment: Most likely this is a case of a virus scanner or file indexer having the file open when rmtree runs. See issue 7443, which was about solving this for our test suite. My last message there asks about exposing the workaround in shutil, but no one appears to

[issue19575] subprocess.Popen with multiple threads: Redirected stdout/stderr files still open after process close

2013-11-14 Thread R. David Murray
R. David Murray added the comment: Unfortunately I currently lack a windows environment on which to test this. I've added some people to nosy who might be able to help out with this. -- nosy: +gps, tim.golden ___ Python tracker

[issue19575] subprocess.Popen with multiple threads: Redirected stdout/stderr files still open after process close

2013-11-14 Thread R. David Murray
R. David Murray added the comment: That was my initial thought, too, but the subprocess context manager waits for the subprocess to end, so those file descriptors should be closed by the time the deletion attempt happens, shouldn't

[issue19575] subprocess.Popen with multiple threads: Redirected stdout/stderr files still open after process close

2013-11-14 Thread R. David Murray
R. David Murray added the comment: neologix noted that *when redirection is used* the way that *all* windows file handles are inherited changes. But that's about the end of *my* understanding of the issue :) -- ___ Python tracker

[issue19595] Silently skipped test in test_winsound

2013-11-14 Thread R. David Murray
R. David Murray added the comment: I believe that expected failure will give an error report if the test succeeds. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue19

[issue19590] Use specific asserts in test_email

2013-11-14 Thread R. David Murray
R. David Murray added the comment: Looks fine to me. -- ___ Python tracker <http://bugs.python.org/issue19590> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19590] Use specific asserts in test_email

2013-11-14 Thread R. David Murray
R. David Murray added the comment: Any chance of getting a patch with the just the added changes? I'd rather not fish through the stuff I've already looked at looking for the new stuff. I'm of two minds about the advisability of b

[issue19590] Use specific asserts in test_email

2013-11-15 Thread R. David Murray
R. David Murray added the comment: Additional changes look good to me. Unless (pun intended) Barry objects, I think I'll come down in favor of backporting all of these changes. The tipping point is that I've always found myself experiencing cognitive dissonance reading the 

[issue19614] support.temp_cwd should use support.rmtree

2013-11-15 Thread R. David Murray
New submission from R. David Murray: Based on this error on one of the buildbots, it is clear that support.temp_cwd should be calling support.rmtree, and not shutil.rmtree, during cleanup: [...] During handling of the above exception, another exception occurred: Traceback (most recent call

[issue16510] Using appropriate checks in tests

2013-11-16 Thread R. David Murray
R. David Murray added the comment: Jason: yes, if it is broken down into small enough pieces for the module maintainer to be comfortable with the review :). I approved Serhiy's separate patch for test_email. I still wasn't sure about backporting, but I really don't l

[issue19642] shutil to support equivalent of: rm -f /dir/*

2013-11-18 Thread R. David Murray
R. David Murray added the comment: See also issue 13229. You can replicate 'rm -f' like this: for p in glob.glob('/dir/*'): os.remove(p) That doesn't seem worth an extra function. The annoying one to emulate is 'rm -rf /dir/*', because with th

[issue19643] shutil rmtree fails on readonly files in Windows

2013-11-18 Thread R. David Murray
R. David Murray added the comment: You are essentially asking that we have an option to make the windows behavior mirror the posix behavior? (A read only file in a writable directory can be deleted in posix, since only the directory entry, not the file, is being deleted.) That makes some

[issue19643] shutil rmtree fails on readonly files in Windows

2013-11-18 Thread R. David Murray
R. David Murray added the comment: Well, it would *definitely* need to be a new explicit option whose default value was the current behavior. -- ___ Python tracker <http://bugs.python.org/issue19

[issue19645] decouple unittest assertions from the TestCase class

2013-11-18 Thread R. David Murray
R. David Murray added the comment: You should probably start by summarizing the assertThat proposal from issue 18054, which suggested making a separate issue for assertThat. -- nosy: +r.david.murray title: Improving unittest assertions -> decouple unittest assertions from the TestC

[issue19643] shutil rmtree fails on readonly files in Windows

2013-11-18 Thread R. David Murray
R. David Murray added the comment: That's not a good name for the flag. The problem is that 'read-only' means different things on Windows than it does on Unix. Which is why I suggested that the flag control whether or not it acts "posix like" on Windows. So perh

[issue19647] unittest.TestSuite consumes tests

2013-11-18 Thread R. David Murray
R. David Murray added the comment: This is presumably a consequence of issue 11798. How did you run into it in actual code? -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue19

[issue19626] test_email and Lib/email/_policybase.py failures with -OO

2013-11-18 Thread R. David Murray
R. David Murray added the comment: I can't get this to fail. The code handles None docstrings correctly (_append_doc is not called if the __doc__ attribute is None). The only way I can see this error arising would be if the _policybase.pyo file had docstrings stripped, but the polic

[issue19626] test_email and Lib/email/_policybase.py failures with -OO

2013-11-18 Thread R. David Murray
Changes by R. David Murray : -- status: open -> pending ___ Python tracker <http://bugs.python.org/issue19626> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue19626] test_email and Lib/email/_policybase.py failures with -OO

2013-11-18 Thread R. David Murray
Changes by R. David Murray : -- status: pending -> open superseder: -> pyo's are not overwritten by different optimization levels ___ Python tracker <http://bugs.python.

[issue19449] csv.DictWriter can't handle extra non-string fields

2013-11-19 Thread R. David Murray
R. David Murray added the comment: Thanks, Tomas and Vajrasky. I tweaked the patch slightly: Thomas's fix was better, since it doesn't incur the overhead of the repr unless an an error is detected (a micro-optimization, true, but an easy one). I also chose to only check that '

[issue19657] List comprehension conditional evaluation order seems backwards

2013-11-19 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker <http://bugs.python

[issue19662] smtpd.py should not decode utf-8

2013-11-20 Thread R. David Murray
R. David Murray added the comment: This bug was apparently introduced as part of the work from issue 4184 in python 3.2. My guess, looking at the code, is that the module simply didn't work before that patch, since it would have been attempting to join binary data using a string

[issue1065986] Fix pydoc crashing on unicode strings

2013-11-20 Thread R. David Murray
R. David Murray added the comment: Benjamin: the patch looks pretty good to me, for fixing the problem of docstrings that are explicitly unicode. But before I go to the trouble of a full review and test, is this a level of change you think is acceptable in 2.7 at this point it its lifecycle

[issue19662] smtpd.py should not decode utf-8

2013-11-20 Thread R. David Murray
R. David Murray added the comment: I think the only backward compatible solution is to add a switch of *some* sort (exact API TBD), whose default is to continue to decode using utf-8, and document it as wrong. Conversion of an email to unicode should be handled by the email package, not by

[issue19662] smtpd.py should not decode utf-8

2013-11-20 Thread R. David Murray
R. David Murray added the comment: Oh, and to clarify: the backward compatibility is that if code works with X.Y.Z, it should work with X.Y.Z+1. So even though correctly handling binary mail would indeed require someone to reexamine their code, if things happen to be working OK for them (eg

[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-11-20 Thread R. David Murray
R. David Murray added the comment: Vajrasky: thanks for taking a crack at this, but, well, there are a lot of subtleties involved here, due to the way the organic growth of the email package over many years has led to some really bad design issues. It took me a lot of time to boot back up my

[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-11-20 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file32730/support_8bit_charset_cte.patch ___ Python tracker <http://bugs.python.org/issue19063> ___ ___

[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-11-20 Thread R. David Murray
Changes by R. David Murray : Added file: http://bugs.python.org/file32732/support_8bit_charset_cte.patch ___ Python tracker <http://bugs.python.org/issue19063> ___ ___

[issue19672] Listing of all exceptions for every function

2013-11-20 Thread R. David Murray
R. David Murray added the comment: This is not something we are going to do. We don't know what every exception is that every function can raise. Adding mentions of unusual special cases that aren't currently documented would be OK, though. You should open specific issues for

[issue19672] Listing of all exceptions for every function

2013-11-20 Thread R. David Murray
R. David Murray added the comment: If switching to error codes would solve your problem, then catching Exception at appropriate places should also solve your problem. -- ___ Python tracker <http://bugs.python.org/issue19

[issue19386] selectors test_interrupted_retry is flaky

2013-11-21 Thread R. David Murray
R. David Murray added the comment: Looking at the current buildbot history I don't see these errors any more. I'm not sure how frequent they were, but I think I'll mark this as resolved and we can reopen it if we see it again. -- resolution: -> invalid

[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-11-21 Thread R. David Murray
R. David Murray added the comment: Ah, I posted a git-diff 3.3 patch. Let me repost it. -- Added file: http://bugs.python.org/file32757/support_8bit_charset_cte.patch ___ Python tracker <http://bugs.python.org/issue19

[issue19683] test_minidom has many empty tests

2013-11-21 Thread R. David Murray
R. David Murray added the comment: Well, we generally don't backport tests unless we are fixing related bugs. I think this should be left alone. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/is

[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-11-21 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file32732/support_8bit_charset_cte.patch ___ Python tracker <http://bugs.python.org/issue19063> ___ ___

[issue19686] possible unnecessary memoryview copies?

2013-11-21 Thread R. David Murray
R. David Murray added the comment: I believe a new memoryview object is created, but the data is not copied. That's the whole point of memoryview, I think :) -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/is

[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-11-23 Thread R. David Murray
R. David Murray added the comment: Yes, I discovered this in testing, but I forgot to file a bug report for it. It should be dealt with in a separate issue. And yes, it should be fixed, since except for the documented on-demand filling out of missing pieces such as MIME borders, the model

[issue19737] Documentation of globals() and locals() should be improved

2013-11-23 Thread R. David Murray
R. David Murray added the comment: We've tried improving the locals docs several times. Modifying it is not "safe", in the sense that what happens when you do is not defined by the language. Which locals docs were you looking at? I agree that 'representing' is

[issue19763] Make it easier to backport statistics to 2.7

2013-11-25 Thread R. David Murray
R. David Murray added the comment: This is a tricky one. I can see the arguments either way, but it just feels wrong to have future imports in stdlib code. I personally don't see anything wrong with the import and doctest changes, though. Sure, someone may come along later and unknow

[issue19767] pathlib: iterfiles() and iterdirs()

2013-11-25 Thread R. David Murray
R. David Murray added the comment: Beta is out, so this issue must be targeted for 3.5. -- nosy: +r.david.murray versions: +Python 3.5 -Python 3.4 ___ Python tracker <http://bugs.python.org/issue19

[issue19770] NNTP.post broken

2013-11-25 Thread R. David Murray
R. David Murray added the comment: Can you show an example of the failure, including the traceback? I would think that nttplib would be mostly operating on byte objects, and I'm sure Antoine tested posting. -- nosy: +pitrou, r.david.m

[issue19770] NNTP.post broken

2013-11-25 Thread R. David Murray
R. David Murray added the comment: as_bytes was added in 3.4. For earlier python versions, you'll have to create a BytesGenerator object and flatten the message using it to get a bytes object you can past to post. -- ___ Python tracker

[issue19770] NNTP.post broken

2013-11-25 Thread R. David Murray
R. David Murray added the comment: It might be worth adding a post_message method, analogous to the send_message method I added to smtplib. -- ___ Python tracker <http://bugs.python.org/issue19

[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-11-25 Thread R. David Murray
R. David Murray added the comment: Updated patch for 3.3, and a new patch for 3.4. In 3.4, set_payload raises an error if non-ascii-surrogateescape text is passed in as the argument (ie: there are non-ascii unicode characters in the string) and no charset is specified with which to encode

[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-11-25 Thread R. David Murray
Changes by R. David Murray : Added file: http://bugs.python.org/file32838/support_8bit_charset_cte.patch ___ Python tracker <http://bugs.python.org/issue19063> ___ ___

[issue19772] str serialization of Message object may mutate the payload and CTE.

2013-11-25 Thread R. David Murray
New submission from R. David Murray: Currently the string generator will downcast 8bit body parts to 7bit by encoding them using a 7bit CTE. This is good. However, the way it does it is to modify the Message object accordingly. This is not good. Except for filling in required missing bits

[issue19679] smtpd.py (SMTPChannel): get rid of "conn" attribute

2013-11-25 Thread R. David Murray
R. David Murray added the comment: Are you referring to implementing rfc 3463 and rfc 5248 insofar as they are applicable? That seems useful. I don't see anything in the RFC about the 'xab x.y.z text' form of the message, though. Where is that documented? IMO these messages

[issue19678] smtpd.py: channel should be passed to process_message

2013-11-25 Thread R. David Murray
R. David Murray added the comment: I think this is reasonable. A patch would be welcome. You could use inspect. When I had to do something similar I just did the call inside a try/except, caught TypeError and retried without the extra argument. See the __init__ of

[issue19626] test_email and Lib/email/_policybase.py failures with -OO

2013-11-25 Thread R. David Murray
R. David Murray added the comment: Lacking feedback in the negative, I'm closing this. -- status: open -> closed ___ Python tracker <http://bugs.python.org

[issue19679] smtpd.py (SMTPChannel): implement enhanced status codes

2013-11-25 Thread R. David Murray
R. David Murray added the comment: "Should" and "do" are different, though. I wouldn't be at all surprised to find legacy code that did look at the text string part of the message. Particularly test code, which is a place that smtpd gets used commonly. Which pr

[issue19774] strptime incorrect for weekday '0' when using week number format

2013-11-25 Thread R. David Murray
R. David Murray added the comment: from the man page for strptime: %w The weekday number (0-6) with Sunday = 0. %W The week number with Monday the first day of the week (0-53). The first Monday of January is the first day of week 1. Python&#

[issue19729] [regression] str.format sublevel format parsing broken in Python 3.3.3

2013-11-25 Thread R. David Murray
Changes by R. David Murray : -- nosy: +georg.brandl priority: normal -> release blocker stage: -> needs patch type: crash -> behavior ___ Python tracker <http://bugs.python.or

[issue19729] [regression] str.format sublevel format parsing broken in Python 3.3.3

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

[issue19782] No SSL match_hostname() in imaplib

2013-11-26 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry, r.david.murray ___ Python tracker <http://bugs.python.org/issue19782> ___ ___ Python-bugs-list m

[issue19784] No SSL match_hostname() in poplib

2013-11-26 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry, r.david.murray ___ Python tracker <http://bugs.python.org/issue19784> ___ ___ Python-bugs-list m

[issue19785] No SSL match_hostname() in smtplib

2013-11-26 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry, r.david.murray ___ Python tracker <http://bugs.python.org/issue19785> ___ ___ Python-bugs-list m

[issue19801] Concatenating bytes is much slower than concatenating strings

2013-11-26 Thread R. David Murray
R. David Murray added the comment: It is definitely not a good idea to rely on that optimization of += for string. Obviously bytes doesn't have the same optimization. (String didn't either for a while in Python3, and there was some controversy around adding it back exactly b

[issue19801] Concatenating bytes is much slower than concatenating strings

2013-11-26 Thread R. David Murray
Changes by R. David Murray : -- type: behavior -> performance ___ Python tracker <http://bugs.python.org/issue19801> ___ ___ Python-bugs-list mailing list Un

[issue19802] socket.SO_PRIORITY is missing

2013-11-26 Thread R. David Murray
R. David Murray added the comment: For the record, a little googling indicates this may be a linux-only option (FreeBSD 6.4, for example, does not support it, nor does OS X 10.8, which are two systems to which I currently have access). That doesn't mean it shouldn't

[issue19802] socket.SO_PRIORITY is missing

2013-11-26 Thread R. David Murray
R. David Murray added the comment: Yeah, I'm not sure how you'd write a test in such a way that it would test anything meaningful. Parse the .h file in the test? Seems like overkill. -- ___ Python tracker <http://bugs.python.o

[issue19662] smtpd.py should not decode utf-8

2013-11-26 Thread R. David Murray
R. David Murray added the comment: As I said, the decoding needs to be controlled by a switch (presumably a keyword argument to SMTPServer) that defaults to the present (incorrect) behavior. -- ___ Python tracker <http://bugs.python.org/issue19

[issue19662] smtpd.py should not decode utf-8

2013-11-26 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.5 -Python 3.4 ___ Python tracker <http://bugs.python.org/issue19662> ___ ___ Python-bugs-list mailin

[issue19806] smtpd crashes when a multi-byte UTF-8 sequence is split between consecutive data packets

2013-11-27 Thread R. David Murray
R. David Murray added the comment: It occurs to me to wonder why smtpd is receiving 8bit data at all. It isn't advertising the 8BITMIME capability, so the client should be sending only 7bit data. See also issue 19662. I'm not sure that making utf-8 decoding work better is a good

[issue19810] Display function signature in TypeErrors resulting from argument mismatches

2013-11-27 Thread R. David Murray
Changes by R. David Murray : -- title: Adding a feature to python interpreter -> Display function signature in TypeErrors resulting from argument mismatches type: -> enhancement ___ Python tracker <http://bugs.python.org/i

[issue19810] Adding a feature to python interpreter

2013-11-27 Thread R. David Murray
R. David Murray added the comment: That's much less readable than the output from pfydoc, which the user can access easily (via either help at the interpreter prompt or pydoc at the shell prompt). So I'm -1 on this proposed change. -- nosy: +r.da

[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-11-29 Thread R. David Murray
R. David Murray added the comment: 3.4 patch updated to address Vajrasky's review comment. I'll probably apply this tomorrow. -- Added file: http://bugs.python.org/file32898/support_8bit_charset_cte.patch ___ Python tracker <http://bu

[issue19828] test_site fails with -S flag

2013-11-30 Thread R. David Murray
R. David Murray added the comment: See also issue 1674555, which aims to make test_site run without -S and everything else run with -S. I think this issue is invalid, if I understand what you wrote correctly, since test_site *should* be reported as a skipped test if -S is specified

[issue19830] test_poplib emits resource warning

2013-11-30 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry, r.david.murray ___ Python tracker <http://bugs.python.org/issue19830> ___ ___ Python-bugs-list m

[issue19683] test_minidom has many empty tests

2013-11-30 Thread R. David Murray
R. David Murray added the comment: On tip it would indeed be better to implement them. The deletion is only for the released branches. -- ___ Python tracker <http://bugs.python.org/issue19

[issue19840] The is no way to tell shutil.move to ignore metadata

2013-11-30 Thread R. David Murray
R. David Murray added the comment: Note that the equivalent linux command generates a warning message but does the move anyway. In other words, this seems like a very reasonable request ;) -- nosy: +r.david.murray ___ Python tracker <h

[issue19840] The is no way to tell shutil.move to ignore metadata

2013-11-30 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.5 -Python 3.3 ___ Python tracker <http://bugs.python.org/issue19840> ___ ___ Python-bugs-list mailin

[issue19841] ConfigParser PEP issues

2013-11-30 Thread R. David Murray
R. David Murray added the comment: Can you explain what the source of the problem is that you are trying to solve? It sounds like a bug in Nuitka, whatever that is. It is doubtful that this patch would be applied, for the backward compatibility reasons you cite. -- nosy

[issue19841] ConfigParser PEP issues

2013-11-30 Thread R. David Murray
R. David Murray added the comment: Oh, and even if we decided there was enough reason to want to change the parameter names (which so far it doesn't look like there is), it could never be applied to 2.7, since the 2.7 API is frozen. -- ___ P

[issue19843] Wait for multiple sub-processes to terminate

2013-11-30 Thread R. David Murray
R. David Murray added the comment: It's not, the beta is already out. -- nosy: +r.david.murray versions: +Python 3.5 -Python 3.4 ___ Python tracker <http://bugs.python.org/is

[issue19844] os.path.split fails on windows path

2013-11-30 Thread R. David Murray
R. David Murray added the comment: If it is an existing string, the backslashes are already in the string. The r prefix or the escaping is only required to get the backslashes into a string when you are coding them into a source file. -- nosy: +r.david.murray

[issue19846] print() and write() are relying on sys.getfilesystemencoding() instead of sys.getdefaultencoding()

2013-11-30 Thread R. David Murray
R. David Murray added the comment: Victor can correct me if I'm wrong, but I believe that stdin/stdout/stderr all use the filesystem encoding because filenames are the most likely source of non-ascii characters on those streams. (Not a perfect solution, but the best we c

[issue19828] test_site fails with -S flag

2013-12-01 Thread R. David Murray
R. David Murray added the comment: That's not relevant, though. In fact, the existing error message for running the module directly is exactly correct: the entire test module fails to run, which is a more accurate reflection of the reality than showing all of the individual tests as sk

[issue19801] Concatenating bytes is much slower than concatenating strings

2013-12-02 Thread R. David Murray
R. David Murray added the comment: Please take these observations and questions to python-list. They aren't really appropriate for the bug tracker. We aren't going to add the optimization shortcut for bytes unless someone does a bunch of convincing on python-ideas, which seems unl

[issue19869] BaseCookie does not complain if a non RFC compliant cookie header was given

2013-12-03 Thread R. David Murray
R. David Murray added the comment: RFCs and cookies don't have much to do with each other in real life. The 'httponly' flag bug was fixed in issue 16611. For backward compatibility reasons we can't start raising errors where we didn't raise them before, so if anythi

[issue19870] Backport Cookie fix to 2.7 (httponly / secure flag)

2013-12-03 Thread R. David Murray
R. David Murray added the comment: I'm not sure why that fix was not backported, so I think it should be OK to do so. 3.2 is in security fix only mode. No one argued that it was a securty issue when it was fixed in 3.3. -- nosy: +r.david.m

[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs

2013-12-05 Thread R. David Murray
R. David Murray added the comment: This is presumably due to the new default enabling of readline, where it is trying to save the history file when it exits. -- nosy: +pitrou, r.david.murray ___ Python tracker <http://bugs.python.org/issue19

<    53   54   55   56   57   58   59   60   61   62   >