[issue13420] newer() function in dep_util.py discard changes in the same second

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If y

[issue13420] newer() function in dep_util.py discard changes in the same second

2017-12-08 Thread Jakub Wilk
Change by Jakub Wilk : -- nosy: -jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue13420] newer() function in dep_util.py discard changes in the same second

2017-12-07 Thread Jakub Wilk
Jakub Wilk added the comment: I don't remember why I needed it. Sorry! -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue13420] newer() function in dep_util.py discard changes in the same second

2017-09-15 Thread Éric Araujo
Éric Araujo added the comment: For 3.6 and 3.7, we can avoid the original float resolution issue thanks to stat_result.st_mtime_ns. Not sure if 2.7 should be changed. -- ___ Python tracker __

[issue13420] newer() function in dep_util.py discard changes in the same second

2017-09-15 Thread Éric Araujo
Changes by Éric Araujo : -- Removed message: https://bugs.python.org/msg302314 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue13420] newer() function in dep_util.py discard changes in the same second

2017-09-15 Thread Éric Araujo
Éric Araujo added the comment: Oh well. Re-reading #11933 I see that st_mtime is a float and may not have the required precision (53 bits for Python floats vs 64 bit for timestamps), so the proposed change would not fix this issue and reopen that one. -- _

[issue13420] newer() function in dep_util.py discard changes in the same second

2017-09-15 Thread Éric Araujo
Éric Araujo added the comment: Coming back to this, I think this should be a safe change that fixes the issue without previsible downside. Jacob, you opened a bug duplicate of this one: could you say what was the undesirable behaviour caused by the coarse resolution? (I would change os.stat(s

[issue13420] newer() function in dep_util.py discard changes in the same second

2016-06-09 Thread Jakub Wilk
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue13420] newer() function in dep_util.py discard changes in the same second

2011-11-23 Thread Éric Araujo
Éric Araujo added the comment: It’s a bit hard for me to isolate the distutils problem from the CDBS-specific parts (maybe because I’m tired :). For years, sub-second resolution was not supported by distutils, and things were okay as long as the build* commands did the file creation and inst

[issue13420] newer() function in dep_util.py discard changes in the same second

2011-11-21 Thread David Amian
David Amian added the comment: 2011/11/18 Éric Araujo > > Éric Araujo added the comment: > > > I've a project, in the setup.py file, I've a function called > update_prefix, that updates the > > 'path_project' variable with prefix arguments from setup.py > > If you runs setup.py with --prefix=

[issue13420] newer() function in dep_util.py discard changes in the same second

2011-11-18 Thread Éric Araujo
Éric Araujo added the comment: > I've a project, in the setup.py file, I've a function called update_prefix, > that updates the > 'path_project' variable with prefix arguments from setup.py > If you runs setup.py with --prefix=/usr, then the file in > 'projectname/projectnameconfig.py' is > mo

[issue13420] newer() function in dep_util.py discard changes in the same second

2011-11-18 Thread David Amian
David Amian added the comment: sorry, I didn't explain well. I've a project, in the setup.py file, I've a function called update_prefix, that updates the 'path_project' variable with prefix arguments from setup.py If you runs setup.py with --prefix=/usr, then the file in 'projectname/projectna

[issue13420] newer() function in dep_util.py discard changes in the same second

2011-11-18 Thread Éric Araujo
Éric Araujo added the comment: Hi David. Thanks for reporting the issue. I have to warn you that there is a high bar for distutils changes; due to the mass of code out there that relies on undocumented internal behavior or works around old bugs, a feature freeze is in effect and we try to b

[issue13420] newer() function in dep_util.py discard changes in the same second

2011-11-17 Thread David Amian
New submission from David Amian : Hi, I had a problem making deb packages with distutils and cdbs. Looking for any solution, I found Issue 11933 and saw that the newer() method has been changed, using [ST_MTIME] instead of st_mtime. This commit is to solve Issue 10148 that describes a bug when