Changes by Fred L. Drake, Jr. <fdr...@gmail.com>:
--
nosy: -fdrake
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9285>
___
_
Fred L. Drake, Jr. added the comment:
Is there some special treatment you think should be given to specific enum
values as well?
--
nosy: +fdrake
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Fred L. Drake, Jr. added the comment:
"in" and "not in" are not comparisons, regardless of implementation mechanics
(which could change).
They aren't really dependent on iteration, though they often correlate with
iteration.
I'd rather see them described as "contai
Fred L. Drake, Jr. added the comment:
Without the star would be right. ReST does not support nested markup, and in
this case, I don't think it would make sense anyway.
--
nosy: +fdrake
___
Python tracker <rep...@bugs.python.org>
Fred L. Drake, Jr. added the comment:
I don't recall that the issues discussed here were considered when these
classes were added; functionality was the issue at the time.
I'm not particularly opposed to adding a more data-ful repr for the
weakref-oriented mappings, but I'm not really
Fred L. Drake, Jr. added the comment:
+1
It could reasonably be argued that not sorting is a bug for already-released
3.x versions.
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
- NewCircle.com
Any advice? Thanks!
--Fred
--
Fred Stluka -- [5]mailto:f...@bristle.com -- [6]http://bristle.com/~fred/
Bristle Software, Inc -- [7]http://bristle.com -- Glad to be of service!
Open Source
Fred L. Drake, Jr. added the comment:
I don't think this is a duplicate of issue 9755; this relates to verifying the
data, and that revolves around possible process improvements.
Whether this issue should be closed is tied to whether the file has been
verified, as the issue title suggests.
I
Fred L. Drake, Jr. added the comment:
As mentioned in issue 18085, the original file was not generated, but crafted
by hand (though I don't think that really matters).
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/
Fred L. Drake, Jr. added the comment:
+1 for ValueError instead of OSError.
--
nosy: +fdrake
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Fred L. Drake, Jr. added the comment:
I've read through this, but haven't applied the patch & run tests (that's what
buildbots are for).
No objections.
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.o
Fred L. Drake, Jr. added the comment:
I see your message to python-dev, and apologize for taking so long to get to
this.
I do intend to read through your changes, and hope to be able to make time
while I'm at PyCon this coming week.
--
___
Python
Fred L. Drake, Jr. added the comment:
LGTM
Thanks for getting this documented!
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Fred L. Drake, Jr. added the comment:
Sorry; I guess I wasn't clear.
``versionadded::`` and ``versionchanged::`` are applied to specific API points
(modules, classes, methods, attributes) that are identified structurally in the
documentation. That isn't the case for this.
While a bit
Fred L. Drake, Jr. added the comment:
The ``versionadded::`` directive should only be used to annotate descriptions
of new API entries. While it would be correctly applied to the ``Chrome`` and
``Chromium`` classes, those are not separately documented here, but are only
listed in the table
Fred L. Drake, Jr. added the comment:
For anyone following along only via the tracker, it's worth noting that
proposals for new markup are welcome on the docs mailing list. More
information is available at:
https://mail.python.org/mailman/listinfo/docs
Fred L. Drake, Jr. added the comment:
If no one is planning to propose specific new markup for more fine-grained
version annotations, this issue can be closed.
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Fred L. Drake, Jr. added the comment:
Another reason to value the status-quo in this case is that this isn't just
a matter for the Python documentation; it's about the recommended usage for
the markup, which is used by many other packages.
Questions that should be discussed include:
1. Should
Fred L. Drake, Jr. added the comment:
On Fri, Feb 19, 2016 at 10:02 AM, Tony R. <rep...@bugs.python.org> wrote:
> Holy crap! You all used to use LaTeX?! :D
Python's documentation has a long & colorful history. :-)
> Well then, if this is the sort of place where the stat
New submission from Fred Rolland:
Hi,
os.path.normpath("//") returns '//'
I would expect to be '/'
>>> os.path.normpath("//")
'//'
>>> os.path.normpath("///")
'/'
>>> os.path.normpath("")
'/'
--
components:
Changes by Fred L. Drake, Jr. <fdr...@gmail.com>:
--
nosy: +fdrake
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26094>
___
_
Fred L. Drake, Jr. added the comment:
It's not at all obvious that the intention is to ensure such an argument should
be treated only as a command external to the shell.
If an application really wants to ensure the command is not handled as a shell
built-in, it should use shell=False.
Making
Fred Gansevles added the comment:
Xavier, thanks! you found it.
If I look the code again, I see that with zero, one, four and five
the context-manager (i.e. Context()) and the target (one .. five) are on
the same code-line
In the case of two and three they are on a different line.
Now
Fred Gansevles added the comment:
Xavier, thanks for looking at my post.
But, since all six invocations of the context manager are the same
- I did an 'ast.parse' and 'ast.dump' and the the six calls were *exactly* the
same (save lineno and col_offset) - why does 'zero', 'one', 'four' and 'five
New submission from Fred Gansevles:
I'm playing with the idea of making a DSL based on anonynous code blocks
I discovered that the behaviour of the context manager is different in some
cases if there are line-continuations in the 'with' command
I've attached a script that reproduces
Hi Thomas, I like what you've been doing.
I think it would also be great if the leave the loop detector would be the
actual stop condition in the recursion, applied to the arguments of the call.
That would of course force you to split the recursive function in two
functions: one to detect the
Fred L. Drake, Jr. added the comment:
Clearly I've been away from this code for a long time.
The hash support for ref objects is definitely a very special case, only
intended to support WeakKeyDictionary. We that class implemented in C, we'd
probably want the hash support for refs
Fred L. Drake, Jr. added the comment:
I don't see any reason for proxy objects to be less hashable than ref objects.
As for the p == p case, where the referent has expired, returning True if p is
p seems acceptable (along with False inequalities, and True for other
comparisons allowing
Fred L. Drake, Jr. added the comment:
ref objects behave differently: they inherit their referent's hash
value when alive, and remember it. proxy objects could be made to
behave the same way.
They could, yes, but that would break the proxy behavior, and the hash --
equality behavior
Fred L. Drake, Jr. added the comment:
Sorry for the delay. pprint_safe_key.patch looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22721
Fred L. Drake, Jr. added the comment:
Given that this has languished this long, patching historical releases seems
pointless.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2174
Changes by Fred L. Drake, Jr. fdr...@gmail.com:
--
nosy: -fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7434
___
___
Python-bugs-list
Changes by Fred L. Drake, Jr. fdr...@gmail.com:
--
nosy: -fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2292
___
___
Python-bugs-list
Fred L. Drake, Jr. added the comment:
Sorting by the repr sounds good, but if some dict keys or set members are
strings containing single-quotes, the primary sort will be on the type of quote
used for the repr, which would be surprising and significantly less useful
Fred L. Drake, Jr. added the comment:
Stability in output order from pprint is very useful in doctests (yes, some
people write documentation that they test).
I think fixing any output stability issues would be very worthwhile.
--
___
Python tracker
Fred Wheeler added the comment:
This issue should be noted in the documentation of strptime in the time and
datetime modules and/or the thread module. As it stands there is no good way
for a user of these modules to learn of this problem until one day the right
race conditions exist
I'm trying to use python classes and members to define complex data entry forms
as a meta language
The idea is to use a nice clean syntax like Python to define form content, then
render it as HTML but only as a review tool for users, The actual rendering
would go into a database to let a
New submission from Fred Stober:
While trying to encode some binary data, I encountered this behaviour of the
quopri_codec:
'\r\n\n'.encode('quopri_codec').decode('quopri_codec')
'\r\n\r\n'
'\n\r\n'.encode('quopri_codec').decode('quopri_codec')
'\n\n'
If this behaviour is really intended
Changes by Fred L. Drake, Jr. fdr...@gmail.com:
--
assignee: - fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19100
___
___
Python-bugs
Mucho apologies for rich text, I think I picked that up when replying to a post
without properly checking. Thanks for heads up.
Fred.
--
https://mail.python.org/mailman/listinfo/python-list
I'm using python 2.6 on Linux/CentOs 6.x
I'm getting ctypes to work, but getting stuck on the use of .argtypes. Can
someone point out what I'm doing. This is my first use of ctypes and it looks
like I'm getting different definitions in stackoverflow that may correspond to
different version
] On Behalf Of
Joel Goldstick
Sent: Monday, December 09, 2013 3:22 PM
To: Terry Reedy
Cc: python-list@python.org
Subject: Re: noobie needs help with ctypes
On Mon, Dec 9, 2013 at 3:15 PM, Terry Reedy
tjre...@udel.edumailto:tjre...@udel.edu wrote:
On 12/9/2013 2:24 PM, Sells, Fred wrote:
I'm using
Fred L. Drake, Jr. added the comment:
Not a foolish consistency; Guido ruled long ago that American spellings should
be used.
--
nosy: +fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19504
Fred L. Drake, Jr. added the comment:
Advising the reader to be aware of the security warnings in the API
documentation seems sufficient.
JSON isn't intended to support arbitrary data, and that's what this section is
discussing. Another section about data interchange with other applications
Fred L. Drake, Jr. added the comment:
When I read ... that can take almost any Python object ..., I don't think
the recommendation is about just a few types.
The Zope and ZODB communities certainly use pickle extensively, we're aware of
the security implications, and we send pickled data
Changes by Fred L. Drake, Jr. fdr...@gmail.com:
--
nosy: -fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18840
___
___
Python-bugs-list
Changes by Fred L. Drake, Jr. fdr...@gmail.com:
--
nosy: +fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18501
___
___
Python-bugs-list
Fred L. Drake, Jr. added the comment:
From v5 of the patch:
+ A context managers that temporarily replaces the :data:`sys.stdin` /
+ :data:`sys.stdout` / :data:`sys.stderr` stream with :class:`io.StringIO`
+ object.
I'd go with singular nouns instead of trying to map across them
Fred L. Drake, Jr. added the comment:
Joining the documentation for captured_stderr and captured_stdout makes
sense, as they can really use a single example, and the usage is
completely parallel.
I'd rather see captured_stdin handled separately, perhaps with some
additional comments
Fred L. Drake, Jr. added the comment:
+1 for issue17987_4.patch
Thanks, Dmi!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17987
Fred L. Drake, Jr. added the comment:
I'm a little surprised that still exists.
The first version was generated manually.
--
nosy: +fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18085
Fred L. Drake, Jr. added the comment:
Were I adding that today, I'd use a more verbose (but more standard)
format, like configparser or JSON. If any further use is going to be
made of it, that should be considered. Colon-delimited is a pretty
fragile format
Changes by Fred L. Drake, Jr. fdr...@gmail.com:
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17995
New submission from Fred L. Drake, Jr.:
The captured_stderr and captured_stdin context managers aren't documented, and
should be.
--
assignee: docs@python
components: Documentation
keywords: easy
messages: 189311
nosy: docs@python, fdrake
priority: normal
severity: normal
stage: needs
Changes by Fred L. Drake, Jr. fdr...@gmail.com:
--
nosy: +fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17950
___
___
Python-bugs-list
Changes by Fred L. Drake, Jr. fdr...@gmail.com:
--
nosy: -fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17868
___
___
Python-bugs-list
Fred L. Drake, Jr. added the comment:
Let's just update the docstring:
Concrete date/time and related types.
See also http://dir.yahoo.com/Reference/calendars/
For a primer on DST, including many current DST rules, see
http://webexhibits.org/daylightsaving/
Sources for time zone and DST data
When moving from windows to unix you need to run dos2unix on any programs
that use shebang (at least with python 2.6) that is installed on some
platforms but must be installed on others like CentOs but it is in their
repository.
-Original Message-
From: Python-list
Changes by Fred L. Drake, Jr. f...@fdrake.net:
--
nosy: +fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2175
___
___
Python-bugs-list
Fred L. Drake, Jr. added the comment:
I like this.
It would be especially nice if it were smart enough to split the segments after
sequences of line-ends (r'(\r?\n)+').
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17150
This is simple, but I just cannot find it after quite a bit of searching
I have this basic design
class A:
def __init__(self):
print 'I am an instance of ', self.__class__.name
class B(A):
pass
X = B
I would like this to print I am an instance of B but I keep
handler. It makes it much easier to debug.
Other than that, ditto to everyone else's response.
Fred.
--
http://mail.python.org/mailman/listinfo/python-list
Fred L. Drake, Jr. added the comment:
Better (IMO):
Wrap the meta-characters in brackets for a literal match. For example,
``'[?]'`` matches the character ``'?'``.
--
nosy: +fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
://www.killetsoft.de/p_gdlb_e.htm
Notes about the NTv2 support can be found here:
http://www.killetsoft.de/p_gdln_e.htm
Report on the quality of the coordinate transformations:
http://www.killetsoft.de/t_1005_e.htm
Fred
Email: info_at_killetsoft.de
--
http://mail.python.org/mailman/listinfo
.
I would describe myself as more of a survivalist programmer, lacking some of
the sophisticated techniques of others on the mailing list so take that into
account.
Fred.
-Original Message-
From: python-list-bounces+frsells=adventistcare@python.org
[mailto:python-list-bounces+frsells
You leave many relevant questions unanswered.
1. Is the original developer/team available or have you been left with
the code and little or no doc's?
2. How big is big in terms of the number of files/modules in the
project?
3. Is there a reasonable structure to the project in terms of
Changes by Fred L. Drake, Jr. f...@fdrake.net:
--
nosy: +fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15120
___
___
Python-bugs-list
Assuming your form has actual PDF data entry fields. I export the form to a
.fdf file, run a little script to replace fieldnames with %(fieldname)s and
save this as a staic template. At run time I'll merge the template with a
python dictionary using the % operator and shell down to pdftk to
Fred L. Drake, Jr. f...@fdrake.net added the comment:
Developers with existing code can reasonably be expected to look it up
based on what they're currently importing, so an entry that points to
the new recommended practice is good.
--
nosy: +fdrake
Steven, that's probably the most elegant explanation of the pythonic
way I've ever seen. I'm saving it for the next time upper management
want to use Java again.
-Original Message-
From: python-list-bounces+frsells=adventistcare@python.org
I find it easier to code like this
Sql = ‘’’select yadda, yadda, yadda
FROM a,b,c
Where this=that
ORDER BY deudderting’’’
With the appropriate %s(varname) and % against a dictionary rather than
positional args, but that’s just me.
From:
Fred L. Drake, Jr. f...@fdrake.net added the comment:
Removing Lightweight and changing the first paragraph to (something like)
:mod:`xml.dom.minidom` is an implementation of the Document Object Model
interface. The API is slightly simpler than the full W3C DOM, but the
implementation has
I'm looking at a variation on this theme. I currently use
Flex/ActionScript for client side work, but there is pressure to move
toward HTML5+Javascript and or iOS. Since I'm an old hand at Python, I
was wondering if there is a way to use it to model client side logic,
then generate the
Quixote may be what you want, but it's been years since I've used it and
I don't know if it is still alive and kicking. It was from MEMS if I
remember correctly.
Using django and Flex is one way to avoid html and javascript and it
works great for datagrids.
Fred.
--
http://mail.python.org
Changes by Fred L. Drake, Jr. f...@fdrake.net:
--
nosy: -fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue670664
___
___
Python-bugs-list
Wow, what an impressive turnout !
Thanks a lot, rantingrick, CM and Herbert, for the fast answers, useful
tips and especially the sample code !
Beats starting from a blank page, with a big stick, and will certainly set
me on my way much faster...
networkx does seem a bit over the top for my
Hi,
I'm a Python long-timer, but I've never had to use tools like Matplotlib
others before.
Now, for my work, I would need to learn the basics fast, for a one-time
quick-n-dirty job.
This involves a graphic comparison of RFC1918 IP subnets allocation across
several networks.
The idea is to
Fred L. Drake, Jr. f...@fdrake.net added the comment:
Chunking of the data is expected with Expat. There are no promises about
*where* chunks are broken; the underlying behavior will break at line endings,
but is not limited to that.
Setting buffer_text informs the Python wrapper that it's
FWIW
Fred Sells
--
http://mail.python.org/mailman/listinfo/python-list
I'm tring to unzip a buffer that is uploaded to django/python. I can
unzip the file in batch mode just fine, but when I get the buffer I get
a BadZipfile exception. I wrote this snippet to try to isolate the
issue but I don't understand what's going on. I'm guessing that I'm
losing some
to upload the file
All is good and moving on to the next crisis ;)
Fred.
--
http://mail.python.org/mailman/listinfo/python-list
The set module or function (depends on which python version) will do
this if you make each record a tuple.
-Original Message-
From: python-list-bounces+frsells=adventistcare@python.org
[mailto:python-list-bounces+frsells=adventistcare@python.org] On
Behalf Of Peter Otten
Sent:
Sometimes it's worth asking Why?
I assume there would be no need to rewrite if the existing code did most
of what was needed. It may be easier to ask the customer what he really
wants rather than to re-engineer a crappy solution to an obsolete
problem.
--
Hi developers,
who develops programs with geodetic functionality like world-wide coordinate
transformations or distance calculations, can work with the latest version of
my GeoDLL. The Dynamic Link Library can easily be used with any programming
language to add geodetic functionality to own
Fred L. Drake, Jr. fdr...@acm.org added the comment:
-1
Hi! We have the devguide now, and it should be the place where to look
for references and docs about contributing to Python, that means also
for the documentation.
For information specific to the Python documentation itself
Fred L. Drake, Jr. fdr...@acm.org added the comment:
People working on this should probably also look at how zc.buildout's
zc.recipe.egg handles script generation. It's similar to setuptools in that
console_script entry points are used, but it binds in the desired Python
executable as well
Fred L. Drake, Jr. fdr...@acm.org added the comment:
On Mon, Jun 6, 2011 at 11:50 AM, Éric Araujo rep...@bugs.python.org wrote:
If you make an HTTPS connection without checking the certificate, what
security does it add?
I'm in favor of cert checking, myself
Fred L. Drake, Jr. fdr...@acm.org added the comment:
On Wed, Jun 1, 2011 at 11:14 AM, anatoly techtonik techto...@gmail.com wrote:
Adding catalog-sig to CC. I can guarantee this for Windows. I'll be
near Linux box tomorrow and will try upload to PyPI from there. It
still will be more
Changes by Fred L. Drake, Jr. fdr...@acm.org:
--
nosy: +fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12043
___
___
Python-bugs-list
I'm using Python 2.4 and 2.7 for different apps. I'm happy with a
solution for either one.
I've got to talk to a url that uses a session cookie. I only need to
set this when I'm developing/debugging so I don't need a robust
production solution and I'm somewhat confused by the docs on cookielib.
Changes by Fred L. Drake, Jr. fdr...@acm.org:
--
nosy: +fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2292
___
___
Python-bugs-list mailing
Fred L. Drake, Jr. fdr...@acm.org added the comment:
And what are these people looking for? json? If so, there's
already an entry in the module index. That seems sufficient.
--
nosy: +fdrake
___
Python tracker rep...@bugs.python.org
http
Robert sigz...@gmail.com said :
Is there a push to one toolkit or the other?
If you are just now getting started, I would honestly suggest you save a
whole lot of time and dive straight into PyQt. I've tried most 'em over the
years (including some now discontinued), and in my experience Qt is
Fred L. Drake, Jr. fdr...@acm.org added the comment:
Committed for Python 3.3.0: r88717
Committed for Python 3.2.1: r88718
--
assignee: docs@python - fdrake
nosy: +fdrake
resolution: - accepted
stage: - committed/rejected
status: open - closed
versions: +Python 3.2
programs that do that kind of thing.
Looking for links, etc.
Fred
--
http://mail.python.org/mailman/listinfo/python-list
On 2/28/2011 8:14 AM, n00m wrote:
On Feb 28, 6:03 pm, Fred Marshallfmarshallxremove_th...@acm.org
wrote:
The best place for you to start: http://numpy.scipy.org/
Numpy manual: http://www.tramy.us/numpybook.pdf
OK Thanks!
Fred
--
http://mail.python.org/mailman/listinfo/python-list
I asked earlier:
How do I use wxPython or wxGlade in the context of Eclipse?
A link to a howto would be great!
I guess nobody knows or cares to answer?
:-(
--
http://mail.python.org/mailman/listinfo/python-list
How do I use wxPython or wxGlade in the context of Eclipse?
A link to a howto would be great!
Thanks,
Fred
--
http://mail.python.org/mailman/listinfo/python-list
good practice and these
things. I know what cvs is but won't likely be using it. That is,
which item in the hierarchy is best used for what?
Thanks,
Fred
--
http://mail.python.org/mailman/listinfo/python-list
?
Thanks,
Fred
--
http://mail.python.org/mailman/listinfo/python-list
101 - 200 of 542 matches
Mail list logo