gs -Zi -MDd -utf-8 -W3 -w44456
-w44457 -w44458 /Fddebug\embedded_python.vc.pdb -DUNICODE -D_UNICODE
-DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_GUI_LIB
-DQT_CORE_LIB -I..\embedded_python -I. -I..\Python-3.11.4\Include
-I..\Python-3.11.4\PC -I..\..\Qt\6.1.3\msvc2019_64\incl
Thank you Gerard! I am working on a project and needed that... :)
73, and thanks,
Dave (NK7Z)
https://www.nk7z.net
ARRL Volunteer Examiner
ARRL Technical Specialist, RFI
ARRL Asst. Director, NW Division, Technical Resources
On 2/22/23 07:03, Weatherby,Gerard wrote:
https://docs.python.org/3
Hi,
I quite like the format that JSON gives - thanks a lot!
Cheers
Dave
> On 9 Jun 2022, at 20:02, Stefan Ram wrote:
>
> Since nicety is in the eyes of the beholder, I would not
> hesitate to write a custom function in this case. Python
> has the standard modules &qu
Hi,
Before I write my own I wondering if anyone knows of a function that will print
a nicely formatted dictionary?
By nicely formatted I mean not all on one line!
Cheers
Dave
--
https://mail.python.org/mailman/listinfo/python-list
Hi,
I’ve found you also need to take care of multiple disk CD releases. These have
a format of
“1-01 Track Name”
“2-02 Trackl Name"
Meaning Disk 1 Track1, Disk 2, Track 2.
Also A and B Sides (from Vinyl LPs)
“A1-Track Name”
“B2-Track Name”
Side A, Track 1, etc.
Cheers
Dave
>
at some point, these need to replaced.
3. Other character based of name being of a non-english origin.
If find others I’ll add them.
I’m using MusicBrainz to do a fuzzy match and get the correct name.
it’s not perfect, but works for 99% of files which is good enough for me!
Cheers
Dave
> O
> On 8 Jun 2022, at 11:25, Dave wrote:
>
>myNewString = theString.replace("\u2014", “]” #just an example
Opps! Make that
myNewString = myNewString.replace("\u2014", “]” #just an example
--
https://mail.python.org/mailman/listinfo/python-list
ded to include other characters as and when they come
up by adding a line as so:
myNewString = theString.replace("\u2014", “]” #just an example
Which is what I was trying to achieve.
All the Best
Dave
> On 8 Jun 2022, at 11:17, Chris Angelico wrote:
>
> On Wed, 8 Ju
be interpreted as an integer
I can’t see of a way to do this in Python?
All the Best
Dave
> On 8 Jun 2022, at 10:14, Chris Angelico wrote:
>
> On Wed, 8 Jun 2022 at 18:12, Dave wrote:
>
>> I tried the but it doesn’t seem to work?
>> myCompareFile1 = ascii(myTitleName)
>>
PS
I’ve also tried:
myCompareFile1 = myTitleName
myCompareFile1.replace("\u2019", "'")
myCompareFile2 = myCompareFileName
myCompareFile2.replace("\u2019", "'")
Which also doesn’t work, the replace itself work but it still fails the compare?
> On 8 J
th1,' ',myLength2)
print(' ')
Console:
myCompareFile1: 'I\u2019m Mandy Fly Me'
myCompareFile2: "I'm Mandy Fly Me"
So it looks like the replace isn’t doing anything?
I’m an experienced developer but learning Python.
All the Best
Dave
--
https://mail.python.org/mailman/listinfo/python-list
I hate regEx and avoid it whenever possible, I’ve never found something that
was impossible to do without it.
> On 8 Jun 2022, at 00:49, dn wrote:
>
> On 08/06/2022 10.18, De ongekruisigde wrote:
>> On 2022-06-08, Christian Gollwitzer wrote:
>>> Am 07.06.
rotfl! Nice one!
> On 8 Jun 2022, at 00:24, 2qdxy4rzwzuui...@potatochowder.com wrote:
>
> On 2022-06-07 at 23:07:42 +0100,
> Regarding "Re: How to test characters of a string,"
> MRAB wrote:
>
>> On 2022-06-07 21:23, Dave wrote:
>>> Than
the single quote in I’m, although it has worked with other songs.
Any ideas?
All the Best
Cheers
Dave
Here is the whole function/method or whatever it’s called in Python:
#
# checkMusicFiles
A, ok will do, was just trying to be a brief as possible, will post more
fully in future.
> On 7 Jun 2022, at 23:29, Chris Angelico wrote:
>
> On Wed, 8 Jun 2022 at 07:24, Barry wrote:
>>
>>
>>
>>> On 7 Jun 2022, at 22:04, Dave wrote:
>>&g
those out tomorrow.
Thanks for your help - All the Best
Dave
> On 7 Jun 2022, at 23:01, Dave wrote:
>
> Hi,
>
> No, I’ve checked leading/trailing whitespace, it seems to be related to the
> variables that are returned from eyed3 in this case, for instance, I added a
?).
> On 7 Jun 2022, at 22:35, De ongekruisigde
> wrote:
>
> On 2022-06-07, Dave <mailto:d...@looktowindward.com>> wrote:
>> Thanks a lot for this! isDigit was the method I was looking for and couldn’t
>> find.
>>
>> I have another problem related
022-06-07 at 21:35:43 +0200,
> Dave wrote:
>
>> I’m new to Python and have a simple problem that I can’t seem to find
>> the answer.
>
>> I want to test the first two characters of a string to check if the
>> are numeric (00 to 99) and if so remove the fist thr
Mismatch - Artist: ',myArtistName,' Album:
',myAlbumName,' Track:',myTitleName,' File: ',myFile)
Thanks a lot
Dave
> On 7 Jun 2022, at 21:58, De ongekruisigde
> wrote:
>
> On 2022-06-07, Dave wrote:
>> Hi,
>>
>> I’m new to Python and have a simple problem that I can
still want
“Trinket”. I can’t for the life of work out how to do it in Python?
All the Best
Dave
--
https://mail.python.org/mailman/listinfo/python-list
Thanks! That fixed it!
> On 6 Jun 2022, at 18:46, MRAB wrote:
>
> On 2022-06-06 11:37, Dave wrote:
>> Hi,
>> I’m trying to get the ID3 tags of an mp3 file. I trying to use the
>> MusicCDIdFrame
>> method but I can’t seem to get it right. Here is a code sn
')
When I run this, I get the following error:
File "/Documents/Python/Test1/main.py", line 94, in
myCDID = myID3.id3.frames.MusicCDIdFrame(id=b'MCDI', toc=b'')
AttributeError: 'Mp3AudioFile' object has no attribute 'id3'
Any help or suggestion greatly appreciated.
All the
3.9 appeared with my old errors. I uninstalled 3.10 as 3.9 did
not appear in control panel.
Dell Inspiron 3793 Win 10
Thanks
Dave Francis
--
https://mail.python.org/mailman/listinfo/python-list
Change by Dave Shawley :
--
nosy: +dave-shawley
___
Python tracker
<https://bugs.python.org/issue43112>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Dave Evans :
It's not currently possible to use `singledispatch` with a function annotated
with a Union type, although the desired behaviour is clear.
Example:
```
from functools import singledispatch
from typing import Union
@singledispatch
def test(arg
Dave McNulla added the comment:
I understand. It's a thing I often forget in python that some parameters are
passed by value while others are passed by reference (language for parameters I
remember from C class about 30 years ago).
I do not think I would have caught that with docs, unless
New submission from Dave McNulla :
https://gist.github.com/dmcnulla/ecec8fc96a2fd07082f240eeff6888d9
I'm trying to reproduce an error in a call to a method, forcing a second call
to the method. In my test, the call_args_list is showing incorrectly (both in
debugging or running unittest
Dave Tapley added the comment:
I don't know if it helps, but I just ran in to this when I followed the advice
at (1) because I wanted to type hint a method with the type of the enclosing
class.
This broke a package I'm working on in parallel (2) because it uses
dataclasses.fields
would be appreciated. One more thing, the book says to save it
as "types.py".
Thank you,
Dave Dungan
--
https://mail.python.org/mailman/listinfo/python-list
import sho
sho.w(dataframe)
Install : pip install sho
Medium Article:
https://medium.com/@davewd/sho-w-dataframe-my-first-package-b7242088b78f
Github: https://github.com/davewd/sho
--
https://mail.python.org/mailman/listinfo/python-list
New submission from Dave Rove :
The correct handling of ANSI escape codes by the print() function may or may
not be enabled in the Windows 10 command prompt window, depending on previous
system calls. The following is quite repeatable. Comment-out the apparently
meaningless os.system
Dave Liptack added the comment:
Like goto, right-click also exhibits this behavior. Should selection_clear
also be added to right-click code?
--
___
Python tracker
<https://bugs.python.org/issue39
Dave Liptack added the comment:
OS: Windows 10 Pro
Version: 1909
OS Build: 18363.657
Python 2.7.17 and 3.8.1 were installed from https://www.python.org/downloads/
using the Windows x86-64 executable installer (3.8.1) and Windows x86-64 MSI
installer (2.7.17)
Both line numbers and code
New submission from Dave Liptack :
Python 3.8.1
IDLE 3.8.1
When COPYing text in IDLE, right-click and PASTE behaves like CUT/PASTE
This also occurs with COPY -> Go to Line -> PASTE
This does not occur with COPY -> left-click -> PASTE
--
assignee: terry.reedy
comp
Dave Lawrence added the comment:
traced to be a duplicate of https://bugs.python.org/issue28267
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Dave Lawrence added the comment:
by redefinining the Py_DECREF macro in my application:
#define Py_DECREF(op) do { if (--op->ob_refcnt == 0) fprintf(stderr, "DECREF
%s %d %p %d %s %p\n", __FILE__, __LINE__, op, Py_SIZE(op),
Py_TYPE(op)->tp_name,Py_TYPE(op)->tp_deallo
Dave Lawrence added the comment:
further investigation seems to point to this being something to do with mingw
and the dll. I have tried compiling the same test example on 64-bit linux and
in the Ubuntu WSL on windows and it works. Tests also show that the refcount of
'1' is correct
New submission from Dave Lawrence :
I am calling a python method from C using the attached code.
The Site.py file is:
import os
def find_site():
path = os.path.abspath(".")
return path
Cross compiled to Windows from Linux using mxe.cc and python 2.7.17
On 32-bit
Dave Lotton added the comment:
Mark, you are absolutely correct. I'm an idiot.
Focused on wrong thing. Thank you.
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Dave Lotton :
Using struct.pack it is not possible (Python 3.6.8 and 2.7.15) to pack more
than 256 bytes at a time.
This seems like an arbitrarily small number, and seems to be inconsistent with
the capabilities of the unpack function, which is able to unpack a larger
honoring quoted values (and stripping out the
quotes)
Dave
On 2019/11/17 08:18, Antoon Pardon wrote:
This is python 2.6->2.7 and 3.5->3.7
I need to convert a string that is a csv line to a list and vice versa.
I thought to find functions doing this in the csv module but that doesn'
this *reliably*. In that regard you
might need look at locking your C process to 1 CPU and giving it highest
priority. (man nice)
Once you have this working reliably, you could then look to convert it
to a python c-module to more tightly integrate it.
Dave
On 2019/11/14 15:00, R.Wieser wrote
Can you expand on what you are trying to accomplish with this?
It seems a small C program or library you interface python too is a
better solution. With that said, as others mentioned you might need a
real time OS or micro controller if this needs to be dead on timing.
Dave
On 2019/11/13 09
')))
{
"prog": {
"version": 123
},
"opt": {
"verbose": true
},
"hi": "Hello"
}
browse:
https://git.cinege.com/thesaurus/
or
git clone https://git.cinege.com/thesaurus/
---
Dave
--
https://mail.python.org/mailman/listinfo/python-list
Dave Johansen added the comment:
I can't. I just know that I'm running this process and this crash happens. Any
recommendations on how to diagnose that?
--
___
Python tracker
<https://bugs.python.org/issue38
New submission from Dave Johansen :
We're using SQLAlchemy 1.3.10 with pyodbc 4.0.27 in the python:3.7.5-alpine
docker image to connect to a MySQL 13.0.5026.0 database and it's crashing with
the following error:
python: malloc.c:2406: sysmalloc: Assertion `(old_top == initial_top (av
On Saturday, September 21, 2019 at 2:46:15 PM UTC-4, boB Stepp wrote:
> On Sat, Sep 21, 2019 at 1:01 PM Dave Martin wrote:
> >
> > On Saturday, September 21, 2019 at 1:33:12 PM UTC-4, Terry Reedy wrote:
> > > On 9/21/2019 11:53 AM, Dave Martin wrote:
> [...]
>
On Saturday, September 21, 2019 at 1:33:12 PM UTC-4, Terry Reedy wrote:
> On 9/21/2019 11:53 AM, Dave Martin wrote:
> >
> > # starAbsMags=df['radial_velocity']
> >
> > #GaiaPandasEscapeVelocityCode
> >
> > import pandas as pd
> > import numpy as
On Saturday, September 21, 2019 at 12:44:27 PM UTC-4, Brian Oney wrote:
> On Sat, 2019-09-21 at 08:57 -0700, Dave Martin wrote:
> > On Saturday, September 21, 2019 at 11:55:29 AM UTC-4, Dave Martin
> > wrote:
> > > what does expected an indented block
> >
> &g
On Saturday, September 21, 2019 at 11:55:29 AM UTC-4, Dave Martin wrote:
> what does expected an indented block
*what does an indented block mean?
--
https://mail.python.org/mailman/listinfo/python-list
what does expected an indented block
--
https://mail.python.org/mailman/listinfo/python-list
# starAbsMags=df['radial_velocity']
#GaiaPandasEscapeVelocityCode
import pandas as pd
import numpy as np
from astropy.io import fits
import astropy
import matplotlib.pyplot as plt
#get the combined data and load the fits files
fits_filename="Gaia_DR2/gaiadr2_100pc.fits"
df=pd.DataFrame()
On 9/4/19 1:38 PM, Rhodri James wrote:
On 04/09/2019 18:12, Dave via Python-list wrote:
My question is why, and where do I find a reliable source of
information on formatting numbers? Not interested in replacement
values like '{} {}'.format(1, 2).
Here:
https://docs.python.org/3/library
On 9/4/19 1:25 PM, Chris Angelico wrote:
On Thu, Sep 5, 2019 at 3:16 AM Dave via Python-list
wrote:
All,
I have been going in circles trying to format a floating point number so
there is only 1 decimal place. In reading all of the gobble-gook that
passes for Python advice, it looked like I
interested in replacement values like '{}
{}'.format(1, 2).
Thanks,
Dave
--
https://mail.python.org/mailman/listinfo/python-list
On 8/19/19 1:53 PM, Barry Scott wrote:
On 19 Aug 2019, at 13:43, Dave via Python-list wrote:
The plan for an app that I'm doing was to use SQLite for data and to hold the
preference settings as some apps do. The plan was changed last week to allow
the user to select the location
On 8/19/19 9:22 AM, Malcolm Greene wrote:
Hi Dave,
The plan for an app that I'm doing was to use SQLite for data and to hold the
preference settings as some apps do. The plan was changed last week to allow
the user to select the location of the data files (SQLite) rather than putting
have other Python app developers done in this case?
Thanks,
Dave
--
https://mail.python.org/mailman/listinfo/python-list
now I just need to know how to populate the join table
and anything else that has escaped me.
SQL is cool. SQL + Python (or C or C++ or Java) is more cool. Lot
easier to understand than pointer math in C.
Dave,
--
https://mail.python.org/mailman/listinfo/python-list
On 8/13/19 2:59 PM, Chris Angelico wrote:
On Wed, Aug 14, 2019 at 4:50 AM Dave via Python-list
wrote:
Some of the tables are related. For example:
Hiking_Table Trails_TableJoining_Table
--
hike_id PK
On 8/13/19 4:45 PM, MRAB wrote:
On 2019-08-13 19:59, Chris Angelico wrote:
On Wed, Aug 14, 2019 at 4:50 AM Dave via Python-list
wrote:
Some of the tables are related. For example:
Hiking_Table Trails_Table Joining_Table
es, I think I use joins,
but a pointer on how to do this would also be appreciated.
Thanks,
Dave
--
https://mail.python.org/mailman/listinfo/python-list
()
| except Error as e:
| print(e)
What else?
Dave,
--
https://mail.python.org/mailman/listinfo/python-list
New submission from dave :
The following example code fails in Python 3.7.3 64 bit (both lines are
displayed in black).
It works correctly in 3.7.2 and earlier.
import tkinter as tk
import tkinter.ttk as ttk
root = tk.Tk()
ttk.Label(root, text='This is a RED label', foreground='red').pack
Dave Malcolm added the comment:
I think when I wrote this I was over-optimistically thinking that we could just
add more patterns, but if it's becoming a pain, then your approach looks good
to me.
--
nosy: +dmalcolm
___
Python tracker
<ht
New submission from Dave Johansen :
Using LoggerAdapter is a convenient way to add extra info to all logs, but it
doesn't have the fatal() method like Logger, so it isn't a drop in replacement
like it should be.
--
components: Library (Lib)
messages: 343941
nosy: Dave Johansen
Dave Page added the comment:
The submitted patch from websurfer5 resolves the issue for me.
--
___
Python tracker
<https://bugs.python.org/issue35070>
___
___
On 4/29/19 3:26 PM, Terry Reedy wrote:
On 4/29/2019 1:38 PM, Dave wrote:
As apps get more complex we add modules, or Python files, to organize
things. One problem I have is a couple of data classes (list of
dictionary objects) in a few modules that are used in a number of the
other modules
a little confusing.
So what are the suggestions from people that have been down this road
before?
Thanks,
Dave
--
https://mail.python.org/mailman/listinfo/python-list
Change by Dave Nguyen :
--
keywords: +patch
pull_requests: +12796
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Dave Page added the comment:
I'm seeing what appears to my uneducated eyes to be the same failure on Mojave,
on a brand new machine which is entirely standalone:
12:16:00 0:00:07 load avg: 4.24 [133/416/1] test_posix failed
12:16:00 test test_posix failed -- Traceback (most recent call last
On 4/1/19 10:29 PM, Cameron Simpson wrote:
On 01Apr2019 22:02, Dave wrote:
As classes get more complex, it is good to call a function to do some
of the processing, and make the code easier to follow. My question is
how to do that? I've attached some silly code to illustrate the
point
On 4/1/19 10:02 PM, Dave wrote:
As classes get more complex, it is good to call a function to do some of
the processing, and make the code easier to follow. My question is how
to do that? I've attached some silly code to illustrate the point. The
error is: name 'validScale' is not defined
On 4/1/19 10:12 PM, Irv Kalb wrote:
On Apr 1, 2019, at 7:02 PM, Dave wrote:
As classes get more complex, it is good to call a function to do some of the
processing, and make the code easier to follow. My question is how to do that?
I've attached some silly code to illustrate the point
not the correct way. Suggestions?
Dave,
class TempConverter():
""" Temperature Converter converts a tempeature from one scale
to another scale. For example: 32, F, C will return
0 degrees C
"""
def __init__(self, temperature, scale, newSc
On 3/26/19 4:29 AM, Terry Reedy wrote:
On 3/25/2019 8:10 PM, Dave wrote:
I use Python3 3, and expected learning how to use configparser would
be no big deal. Well! Seems there is configparser, stdconfigparser, and
configparser is what IDLE uses. I would read the extra or deleted
features
On 3/25/19 10:58 PM, DL Neil wrote:
Dave,
On 26/03/19 1:10 PM, Dave wrote:
I use Python3 3, and expected learning how to use configparser would
be no big deal. Well! Seems there is configparser, stdconfigparser,
and safeconfigparser, and multiple ways to set the section and entries
')
parser.set('default', 'numToDisp', '12')
parser.set('default', 'pi', '3.14')
The advantage of the former is that it will handle 'DEFAULT', while the
last one won't. I like the former, but not sure if it is the future.
Thanks,
Dave
--
https://mail.python.org/mailman/listinfo/python-list
On 2/27/19 11:38 AM, Rhodri James wrote:
On 27/02/2019 15:37, Dave wrote:
* GUI must support all desktops with a native look and feel. Kivy
fails this one. Will have mobile apps later in the year, so it would
be nice if one GUI fits all, but am ok with 2 gui's if needed.
This requirement
Sorry about the duplicate messages - bad hair day!
Dave,
On 2/27/19 10:38 AM, Dave wrote:
On 1/14/19 2:08 PM, Mike Driscoll wrote:
Hi,
I just thought I would let you all know that I am working on my 2nd
wxPython book, "Creating GUI Applications with wxPython". This one
wil
ll, but am ok with 2 gui's if needed.
* A great book taking me from beginner to expert.
Dave,
--
https://mail.python.org/mailman/listinfo/python-list
ll, but am ok with 2 gui's if needed.
* A great book taking me from beginner to expert.
Dave,
--
https://mail.python.org/mailman/listinfo/python-list
/Unix/CUPS.
* GUI must support all desktops with a native look and feel. Kivy fails
this one. Will have mobile apps later in the year, so it would be nice
if one GUI fits all, but am ok with 2 gui's if needed.
* A great book taking me from beginner to expert.
Dave,
--
https://mail.python.o
Dave Shawley added the comment:
PR 10296 is my implementation of a unittest.TestCase subclass solution to this
issue. This comment explains the approach and rationale in detail. Let's
discuss this and see if the implementation meets expectations or should be
abandoned.
I refactored
Dave Shawley added the comment:
Hi everyone, I'm trying to reboot conversation on this issue since I would love
for this to land in Python 3.8. At the recommendation of Terry Jan Reedy, here
is my summary of where I think that the discussion is currently. If anything
is misrepresented
. File location? I'm using Ubuntu and I believe that the correct
location would be home/.config/ . What about Mac and Windows?
Would like to find a Python library that handles all of this, but so far...
Thanks,
Dave
--
https://mail.python.org/mailman/listinfo/python-list
and properties.
Thanks,
Dave
--
https://mail.python.org/mailman/listinfo/python-list
On 1/7/19 11:14 AM, Thomas Jollans wrote:
On 07/01/2019 15.51, Dave wrote:
I need to select a Python GUI. It needs to cover all of the desktops
(Linux, Windows, Apple) and hopefully mobile (Android and Ios). I'm
looking at Kivy, but have yet to find an example app. that has a native
looking
of some examples?
Thanks,
Dave
--
https://mail.python.org/mailman/listinfo/python-list
Dave Shawley added the comment:
I added a different implementation for consideration
(https://github.com/python/cpython/pull/10296).
--
pull_requests: +9606
___
Python tracker
<https://bugs.python.org/issue32
Change by Dave Shawley :
--
keywords: +patch
pull_requests: +9605
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32971>
___
___
Py
Dave Shawley added the comment:
Hi all, I took a slightly different direction for adding async/await support to
the unittest library. I summarized the approach that I took in a message to
python-ideas
(https://mail.python.org/pipermail/python-ideas/2018-October/054331.html) and a
branch
Dave Malcolm added the comment:
Thanks!
--
___
Python tracker
<https://bugs.python.org/issue9263>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Dave Opstad :
In 3.6 I get this:
>>> x = (100 * 20)
>>> x is 2000
False
>>> (100 * 20) is 2000
False
But in 3.7, I get this:
>>> x = (100 * 20)
>>> x is 2000
False
>>> (100 * 20) is 2000
True
This isn't necessaril
Dave Malcolm <dmalc...@redhat.com> added the comment:
On Fri, 2018-02-23 at 00:16 +, Cheryl Sabella wrote:
> Cheryl Sabella <chek...@gmail.com> added the comment:
>
> Did PEP553 make this issue obsolete?
I *think* they have slightly different scope: if I'm reading it r
Dave Opstad <dave.ops...@monotypeimaging.com> added the comment:
I think this was my mistake; when I used pydoc3 instead of pydoc it ran to
completion. Please feel free to close this; sorry for the noise.
--
___
Python tracke
New submission from Dave Opstad <dave.ops...@monotypeimaging.com>:
I'm running 3.6.4 on Mac OS X 10.13.2, bash shell. Doing:
$ pydoc modules
causes:
Please wait a moment while I gather a list of all available modules...
Fatal Python error: PyThreadState_Get: no current thread
Abort t
Dave Challis <sui...@gmail.com> added the comment:
My mistake, it appears to be related to the OS it's running on rather than the
version (I just happened to test with different versions on different OSes).
On Mac OS X (with 3.6.2):
>>>
New submission from Dave Challis <sui...@gmail.com>:
Tested in python 3.6.2:
>>> import datetime
>>> datetime.datetime.min.strftime('%Y')
'1'
Expected output:
'0001'
This means that strftime and strptime aren't necessarily symmetric, e.g.:
>&g
Dave Malcolm added the comment:
The problem is that there are so many variables:
* which version of which compiler
* optimization flags
* which version of gdb
* which CPU architecture
etc (and the compiler and/or gdb could be carrying patches from downstream
distributors...)
All of these can
1 - 100 of 4139 matches
Mail list logo