[issue15873] datetime: add ability to parse RFC 3339 dates and times

2014-06-28 Thread karl
karl added the comment: Noticed some people doing the same thing https://github.com/tonyg/python-rfc3339 http://home.blarg.net/~steveha/pyfeed.html https://wiki.python.org/moin/WorkingWithTime -- ___ Python tracker

[issue15873] datetime: add ability to parse RFC 3339 dates and times

2014-06-28 Thread karl
karl added the comment: On closer inspection, Anders Hovmöller proposal doesn't work. https://github.com/boxed/iso8601 At least for the microseconds part. In http://tools.ietf.org/html/rfc3339#section-5.6, the microsecond part is defined as: time-secfrac= "." 1*DIGIT In http://www.w3.or

[issue15873] datetime: add ability to parse RFC 3339 dates and times

2014-06-28 Thread karl
karl added the comment: I had the issue today. I needed to parse a date with the following format. 2014-04-04T23:59:00+09:00 and could not with strptime. I see a discussion in March 2014 http://code.activestate.com/lists/python-ideas/26883/ but no followup. For references: http://www.w3

[issue19003] email.generator.BytesGenerator corrupts data by changing line endings

2014-06-28 Thread 天一 何
天一 何 added the comment: This patch added special behavior with MIMEApplication and may fix this issue. Can be verified with test_email. -- keywords: +patch Added file: http://bugs.python.org/file35799/issue19003_email.patch ___ Python tracker

[issue19003] email.generator.BytesGenerator corrupts data by changing line endings

2014-06-28 Thread 天一 何
天一 何 added the comment: Confirmed in Python 3.4.1. -- nosy: +天一.何 versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list ma

[issue21874] test_strptime fails on rhel/centos/fedora systems

2014-06-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +belopolsky, lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue9960] test_structmembers fails on s390x (bigendian 64-bit): int/Py_ssize_t issue

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: I believe that the change in the later patch has already been applied to the 2.7 branch. If I'm correct can we close this please. -- nosy: +BreamoreBoy ___ Python tracker _

[issue2661] Mapping tests cannot be passed by user implementations

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: @Walter/Raymond as there is still no patch for this issue do you want to leave it open just in case anybody wants to work on it, move it to langushing, close it or what? -- nosy: +BreamoreBoy ___ Python tracker

[issue13055] Distutils tries to handle null versions but fails

2014-06-28 Thread Mark Lawrence
Changes by Mark Lawrence : -- components: -Distutils2 nosy: +dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python 3.2, Python 3.3 ___ Python tracker ___

[issue8384] Better error message for executables not found

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: @Éric can you put this on your todo list if it's not already there? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker ___

[issue9859] Add tests to verify API match of modules with 2 implementations

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: @Daniel do you intend putting forward a formal patch on this issue? I'm asking as I think issue9858 is effectively completed and I've just asked for a formal patch review on Issue9731. -- nosy: +BreamoreBoy ___ Pyth

[issue9731] Add ABCMeta.has_methods and tests that use it

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: Can we have a formal patch review with a view to committing as this issue is referenced from #9859. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue6094] Python fails to build with Subversion 1.7

2014-06-28 Thread Ned Deily
Ned Deily added the comment: Suman, Jon: This issue was closed five years ago and the fixes for it have long been out in the field. Comments on closed issues are likely to be overlooked and not acted on. If you are having a current problem, you should open a new issue, documenting in partic

[issue12640] test_ctypes seg fault (test_callback_register_double); armv7; gcc 4.5.1

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be closed as "out of date" as we're now up to 2.7.7? -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue828450] sdist generates bad MANIFEST on Windows

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: @Éric did you ever ask on distutils-sig if MANIFEST is meant to be cross-platform? -- components: -Distutils2, Windows nosy: +BreamoreBoy, dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python 3.2, Python 3.3

[issue14812] Change file associations to not be a default installer feature

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: Is the thinking behind this issue changed in any way by the implementation of PEP 397 Python launcher for Windows? -- nosy: +BreamoreBoy ___ Python tracker

[issue13272] 2to3 fix_renames doesn't rename string.lowercase/uppercase/letters

2014-06-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue6094] Python fails to build with Subversion 1.7

2014-06-28 Thread John O'Connor
John O'Connor added the comment: I encountered the same problem w/ 2.7.7. Temporary workaround: SVNVERSION="Unversioned directory" ./configure make ... -- nosy: +jcon ___ Python tracker ___

[issue1158490] locale fails if LANGUAGE has multiple locales

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: The words here https://docs.python.org/3/library/locale.html#locale.getdefaultlocale read in part "envvars defaults to the search path used in GNU gettext; it must always contain the variable name 'LANG'.". I think this means that envvars should always contai

[issue12808] Coverage of codecs.py

2014-06-28 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: The patch would have to be updated to 3.5 (part of it no longer applies), but other than that I think it's fine. It may make sense to readd the comment for .getstate() to keep the state as simple as possible ("The implementation should make sure that ``0``

[issue21878] wsgi.simple_server's wsgi.input read/readline waits forever in certain circumstances

2014-06-28 Thread Robin Schoonover
Robin Schoonover added the comment: Issue also occurs if .read() is used with no size. -- title: wsgi.simple_server's wsgi.input readline waits forever for non-multipart/form-data -> wsgi.simple_server's wsgi.input read/readline waits forever in certain circumstances _

[issue12420] distutils tests fail if PATH is not defined

2014-06-28 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.5 -Python 3.3 Added file: http://bugs.python.org/file35798/distutils-12420.diff ___ Python tracker ___

[issue12420] distutils tests fail if PATH is not defined

2014-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: A minor change: distutils has is own version of sysconfig*, which is already imported into disutils/tests/test_build_ext.py. It has '_python_build' instead of 'is_python_build'. With that change, the decorators work as expected to skip the tests on installed W

[issue9725] urllib.request.FancyURLopener won't connect to pages requiring username and password

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: @Senthil can you follow up on this please. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1 ___ Python tracker ___

[issue12790] doctest.testmod does not run tests in functools.partial functions

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: @Tim is this something you could take a look at please? -- nosy: +BreamoreBoy, tim.peters ___ Python tracker ___

[issue14235] test_cmd.py does not correctly call reload()

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: The patch has not been applied to the default or 3.4 branches. -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue13954] Add regrtest option to record test results to a file

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: @Brett I assume that you'd want to follow up on this. -- nosy: +BreamoreBoy type: -> enhancement versions: +Python 3.5 -Python 3.3 ___ Python tracker __

[issue12500] Skip test_ssl.test_connect_ex() on connection error

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: @Victor would you like to follow up with your patch? -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue13272] 2to3 fix_renames doesn't rename string.lowercase/uppercase/letters

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: @Ezio can you prepare a patch for this? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ __

[issue13456] Providing a custom HTTPResponse class to HTTPConnection

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: ping. -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue5638] test_httpservers fails CGI tests if --enable-shared

2014-06-28 Thread Ned Deily
Ned Deily added the comment: I don't see where any problems were fixed but I've verified that with current default that this case works correctly if you start the tests correctly as "make test" does. LD_LIBRARY_PATH=$CWD ./python -m test ... The cgi test cases create a temporary directory, se

[issue21664] multiprocessing leaks temporary directories pymp-xxx

2014-06-28 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- assignee: -> sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue21779] test_multiprocessing_spawn fails when ran with -Werror

2014-06-28 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- assignee: -> sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue9248] multiprocessing.pool: Proposal: "waitforslot"

2014-06-28 Thread Richard Oudkerk
Richard Oudkerk added the comment: Since there are no new features added to Python 2, this would be a Python 3 only feature. I think for Python 3 it is better to concentrate on developing concurrent.futures rather than multiprocessing.Pool. -- ___

[issue10850] inconsistent behavior concerning multiprocessing.manager.BaseManager._Server

2014-06-28 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- assignee: -> sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue20155] Regression test test_httpservers fails, hangs on Windows

2014-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: After updating and rebuilding (32 bit VC express, on 64 bit Win 7), I get the same error as in msg210926, with or without -uall, even after turning my antivirus off. File "F:\Python\dev\4\py34\lib\test\test_httpservers.py", line 310, in test_invalid_request

[issue12420] distutils tests fail if PATH is not defined

2014-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I feel that conscientious users who test their installations should get a clean test. They cannot be expected to know that this is an 'expected failure' and therefore not really a failure. Test_tools has the following, which indeed works to skip on installed 3

[issue11279] test_posix and lack of "id -G" support - less noise required?

2014-06-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4ef517041573 by Jesus Cea in branch '2.7': Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris) http://hg.python.org/cpython/rev/4ef517041573 New changeset 6889fb276d87 by Jesus Cea in branch '3.4': Closes #11279:

[issue14534] Add method to mark unittest.TestCases as "do not run".

2014-06-28 Thread Victor Zhong
Victor Zhong added the comment: Hi Zach, I've pushed a fix here according to your suggestions: https://bitbucket.org/hllowrld/cpython/commits/fe10b98717a23fd914c91d42dcca383d53e924a8 Please also find attached the diff. -- hgrepos: +263 Added file: http://bugs.python.org/file35797/unnit

[issue5638] test_httpservers fails CGI tests if --enable-shared

2014-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: David, Senthil, can either of you make any sense of this? Is the described configuration supported? Or should we close this? -- nosy: +orsenthil, r.david.murray, terry.reedy ___ Python tracker

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

2014-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since Eric assigned this to himself, I will give him a chance to answer. I removed the 'easy' tag because it is not clear to me what the remaining issue is. -- ___ Python tracker

[issue21856] memoryview: test slice clamping

2014-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Seaching for "PySlice_GetIndicesEx" in .../test/*.py with Idle Find in Files did not turn up any hits. However, test.test_slice.test_indices() has several tests of clamping, including 2**100 in various combinations. The use of 2**100 was was added in #14794 t

[issue21876] os.rename(src, dst) does nothing when src and dst files are hard-linked

2014-06-28 Thread R. David Murray
R. David Murray added the comment: It may be a backward compatibility problem to change it, but although the os functions tend to be thin wrappers, we also try to be cross platform when possible and we tend to follow what the corresponding shell command does rather than what the posix API does

[issue21856] memoryview: test slice clamping

2014-06-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- title: memoryview: test slick clamping -> memoryview: test slice clamping ___ Python tracker ___ ___ Py

[issue21871] Python 2.7.7 regression in mimetypes read_windows_registry

2014-06-28 Thread Vladimir Iofik
Vladimir Iofik added the comment: Test added. -- keywords: +patch Added file: http://bugs.python.org/file35796/21871.patch ___ Python tracker ___

[issue13681] Aifc read compressed frames fix

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: @Oleg #13806 has been closed as fixed so can you take this issue forward? -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue9322] Don’t fail silently if ext_modules use absolute paths

2014-06-28 Thread Mark Lawrence
Changes by Mark Lawrence : -- components: -Distutils2 nosy: +dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python 3.2, Python 3.3 ___ Python tracker ___ _

[issue13421] PyCFunction_* are not documented anywhere

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: ping. -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue11279] test_posix and lack of "id -G" support - less noise required?

2014-06-28 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I never saw this because I use GNU 'id' on my Solaris 10 machines. Taking care of this. Thanks for the report and the persistence :-) -- assignee: -> jcea versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.2 _

[issue10445] _ast py3k : add lineno back to "args" node

2014-06-28 Thread Claudiu Popa
Claudiu Popa added the comment: It seems that this was actual the case for Python 3.2 and 3.3, but fixed in 3.4. Unfortunately, it's too late now to add those fields back, since 3.2 and 3.3 receives only security updates. So I guess this issue can be closed. -- resolution: -> out of d

[issue13670] Increase test coverage for pstats.py

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: @Andrea assuming that you get an answer to the question you posed in msg150292, will you follow up on this? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker

[issue1438480] shutil.move raises OSError when copystat fails

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: The patch would need changing to allow for the follow_symlinks parameter and the backward compatibility issues mention in msg141827. Do we wait for an updated patch, close as "won't fix" or what? -- nosy: +BreamoreBoy _

[issue10402] sporadic test_bsddb3 failures

2014-06-28 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Closed as requested. -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ __

[issue13354] tcpserver should document non-threaded long-living connections

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: Am I barking up the wrong tree, or should the docs now refer to the new asyncio module aka Tulip when mentioning "asynchronous behaviour"? -- nosy: +BreamoreBoy ___ Python tracker

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

2014-06-28 Thread Mark Lawrence
Mark Lawrence added the comment: Given "my patch is not necessary and there is no deficiency." from Jack Andrews in msg221777 please close as "not a bug". -- ___ Python tracker _

[issue21871] Python 2.7.7 regression in mimetypes read_windows_registry

2014-06-28 Thread Vladimir Iofik
Vladimir Iofik added the comment: I have attached patch to #21652 which partly reverts patch applied in #9291. I think we'll have to add one more test for this case. -- ___ Python tracker _

[issue21872] LZMA library sometimes fails to decompress a file

2014-06-28 Thread Esa Peuha
Esa Peuha added the comment: This code import _lzma with open('22h_ticks_bad.bi5', 'rb') as f: infile = f.read() for i in range(8191, 8195): decompressor = _lzma.LZMADecompressor() first_out = decompressor.decompress(infile[:i]) first_len = len(first_out) last_out = decompres

[issue21652] Python 2.7.7 regression in mimetypes module on Windows

2014-06-28 Thread Vladimir Iofik
Vladimir Iofik added the comment: Finally I got environment and some time. Attaching patch. -- keywords: +patch Added file: http://bugs.python.org/file35795/21652.patch ___ Python tracker __

[issue21856] memoryview: test slick clamping

2014-06-28 Thread Stefan Krah
Stefan Krah added the comment: And Terry is right, the actual slice clamping happens in PySlice_GetIndicesEx(), which should always produce values that are in the correct range. Hence the tests focus on slices that already are in the correct range. I'm not sure if PySlice_GetIndicesEx() itself

[issue21873] Tuple comparisons with NaNs are broken

2014-06-28 Thread akira
akira added the comment: > (a, b) < (c, d) is more like: if a != c: return a < c ... except CPython behaves (undocumented?) as: b < d if a is c or a == c else a < c the difference is in the presence of `is` operator (identity comparison instead of `__eq__`). `nan is nan` therefore `b < d` is

[issue21856] memoryview: test slick clamping

2014-06-28 Thread Stefan Krah
Stefan Krah added the comment: Since the rewrite in 3.3 many memoryview tests are actually in test_buffer.py. -- ___ Python tracker ___ __

[issue21825] Embedding-Python example code from documentation crashes

2014-06-28 Thread Pat Le Cat
Pat Le Cat added the comment: When working with the separately installed version of Python 3.4.1, which means by not using Py_SetPath() the embedding examples from your webpage work okay. So what's wrong with that function and why that allegedly missing module "encoding" that I cannot find any

[issue12808] Coverage of codecs.py

2014-06-28 Thread Walter Dörwald
Walter Dörwald added the comment: The requirement that getstate() returns a (buffer, int) tuple has to do with the fact that for text streams seek() and tell() somehow have to take the state of the codec into account. See _pyio.TextIOWrapper.(seek|tell|_pack_cookie|_unpack_cookie). However I