[issue36245] PCBuild/build.bat errors, probably from space characters in paths

2019-03-17 Thread Jess
Jess added the comment: How long should I be waiting on review? -- ___ Python tracker <https://bugs.python.org/issue36245> ___ ___ Python-bugs-list mailin

[issue36245] PCBuild/build.bat errors, probably from space characters in paths

2019-03-14 Thread Jess
Jess added the comment: Nevermind, the hold over issue was from another bit. Updated the change request. -- versions: +Python 2.7, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue36

[issue36245] PCBuild/build.bat errors, probably from space characters in paths

2019-03-14 Thread Jess
Jess added the comment: Looks like the brackets are fine even in the bracket case Steve mentioned. @echo off if NOT DEFINED ABCDEF ( echo "all good" ) if NOT DEFINED ABCDE ( echo "all good2" ) set ABCDE= if NOT DEFINED ABCDE ( echo "sadness" ) if [%A

[issue36245] PCBuild/build.bat errors, probably from space characters in paths

2019-03-14 Thread Jess
Jess added the comment: Alas, "IF NOT DEFINED PYTHON" isn't working - as it's even more possible to get into a state where PYTHON="" than it is for a bracket to be in the python name. Thus, the system would think it declared where we would have created it

[issue36230] Please sort assertSetEqual's output

2019-03-08 Thread Jess
Jess added the comment: Good call on the repr(), hadn't noted the "3+4j" issue - __gt__ and __lt__ do work for compare there, but not sorted(). *shrug* Will make sure the solution takes that into account in some fashion. Bit slower as I expected as setting up the windows en

[issue36245] PCBuild/build.bat errors, probably from space characters in paths

2019-03-08 Thread Jess
Change by Jess : -- keywords: +patch pull_requests: +12229 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36245> ___ ___ Python-

[issue36245] PCBuild/build.bat errors, probably from space characters in paths

2019-03-08 Thread Jess
Jess added the comment: Note: the error is actually in get_externals.bat, which is called by build.bat. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36245] PCBuild/build.bat errors, probably from space characters in paths

2019-03-08 Thread Jess
New submission from Jess : Have a fix for this that I'll send off shortly. What I see with the current head (my username was replaced with "Foo Bar" in this example: > Using "C:\Users\Foo > Bar\cpython\PCbuild\\..\externals\pythonx86\tools\python.exe" (found i

[issue36230] Please sort assertSetEqual's output

2019-03-07 Thread Jess
Jess added the comment: Wow! Thank you, very fast and the precise snippet of info I needed. Will try to send something off today. Very exciting. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36230] Please sort assertSetEqual's output

2019-03-07 Thread Jess
New submission from Jess : Currently https://docs.python.org/2/library/unittest.html#unittest.TestCase.assertSetEqual returns a random list, but I'd like to see it sorted for ease of reading which running tests. Should be small, but useful. Happy to make the edit myself, but have no

[issue35502] Memory leak in xml.etree.ElementTree.iterparse

2018-12-14 Thread Jess Johnson
Change by Jess Johnson : -- versions: +Python 3.6 ___ Python tracker <https://bugs.python.org/issue35502> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35502] Memory leak in xml.etree.ElementTree.iterparse

2018-12-14 Thread Jess Johnson
New submission from Jess Johnson : When given xml that that would raise a ParseError, but parsing is stopped before the ParseError is raised, xml.etree.ElementTree.iterparse leaks memory. Example: import gc from io import StringIO import xml.etree.ElementTree as etree import objgraph def

[issue24564] shutil.copytree fails when copying NFS to NFS

2015-07-04 Thread Jess Hamrick
Jess Hamrick added the comment: Some further information: if I run copystat directly on 3.4.3, I get essentially the same error as on 3.4.0. So really it only looks like the difference is just in how the error is reported: Traceback (most recent call last): File "bug_demo.py", l

[issue24564] shutil.copytree fails when copying NFS to NFS

2015-07-04 Thread Jess Hamrick
New submission from Jess Hamrick: shutil.copytree seems to fail when copying files across NFS filesystems. In this example (see bug_demo.py), /tmp is a normal ext4 filesystem and the current working directory is NFS (version 4). Interestingly, it works fine to to copy between ext4 and NFS

[issue5434] datetime.monthdelta

2010-06-01 Thread Jess Austin
Changes by Jess Austin : -- status: open -> pending ___ Python tracker <http://bugs.python.org/issue5434> ___ ___ Python-bugs-list mailing list Unsubscri

[issue5434] datetime.monthdelta

2010-06-01 Thread Jess Austin
Jess Austin added the comment: Yeah, the masses have spoken, and their silence is deafening. I was going to downplay the "health" of the package based on the number of downloads, but then I looked at the "futures" page. b^) Seriously, getting this in would require a co

[issue5516] equality not symmetric for subclasses of datetime.date and datetime.datetime

2010-05-25 Thread Jess Austin
Jess Austin added the comment: Could you provide some reasoning for such a resolution? I had thought that "won't fix" indicated that the issue wasn't actually an error in behavior. I grant that most people will never see this particular error,

[issue5516] equality not symmetric for subclasses of datetime.date and datetime.datetime

2010-04-21 Thread Jess Austin
Jess Austin added the comment: To be systematic, without the patch: >>> D(1900, 1, 1) > DT(1900, 1, 1) False >>> D(1900, 1, 1) < DT(1900, 1, 1) False >>> DT(1900, 1, 1) > D(1900, 1, 1) Traceback (most recent call last): File "", line 1, in Type

[issue7116] str.join() should be documented as taking an iterable

2009-10-12 Thread Jess Austin
Changes by Jess Austin : -- keywords: +patch Added file: http://bugs.python.org/file15111/jointakesiterables.diff ___ Python tracker <http://bugs.python.org/issue7

[issue7116] str.join() should be documented as taking an iterable

2009-10-12 Thread Jess Austin
New submission from Jess Austin : In its __doc__ string and in the documentation, str.join() is described as taking a sequence. This is not general enough; it actually takes any iterable of strings: >>> ','.join(str(x) for x in range(5)) '0,1,2,3,4' Mayb

[issue5434] datetime.monthdelta

2009-04-22 Thread Jess Austin
Changes by Jess Austin : Removed file: http://bugs.python.org/file13696/monthdelta2.diff ___ Python tracker <http://bugs.python.org/issue5434> ___ ___ Python-bugs-list m

[issue5434] datetime.monthdelta

2009-04-22 Thread Jess Austin
Changes by Jess Austin : Added file: http://bugs.python.org/file13743/monthdelta3.diff ___ Python tracker <http://bugs.python.org/issue5434> ___ ___ Python-bugs-list m

[issue5434] datetime.monthdelta

2009-04-22 Thread Jess Austin
Jess Austin added the comment: The backport through python 2.3 is up at PyPI: http://pypi.python.org/pypi?name=MonthDelta&:action=display Download source and install, or just easy_install. Documentation is also linked at PyPI. -- ___ Py

[issue5434] datetime.monthdelta

2009-04-15 Thread Jess Austin
Changes by Jess Austin : Removed file: http://bugs.python.org/file13309/monthdelta.diff ___ Python tracker <http://bugs.python.org/issue5434> ___ ___ Python-bugs-list m

[issue5434] datetime.monthdelta

2009-04-15 Thread Jess Austin
Changes by Jess Austin : Added file: http://bugs.python.org/file13696/monthdelta2.diff ___ Python tracker <http://bugs.python.org/issue5434> ___ ___ Python-bugs-list m

[issue2706] datetime: define division timedelta/timedelta

2009-03-24 Thread Jess Austin
Jess Austin added the comment: A comment on the two most recent patches... For both of these, we can do the following: >>> from datetime import timedelta >>> td = timedelta(12) >>> td datetime.timedelta(12) >>> td //= 3 >>> td datetime.

[issue5434] datetime.monthdelta

2009-03-24 Thread Jess Austin
Jess Austin added the comment: With the rejection of Issue 5530, it seems best for the name of this class to remain lowercase. Mixing casing schemes within the same module would be perverse. -- title: datetime.MonthDelta -> datetime.monthde

[issue5520] refactor test_datetime.py

2009-03-24 Thread Jess Austin
Jess Austin added the comment: I don't see a point to this one since Issue 5530 was rejected. If someone else wants this they can reopen it. -- status: open -> closed ___ Python tracker <http://bugs.python.or

[issue5516] equality not symmetric for subclasses of datetime.date and datetime.datetime

2009-03-23 Thread Jess Austin
Jess Austin added the comment: The attached patch fixes this issue, and updates the tests. Contrary to my initial impression, it seems that a previous developer knew of this behavior and thought it correct; see the comment of the test I deleted. I left memcmp() in. -- keywords

[issue5530] datetime class names should obey PEP 8 CapWords convention

2009-03-20 Thread Jess Austin
New submission from Jess Austin : Class names that comply with the CapWords naming convention described in PEP 8 (http://www.python.org/dev/peps/pep-0008/) are preferred. See the recent discussion that included the BDFL's recommendations at http://mail.python.org/pipermail/python-dev/2009-

[issue5520] refactor test_datetime.py

2009-03-20 Thread Jess Austin
Changes by Jess Austin : Removed file: http://bugs.python.org/file13376/test_datetime.diff ___ Python tracker <http://bugs.python.org/issue5520> ___ ___ Python-bugs-list m

[issue5520] refactor test_datetime.py

2009-03-20 Thread Jess Austin
Changes by Jess Austin : Added file: http://bugs.python.org/file13385/test_datetime.diff ___ Python tracker <http://bugs.python.org/issue5520> ___ ___ Python-bugs-list m

[issue5520] refactor test_datetime.py

2009-03-19 Thread Jess Austin
New submission from Jess Austin : I've broken out this refactoring from some of the other datetime stuff I'm doing. The patch needn't be applied until the other issues that depend on it are. -- components: Library (Lib) files: test_datetime.diff keywords: patch messa

[issue5516] equality not symmetric for subclasses of datetime.date and datetime.datetime

2009-03-18 Thread Jess Austin
Changes by Jess Austin : -- title: equality not reflexive for subclasses of datetime.date and datetime.datetime -> equality not symmetric for subclasses of datetime.date and datetime.datetime ___ Python tracker <http://bugs.python.org/iss

[issue5516] equality not reflexive for subclasses of datetime.date and datetime.datetime

2009-03-18 Thread Jess Austin
Changes by Jess Austin : -- title: equality not reflixive for subclasses of datetime.date and datetime.datetime -> equality not reflexive for subclasses of datetime.date and datetime.datetime ___ Python tracker <http://bugs.python.org/iss

[issue5516] equality not reflixive for subclasses of datetime.date and datetime.datetime

2009-03-18 Thread Jess Austin
New submission from Jess Austin : While the datetime.date and datetime.datetime classes consistently handle mixed-type comparison, their subclasses do not: >>> from datetime import date, datetime, time >>> d = date.today() >>> dt = datetime.combine(d, time()) >>

[issue5434] datetime.MonthDelta

2009-03-12 Thread Jess Austin
Changes by Jess Austin : Removed file: http://bugs.python.org/file13258/datetimemodule.diff ___ Python tracker <http://bugs.python.org/issue5434> ___ ___ Python-bug

[issue5434] datetime.MonthDelta

2009-03-12 Thread Jess Austin
Changes by Jess Austin : Added file: http://bugs.python.org/file13309/monthdelta.diff ___ Python tracker <http://bugs.python.org/issue5434> ___ ___ Python-bugs-list mailin

[issue5434] datetime.MonthDelta

2009-03-11 Thread Jess Austin
Jess Austin added the comment: This prototype python implementation passes the same tests that the C implementation in the patch does (modulo import differences). I'll probably backport this for 2.x versions. -- Added file: http://bugs.python.org/file13307/monthdel

[issue5434] datetime.MonthDelta

2009-03-06 Thread Jess Austin
Jess Austin added the comment: Rietveld link: http://codereview.appspot.com/25079 ___ Python tracker <http://bugs.python.org/issue5434> ___ ___ Python-bugs-list mailin

[issue5434] datetime.MonthDelta

2009-03-06 Thread Jess Austin
Jess Austin added the comment: This is my first try at a patch. All functionality, tests, and documentation are included, but I won't be surprised if I need to make some changes! Please let me know. -- keywords: +patch Added file: http://bugs.python.org/file13258/datetimemodule

[issue5434] datetime.MonthDelta

2009-03-06 Thread Jess Austin
New submission from Jess Austin : datetime is a wonderful module. Perhaps the only inconvenient aspect of using it is dealing with month calculations and comparisons. This patch adds a simple class, monthdelta, which represents date offsets in terms of months. It supports basic integer-like

[issue3107] memory leak in make test (in "test list"), 2.5.2 not 2.5.1, Linux 64bit

2008-08-15 Thread jess
jess <[EMAIL PROTECTED]> added the comment: This appears to be the same issue as in: 30552 months ago test_list on 64-bit platforms The failing test appears to be test_bigrepeat: def test_bigrepeat(self): x = self.type2test([0]) x *= 2**16 self.assert