hello ,
I finally got around to release, PLEASE report anything failings to me.
summary of changes since 0.10
* General
- Apply [ 2714873 ] Fix for the overwritting of document attributes.
- Support embedded aliases within hyperlink references.
- Fix [ 228 ] try local import of docutils
Ethan Furman wrote:
So, my question boils down to: in Python 3 how is dict.keys() different
from dict? What are the use cases?
I just grepped through /usr/lib/python3, and could not identify a single
line where some_object.keys() wasn't either wrapped in a list (or set,
sorted, max) call,
Le 23/07/2013 17:25, Steven D'Aprano a écrit :
On Tue, 23 Jul 2013 13:42:13 +0200, Vincent Vande Vyvre wrote:
On Windows a script where de endline are the system line sep, the files
are open with a double line in Eric4, Notepad++ or Gedit but they are
correctly displayed in the MS Bloc-Notes.
On Wed, Jul 24, 2013 at 5:02 PM, Vincent Vande Vyvre
vincent.vandevy...@swing.be wrote:
In fact, in my code, the original file is open in binary mode, the line
separator is translate to \n and it is parsed by the module tokenise.
I'm not a Windows user but my code must be run also on Win, this
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Jul 24, 2013 at 5:47 PM, navnathgad...@gmail.com wrote:
--
http://mail.python.org/mailman/listinfo/python-list
Not a Python question. I'm sure Google can help you with this one -
just take three words from your question, 'user specific cronjobs',
and you'll get plenty of advice.
Does anybody have an email address (or anything, really) for Jim
Hugunin? He left Google in May and appears to have dropped off the face
of the internet. Please email me privately.
I swear I will use the information only for good and never for evil,
//arry/
--
On Mon, Jul 22, 2013, at 05:33 PM, Larry Hastings wrote:
Does anybody have an email address (or anything, really) for Jim
Hugunin? He left Google in May and appears to have dropped off the face
of the internet. Please email me privately.
I swear I will use the information only for
David M. Cotter wrote:
For Mac, I understand i need to create (?) a python.dylib,
If your Python was installed as a framework, you should
already have one. Just link your application with -framework Python.
Now for Windows: same thing, i think i must create a .dll, right?
Again, you should
On Jul 24, 2013 7:25 AM, Peter Otten __pete...@web.de wrote:
Ethan Furman wrote:
So, my question boils down to: in Python 3 how is dict.keys() different
from dict? What are the use cases?
I just grepped through /usr/lib/python3, and could not identify a single
line where
On 2013-07-24, Peter Otten __pete...@web.de wrote:
So, my question boils down to: in Python 3 how is dict.keys()
different from dict? What are the use cases?
I just grepped through /usr/lib/python3, and could not identify
a single line where some_object.keys() wasn't either wrapped in
a
Oscar Benjamin wrote:
On Jul 24, 2013 7:25 AM, Peter Otten __pete...@web.de wrote:
Ethan Furman wrote:
So, my question boils down to: in Python 3 how is dict.keys()
different
from dict? What are the use cases?
I just grepped through /usr/lib/python3, and could not identify a single
I do not find the thread, where a Python core dev spoke
about French, so I'm putting here.
This stupid Flexible String Representation splits Unicode
in chunks and one of these chunks is latin-1 (iso-8859-1).
If we consider that latin-1 is unusable for 17 (seventeen)
European languages based on
Le samedi 13 juillet 2013 01:13:47 UTC+2, Michael Torrie a écrit :
On 07/12/2013 09:59 AM, Joshua Landau wrote:
If you're interested, the basic of it is that strings now use a
variable number of bytes to encode their values depending on whether
values outside of the ASCII range and
On Wed, Jul 24, 2013 at 11:40 PM, wxjmfa...@gmail.com wrote:
Short example. Writing an editor with something like the
FSR is simply impossible (properly).
jmf, have you ever written an editor with *any* string representation?
Are you speaking from any level of experience at all?
ChrisA
--
I've screwed up plenty of times in python, but can write code like a pro
when I'm feeling better(on SSI and medicaid). An editor can be built
simply, but it's preference that makes the difference. Some might have used
tkinter, gtk. wxpython or other methods for the task.
I think the main issue in
I've screwed up plenty of times in python, but can write code like a pro
when I'm feeling better(on SSI and medicaid). An editor can be built
simply, but it's preference that makes the difference. Some might have used
tkinter, gtk. wxpython or other methods for the task.
I think the main issue in
On Thu, Jul 25, 2013 at 12:17 AM, David Hutto dwightdhu...@gmail.com wrote:
I've screwed up plenty of times in python, but can write code like a pro
when I'm feeling better(on SSI and medicaid). An editor can be built simply,
but it's preference that makes the difference. Some might have used
On 7/23/13 5:53 PM, Gilles wrote:
On Mon, 22 Jul 2013 10:14:15 -0400, Kevin Walzer k...@codebykevin.com
wrote:
http://www.hmailserver.com
Thanks. hMailServer was one of the apps I checked, and I was just
making sure there weren't something simpler, considering my needs,
ideally something like
On 07/24/2013 07:40 AM, wxjmfa...@gmail.com wrote:
Sorry, you are not understanding Unicode. What is a Unicode
Transformation Format (UTF), what is the goal of a UTF and
why it is important for an implementation to work with a UTF.
Really? Enlighten me.
Personally, I would never use UTF as a
What do you mean? Why would you want to create a temporary list just to
iterate over it explicitly or implicitly (set, sorted, max,...)?
Because while iterating over the keys, he might also want to add or
delete keys to/from the dict. You can't do that while iterating over
them in-place.
This
On 07/24/2013 08:34 AM, Chris Angelico wrote:
Frankly, Python's strings are a *terrible* internal representation
for an editor widget - not because of PEP 393, but simply because
they are immutable, and every keypress would result in a rebuilding
of the string. On the flip side, I could quite
On Tue, Jul 23, 2013 at 8:11 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Basically, views are set-like, not list-like.
The keys and items views are set-like. The values view is not.
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Jul 25, 2013 at 12:47 AM, Michael Torrie torr...@gmail.com wrote:
On 07/24/2013 07:40 AM, wxjmfa...@gmail.com wrote:
Sorry, you are not understanding Unicode. What is a Unicode
Transformation Format (UTF), what is the goal of a UTF and
why it is important for an implementation to work
On Wed, Jul 24, 2013 at 8:58 AM, Skip Montanaro s...@pobox.com wrote:
What do you mean? Why would you want to create a temporary list just to
iterate over it explicitly or implicitly (set, sorted, max,...)?
Because while iterating over the keys, he might also want to add or
delete keys
==
pyspread 0.2.4
==
Pyspread 0.2.4 is released.
Besides Linux, the new version also runs on Windows (Windows 7 64bit
and Windows XP 32bit tested).
About pyspread
==
Pyspread is a non-traditional spreadsheet application that is based on
and written in the
On 7/23/2013 7:02 PM, Terry Reedy wrote:
On 7/23/2013 5:52 PM, st...@divillo.com wrote:
I think that itertools may be able to do what I want but I have not
been able to figure out how.
What you want is a flattened product with unchanged components of the
successive products omitted in the
On 7/23/2013 7:41 PM, Dennis Lee Bieber wrote:
On 23 Jul 2013 15:25:12 GMT, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info declaimed the following:
On Tue, 23 Jul 2013 13:42:13 +0200, Vincent Vande Vyvre wrote:
On Windows a script where de endline are the system line sep, the files
are
well, umm, gosh, now i feel quite silly. that was easy. okay that's done.
next: i'd like to redirect the output of any print statements to my C
function:
voidLog(const unsigned char *utf8_cstrP);
on the mac, python output sys.stdout goes into the debug console if you're in
the
On 07/24/2013 05:51 AM, Oscar Benjamin wrote:
On Jul 24, 2013 7:25 AM, Peter Otten __pete...@web.de
mailto:pete...@web.de wrote:
Ethan Furman wrote:
So, my question boils down to: in Python 3 how is dict.keys() different
from dict? What are the use cases?
I just grepped through
On Thu, Jul 25, 2013 at 2:10 AM, David M. Cotter m...@davecotter.com wrote:
So: i really want it to go to my own log file (via my Log() function). now,
can i specify please output to this FILE* ?, i looked at all the python c
headers but found nothing about redirecting the output.
Are you
On Jul 24, 2013 2:27 PM, Peter Otten __pete...@web.de wrote:
Oscar Benjamin wrote:
On Jul 24, 2013 7:25 AM, Peter Otten __pete...@web.de wrote:
Ethan Furman wrote:
So, my question boils down to: in Python 3 how is dict.keys()
different
from dict? What are the use cases?
I
On Thu, Jul 25, 2013 at 1:57 AM, Ethan Furman et...@stoneleaf.us wrote:
On 07/24/2013 05:51 AM, Oscar Benjamin wrote:
What do you mean? Why would you want to create a temporary list just to
iterate over it explicitly or implicitly (set,
sorted, max,...)?
You wouldn't. But you don't need
On 7/24/2013 12:34 PM, Chris Angelico wrote:
Side point: Why is iterating over a dict equivalent to .keys() rather
than .items()? It feels odd that, with both options viable, the
implicit version iterates over half the dict instead of all of it.
Obviously it can't be changed now, even if
Chris Angelico, 24.07.2013 18:34:
On Thu, Jul 25, 2013 at 1:57 AM, Ethan Furman wrote:
On 07/24/2013 05:51 AM, Oscar Benjamin wrote:
What do you mean? Why would you want to create a temporary list just to
iterate over it explicitly or implicitly (set,
sorted, max,...)?
You wouldn't. But
Peter Otten, 24.07.2013 08:23:
Ethan Furman wrote:
So, my question boils down to: in Python 3 how is dict.keys() different
from dict? What are the use cases?
I just grepped through /usr/lib/python3, and could not identify a single
line where some_object.keys() wasn't either wrapped in a
i don't use stdout in my own code, my code goes to my own log file. i want the
output from any python code to go to my existing log file, so log statements
from my app and any python code are intermingled in that one file.
my updated code is here, which now bridges my python print function to
On 7/24/2013 11:00 AM, Michael Torrie wrote:
On 07/24/2013 08:34 AM, Chris Angelico wrote:
Frankly, Python's strings are a *terrible* internal representation
for an editor widget - not because of PEP 393, but simply because
they are immutable, and every keypress would result in a rebuilding
of
On Thu, Jul 25, 2013 at 3:17 AM, Terry Reedy tjre...@udel.edu wrote:
On 7/24/2013 12:34 PM, Chris Angelico wrote:
Side point: Why is iterating over a dict equivalent to .keys() rather
than .items()? It feels odd that, with both options viable, the
implicit version iterates over half the dict
Fábio Santos, 16.07.2013 00:54:
On 07/15/2013 08:36 AM, Steven D'Aprano wrote:
Devyn,
8 Dihedral is our resident bot, not a human being. Nobody knows who
controls it, and why they are running it, but we are pretty certain that
it is a bot responding mechanically to keywords in people's
Wow, thanks everyone. Very helpful indeed!
On Tuesday, July 23, 2013 2:52:21 PM UTC-7, st...@divillo.com wrote:
I think that itertools may be able to do what I want but I have not been able
to figure out how.
I want to convert an arbitrary number of lists with an arbitrary number of
On Thu, Jul 25, 2013 at 3:52 AM, Terry Reedy tjre...@udel.edu wrote:
On 7/24/2013 11:00 AM, Michael Torrie wrote:
On 07/24/2013 08:34 AM, Chris Angelico wrote:
Frankly, Python's strings are a *terrible* internal representation
for an editor widget - not because of PEP 393, but simply because
On Thu, Jul 25, 2013 at 4:08 AM, Stefan Behnel stefan...@behnel.de wrote:
Fábio Santos, 16.07.2013 00:54:
Does this mean he passes the Turing test?
I'd say that it appears more correct. Or is there any indication of a
specific bot gender? (I sure might have missed it...)
Note that being of
On 07/24/2013 10:23 AM, Stefan Behnel wrote:
Peter Otten, 24.07.2013 08:23:
Ethan Furman wrote:
So, my question boils down to: in Python 3 how is dict.keys() different
from dict? What are the use cases?
To me it looks like views are a solution waiting for a problem.
They reduce the API
http://karaoke.kjams.com/wiki/Python
nevermind, i got it, it's working now (see link for code)
--
http://mail.python.org/mailman/listinfo/python-list
Ethan Furman, 24.07.2013 20:31:
On 07/24/2013 10:23 AM, Stefan Behnel wrote:
Peter Otten, 24.07.2013 08:23:
Ethan Furman wrote:
So, my question boils down to: in Python 3 how is dict.keys() different
from dict? What are the use cases?
To me it looks like views are a solution waiting for
Now for Windows: same thing, i think i must create a .dll, right?
you should already have a python.dll in your installation
i can find python27.lib in the libs folder, but there is no
python27_d.lib, and there is no python27.dll in the DLLs folder?
are there instructions for creating (or
On 07/24/2013 12:59 PM, Stefan Behnel wrote:
I think the question is: how else would you implement an interface that
doesn't restrict itself to returning a list? I mean, previously, the
following was totally inefficient in terms of memory:
value in d.values()
It now avoids creating an
Stefan Behnel wrote:
Ethan Furman, 24.07.2013 20:31:
On 07/24/2013 10:23 AM, Stefan Behnel wrote:
Peter Otten, 24.07.2013 08:23:
Ethan Furman wrote:
So, my question boils down to: in Python 3 how is dict.keys() different
from dict? What are the use cases?
To me it looks like
Am 24.07.2013 18:34, schrieb Chris Angelico:
Side point: Why is iterating over a dict equivalent to .keys() rather
than .items()? It feels odd that, with both options viable, the
implicit version iterates over half the dict instead of all of it.
Obviously it can't be changed now, even if
On 23 July 2013 13:34, en...@yandex.ru wrote:
Hello!
This is my first post, nice to meet you all!
I`m biology student from Russia, trying to learn python to perform some
simple simulations.
Here`s my first problem.
I`m trying to perform some simple 2d vector rotations in pygame, in order
On Friday, July 19, 2013 3:56:24 PM UTC-7, cutems93 wrote:
I am currently doing some research on testing software for Python. I found
that there are many different types of testing tools. These are what I've
found.
1.Unit test
2.Mock test
3.Fuzz test
4.Web test
On 7/24/2013 2:15 PM, Chris Angelico wrote:
On Thu, Jul 25, 2013 at 3:52 AM, Terry Reedy tjre...@udel.edu wrote:
For my purpose, the mock Text works the same in 2.7 and 3.3+.
Thanks for that report! And yes, it's going to behave exactly the same
way, because its underlying structure is an
On Thu, Jul 25, 2013 at 8:09 AM, Terry Reedy tjre...@udel.edu wrote:
On 7/24/2013 2:15 PM, Chris Angelico wrote:
To my mind, exposing UTF-16 surrogates to the application is a bug
to be fixed, not a feature to be maintained.
It is definitely not a feature, but a proper UTF-16 implementation
On 07/24/2013 04:19 PM, Chris Angelico wrote:
I'm referring here to objections like jmf's, and also to threads like this:
http://mozilla.6506.n7.nabble.com/Flexible-String-Representation-full-Unicode-for-ES6-td267585.html
According to the ECMAScript people, UTF-16 and exposing surrogates to
On Thu, Jul 25, 2013 at 8:59 AM, Michael Torrie torr...@gmail.com wrote:
I don't fully understand
why making strings simply unicode in javascript breaks compatibility
with older scripts. What operations are performed on strings that
making unicode an abstract type would break?
Imagine this
On 7/24/2013 4:34 PM, Prasad, Ramit wrote:
I am still not clear on the advantage of views vs. iterators.
A1: Views are iterables that can be iterated more than once. Therefore,
they can be passed to a function that re-iterates its inputs, or to
multiple functions. They support 'x in view'
On 07/24/2013 01:34 PM, Prasad, Ramit wrote:
I am still not clear on the advantage of views vs. iterators. What
makes d.viewkeys() better than d.iterkeys()? Why did they decide
not to rename d.iterkeys() to d.keys() and instead use d.viewkeys()?
Is the iteration over a set operation on keys
On 7/24/2013 5:17 PM, Joshua Landau wrote:
import math as m
GAH!
Why on earth would you do such a thing?
for the same reason people do 'import tkinter as tk': to minimize typing
and maximize clarity. In this case,
from math import sin, cos, radians
also works well
--
Terry Jan
update: okay so the python27.dll is in /windows/system32 so ignore that
i've set my include directory correct, so i can compile
i've set my additional libraries directory to the libs directory (where the
.lib files are. (note: NOT including Lib directory, cuz that's full of .py
files and
On 07/23/2013 07:11 PM, Steven D'Aprano wrote:
On Tue, 23 Jul 2013 18:16:08 -0700, Ethan Furman wrote:
So now, in Python 3, .keys(), .values(), even .items() all return these
'view' thingies.
And everything I thought I knew about when to use one or the other went
out the window.
Surely not.
On 07/24/2013 08:51 PM, David M. Cotter wrote:
update: okay so the python27.dll is in /windows/system32 so ignore that
i've set my include directory correct, so i can compile
i've set my additional libraries directory to the libs directory (where the .lib files are.
(note: NOT including Lib
Hello everyone I'm watching a tutorial on how to create a project on Django...
django-admin.py startproject carabali
when I run this code on terminal.. happens :
http://nsae01.casimages.net/img/2013/07/25/130725021220676239.png
There's a mistake or something but I can't figure out, help me
I'm almost switching from Python to Groovy because I can't find a way to use
the neo4j-embedded's Highly Available mode. But no, I certainly don't want
Java... I'm using JPype.
Is there a way to do it?
Kind regards,
Jota Junior
--
http://mail.python.org/mailman/listinfo/python-list
Ethan Furman et...@stoneleaf.us writes:
On 07/23/2013 07:11 PM, Steven D'Aprano wrote:
On Tue, 23 Jul 2013 18:16:08 -0700, Ethan Furman wrote:
And everything I thought I knew about when to use one or the other went
out the window.
Surely not. The fundamental behaviour of Python's data
On Thu, Jul 25, 2013 at 12:03 PM, peins0...@gmail.com wrote:
Hello everyone I'm watching a tutorial on how to create a project on Django...
django-admin.py startproject carabali
when I run this code on terminal.. happens :
http://nsae01.casimages.net/img/2013/07/25/130725021220676239.png
Hi all,
The Python Game Programming Challenge http://pyweek.org/ will run
its 17th challenge during the first week of September, from the 1st to
the 8th.
The PyWeek challenge:
1. Invites entrants to write a game in one week from scratch either as
an individual or in a team,
2. Is intended to be
I am teaching Python 3 to a few beginning computer programming students. Being
high-school age boys, they are, unsurprisingly, interested in games. I want to
introduce them to real-time programming and GUI in the most painless way
possible.
I know that Python comes bundled with Tkinter.
24.07.13 21:15, Chris Angelico написав(ла):
To my mind, exposing UTF-16
surrogates to the application is a bug to be fixed, not a feature to
be maintained.
Python 3 uses code points from U+DC80 to U+DCFF (which are in surrogates
area) to represent undecodable bytes with surrogateescape error
On Wed, 24 Jul 2013 08:57:11 -0700, Ethan Furman wrote:
My point is that in 2.x .keys() did something different from the dict,
while in 3.x it appears to me that they are the same.
Then you aren't looking very closely. d.keys() returns a set-like view
into the dict, which is great for
Ben North added the comment:
New patch, fixing nit noted in msg193624:
non-error-recursive-dictview-3.3-1.patch
Otherwise same as previous
non-error-recursive-dictview-3.3.patch
--
Added file:
http://bugs.python.org/file31025/non-error-recursive-dictview-3.3-1.patch
anatoly techtonik added the comment:
I've made my own monster, attached.
--
Added file: http://bugs.python.org/file31026/DictRecord.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18535
___
Amaury Forgeot d'Arc added the comment:
You need a better use case though.
termios awful constant names ('TIOCGWINSZ') and values ('\x1b') won't become
more easy with a nametuple.
--
resolution: - works for me
status: open - closed
___
Python
ariel brunner added the comment:
I will, sorry. I thought it's possible reopen an issue. Since all the relevant
information is already contained here, and since the problem is with the fix to
the issue, I figured it's best to reopen this one.
--
Matt Hickford added the comment:
( Upstreamed from Pip https://github.com/pypa/pip/issues/942 )
There are lot of Python users on Windows. If they succeed in installing a
package manager (a struggle), this is typically their first experience with it
$ pip install numpy
blah blah blah
New submission from ariel brunner:
When defining a function with factional default arguments, the tuple text
replaces the correct values in the tooltip.
Here's an example -
def f(a=0.5):
pass
f(
tooltip shows - (a=0tuple), i.e. replaces the .5 with tuple.
This was found to happen
Changes by ariel brunner ariel...@mail.tau.ac.il:
--
versions: -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18539
___
___
New submission from Matěj Stuchlík:
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib64/python2.7/imaplib.py, line 163, in __init__
self.open(host, port)
File /usr/lib64/python2.7/imaplib.py, line 229, in open
self.sock = socket.create_connection((host,
New submission from Antoine Pitrou:
The idiomatic way to use a LoggerAdapter is to override the process() method.
However, the example in the cookbook (*) is some gobbledegook code overriding
__getitem__ and __iter__ on a separate class. It's a pity that users are
directed to use an insane
New submission from Sumitinder:
Mod_python is used in our application and continous load of mod_python result
in increase in httpd memory usage i.e upto 1.6 Gb.
Packets used:
mod_python-3.2.8-3.1
httpd-2.2.3-43.el5.centos
Centos 5.5 OS
Is there any memory leak in mod_python which is resulting
Ronald Oussoren added the comment:
mod_python isn't part of the cpython std lib. As such, this isn't the right
tracker to report problems with mod_python.
You may have more success by asking the project itself
(http://www.modpython.org).
--
nosy: +ronaldoussoren
resolution: -
Changes by Jakub Wilk jw...@jwilk.net:
--
nosy: +jwilk
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2066
___
___
Python-bugs-list mailing list
Ronald Oussoren added the comment:
I don't know if multiple inheritance is explicitly supported at the C level,
but it is possible to create an extension type with multiple base classes in
tp_bases.
--
nosy: +ronaldoussoren
___
Python tracker
Changes by Bohuslav Slavek Kabrda bkab...@redhat.com:
--
nosy: +bkabrda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10131
___
___
STINNER Victor added the comment:
Changing the default inheritance value of os.pipe() is not acceptable because
it would break backward compatibility.
Giving access to Windows extra parameter is nice, but we have to find a way to
propose a portable API. That's what I'm trying to do with the
anatoly techtonik added the comment:
Do not hijack the issue - value interpretation is the next step, which better
keep out of scope for this improvement. termios is a C interface, which
documents the meaning of TIOCGWINSZ and has defined names for structure
entries, such as lflag. This issue
anatoly techtonik added the comment:
If you need a better use case for DictRecord, urlparse is another one.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18535
___
New submission from Moritz Sichert:
If you pass any of cafile, capath or cadefault to urllib.parse.urlopen it
creates a new opener that contains the HTTPSHandler that was according to the
ca* arguments. It then uses this new opener to execute the request.
If you installed a custom opener with
João Bernardo added the comment:
ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18078
___
___
Python-bugs-list mailing list
Unsubscribe:
Antoine Pitrou added the comment:
Charles-François's point about the algorithmic complexity is legitimate, so I
think he was actually waiting for you to amend your patch ;)
--
___
Python tracker rep...@bugs.python.org
João Bernardo added the comment:
Charles-François's point about the algorithmic complexity is
legitimate, so I think he was actually waiting for you to amend
your patch ;)
This doesn't seems to be the actual issue as it would require a big change for
something that wasn't proven
Changes by Ronald Oussoren ronaldousso...@mac.com:
--
nosy: +ronaldoussoren
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6627
___
___
Vinay Sajip added the comment:
That's not quite right. The recommended way *is* to override the process()
method. From the page you linked to:
If you need a different method, e.g. if you want to prepend or append the
contextual information to the message string, you just need to subclass
Antoine Pitrou added the comment:
That does not have a specific example, as it seems simple enough to
understand as stated.
I think we should acknowledge that people often have difficulties
with the rather simple functionalities of the logging module,
not only the advanced ones.
The example
New submission from Robert O'Callahan:
Popen() ought to support redirection to/from more file descriptors than 0, 1,
and 2 when spawning processes. A clear use case is here:
http://stackoverflow.com/questions/6050187/write-to-file-descriptor-3-of-a-python-subprocess-popen-object
Instead of
R. David Murray added the comment:
Unless I'm misunderstanding something, the current implementation does match
the current documentation: if buffer-size n, returning buffer-size bytes
is returning up to n. Up to means it could be less than.
So you are advocating a change in behavior...but
New submission from Chris Lambacher:
Starting at line 153 in enum.py there is:
153 if not use_args:
154 enum_member = __new__(enum_class)
155 original_value = value
156 else:
157 enum_member =
Vinay Sajip added the comment:
I think we should acknowledge that people often have difficulties
with the rather simple functionalities of the logging module,
not only the advanced ones.
Perhaps some people do have difficulties, but that's always going to be the
case no matter what you do.
R. David Murray added the comment:
I'm in favor of treating this a bugfix. It is a bug for repr to raise a
recursion error, IMO.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18533
Antoine Pitrou added the comment:
This means that read1() will only return up to n bytes if n is smaller
than the buffer size, otherwise it will return at most buffer-size
bytes.
Did you actually observe such behaviour? If so, this is a bug.
--
1 - 100 of 144 matches
Mail list logo