Martin v. Löwis mar...@v.loewis.de added the comment:
You probably did something wrong when installing Python. How exactly did you
get it into ~/PythonInstall?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
Mark Shannon m...@hotpy.org added the comment:
Jim Jewett wrote:
http://bugs.python.org/review/13897/diff/4186/14521
File Python/sysmodule.c (right):
http://bugs.python.org/review/13897/diff/4186/14521#newcode211
Python/sysmodule.c:211: while ((exc_info-exc_type == NULL ||
Case Van Horsen cas...@gmail.com added the comment:
I've found some differences between decimal and cdecimal.
cdecimal 2.3 does not support the __ceil__ and __floor__ methods that exist in
decimal. math.ceil converts a cdecimal.Decimal instance into a float before
finding the ceiling. This
Qian Liu liuq0...@e.ntu.edu.sg added the comment:
Dear Martin,
Thanks for your reply.
I went to the folder of python after tar -zxvf Python-2.7.2.tgz and do
the following operations:
./configure --prefix=~/PythonInstall
make
make install
where ~ represent the path in my computer and it is long
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue992389
___
___
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
For devguide/documenting, If you show me markup, also show me what output it
gives me. It's kinda tedious to keep building the markup just to verify how
it's rendered.
--
components: Devguide
messages: 155061
nosy:
Steven Bethard steven.beth...@gmail.com added the comment:
optparse, which argparse attempts to replace, permitted positional
arguments to be intermixed with optional arguments
Sure, but optparse didn't actually parse positional arguments - it just threw
them into a bag, and then you had to
Martin v. Löwis mar...@v.loewis.de added the comment:
There are some minor errors indeed: the syntax for PATH and PYTHONPATH is wrong
(don't use quotes () in the middle of the value). Also, putting site-packages
into PYTHONPATH should not be necessary.
I think the main cause might be the
Qian Liu liuq0...@e.ntu.edu.sg added the comment:
Dear Martin,
Many thanks for your help and your reply. I will correct the errors and let
you know the result.
best regards,
Qian Liu
On Wed, Mar 7, 2012 at 5:07 PM, Martin v. Löwis rep...@bugs.python.orgwrote:
Martin v. Löwis
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
Looking at Doc/tutorial/classes, the section Python Scopes and Namespaces is
full of heavy/deep information. I expect that people who would be able to
properly digest that info are people who are already advanced at Python, and
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14219
___
Qian Liu liuq0...@e.ntu.edu.sg added the comment:
Dear Martin,
I did the following operations
./configure --prefix=
/img01/home/liuqian1/PLAprediction/software/PythonInstall
make
make install
and then
MPYTHONHOME=/img01/home/liuqian1/PLAprediction/software/PythonInstall
Sandro Tosi sandro.t...@gmail.com added the comment:
3.1 and 2.6 as in security fix only: please don't add those versions for
non-sec issue
--
nosy: +sandro.tosi
versions: -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
Sandro Tosi sandro.t...@gmail.com added the comment:
additionally, devguide has no version associated with it.
--
versions: -Python 2.7, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14218
Sandro Tosi sandro.t...@gmail.com added the comment:
see msg155067
--
nosy: +sandro.tosi
versions: -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14219
___
Stefan Krah stefan-use...@bytereef.org added the comment:
Jim Jewett rep...@bugs.python.org wrote:
Whether you need *additional* subdirectories within _cdecimal to
subcategorize the .c and .h files, I'm not sure -- because I didn't
get in deep enough to know what they should be. If the
Marc-Andre Lemburg m...@egenix.com added the comment:
Does the C version have a C API importable as capsule ?
If not, could you add one and a decimal.h to go with it ?
This makes integration in 3rd party modules a lot easier.
Thanks,
--
Marc-Andre Lemburg
eGenix.com
New submission from Stefan Behnel sco...@users.sourceforge.net:
Based on the existing test_attempted_yield_from_loop in
Lib/test/test_pep380.py, I wrote this test and I wonder why it does not work:
def test_attempted_reentry():
for line in test_attempted_reentry(): print(line)
Nick Coghlan ncogh...@gmail.com added the comment:
In framing a question for Raymond regarding his preference for avoiding the
__argv__ name, I realised I agreed with him. My reasoning is that, when a
Python process starts, sys.stdin is sys.__stdin__, sys.stdout is sys.__stdout__
and
Éric Araujo mer...@netwok.org added the comment:
FYI, note that http://wiki.python.org/moin/MiniDom says this about minidom:
“slow and very memory hungry DOM implementation”.
As you have seen, I have applied my ToC order change. Now in order to commit
my s/lightweight/minimal/ change and
Éric Araujo mer...@netwok.org added the comment:
Merged Florian’s version with the original file to create a patch.
--
Added file: http://bugs.python.org/file24752/pulldom-documentation.rst
___
Python tracker rep...@bugs.python.org
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
Sandro Tosi sandro.t...@gmail.com added the comment:
3.1 and 2.6 as in security fix only: please don't add those versions for
non-sec issue
Sorry, I thought there was an exception for documentation issues.
--
Martin v. Löwis mar...@v.loewis.de added the comment:
FYI, note that http://wiki.python.org/moin/MiniDom says this about
minidom: “slow and very memory hungry DOM implementation”.
Thanks for the notice; I have now fixed that wording.
--
___
Eli Bendersky eli...@gmail.com added the comment:
Éric,
I'm ok with replacing lightweight by minimal, unless others have
objections. Regarding the specifics of the minidom-desc-2.diff patch:
proficient with the DOM
I'm not sure the DOM is semantically correct. the W3C-DOM interface is
Stefan Krah stefan-use...@bytereef.org added the comment:
Benjamin Peterson rep...@bugs.python.org wrote:
The scripts for generating code would preferably go in a Tools/decimal
directory.
Hmm, do you mean the gen*.py scripts? The output is generated by decimal.py
and used for testing
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Is this a single failure that you encountered, or have you been able to
reproduce it on subsequent runs? I haven't seen a failure in
test_concurrent_futures in 10-15 runs of make test (also on Ubuntu
11.10 64-bit).
--
nosy:
Stefan Behnel sco...@users.sourceforge.net added the comment:
Oh, right, I missed that part. I also think that a visible note is better. And
+1 for W3C DOM interface.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11379
Stefan Krah stefan-use...@bytereef.org added the comment:
Benjamin Peterson rep...@bugs.python.org wrote:
Speaking of inline, the inline keyword will have to go because it's not C89.
Do you happen to know a free compiler that builds Python but does not
understand inline? I'm asking because
Antoine Pitrou pit...@free.fr added the comment:
Do you happen to know a free compiler that builds Python but does not
understand inline? I'm asking because without testing you can never
really be sure:
You could use Py_LOCAL_INLINE, but most compilers should inline small
functions
Hrvoje Nikšić hnik...@gmail.com added the comment:
Could this patch please be committed to Python? We have just run into this
problem in production, where our own variant of AttrDict was shown to be
leaking.
It is possible to work around the problem by implementing explicit __getattr__
and
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
title: __dict__ = self in subclass of dict causes a memory leak? - __dict__ =
self in subclass of dict causes a memory leak
___
Python tracker rep...@bugs.python.org
Stefan Krah stefan-use...@bytereef.org added the comment:
Case Van Horsen rep...@bugs.python.org wrote:
cdecimal 2.3 does not support the __ceil__ and __floor__
Thanks. I'll look into that.
cdecimal.Decimal instances do not emulate the various single-underscore
methods of a decimal.Decimal
Stefan Krah stefan-use...@bytereef.org added the comment:
Antoine Pitrou rep...@bugs.python.org wrote:
You could use Py_LOCAL_INLINE, but most compilers should inline small
functions automatically, AFAIK.
At the time I wrote it I benchmarked everything. I'm pretty sure
that gcc did not inline
Antoine Pitrou pit...@free.fr added the comment:
_ctypes does not compile with icc and suncc. Unlike _ctypes, _decimal
has a fallback in the form of decimal.py. So, perhaps as an alternative
we could leave the inlines and wait for build failure reports?
Sounds good to me.
--
Stefan Krah stefan-use...@bytereef.org added the comment:
Jim Jewett rep...@bugs.python.org wrote:
implementation details. Are there are clear distinctions (type
info/python bindings/basic arithmetic/advanced
algorithms/internal-use-only/???)
I failed to mention that libmpdec also has
Thomas Heller thel...@ctypes.org added the comment:
The rationale was to allow different packages (for example) in the same process
to have their own private instance of a foreign function, with possibly
different definitions of restype, argtypes and/or errcheck.
--
Miki Tebeka miki.teb...@gmail.com added the comment:
I happended several times. Ran it this morning an got passed it, however other
tests failed though:
==
ERROR: test_anydbm_creation (test.test_dbm.TestCase-dbm.ndbm)
Erik Johansson e...@ejohansson.se added the comment:
Perhaps this behaviour should be documented somewhere (unless it already is)?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14201
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: rhettinger -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14205
___
___
Éric Araujo mer...@netwok.org added the comment:
Item access is documented in this section:
http://docs.python.org/library/ctypes#loading-shared-libraries (scroll a bit
down looking for __getitem__); the wording about caching is ambiguous with
respect to the current behavior.
--
Stefan Krah stefan-use...@bytereef.org added the comment:
Marc-Andre Lemburg rep...@bugs.python.org wrote:
Does the C version have a C API importable as capsule ?
Not yet. I'll try to make a list with proposed function names and post it here.
If not, could you add one and a decimal.h to go
Erik Johansson e...@ejohansson.se added the comment:
Ah, I see. I modified the title to reflect this.
Perhaps adding this simple example as well can help people (e.g. me) see it?
libc.time == libc.time
True
libc['time'] == libc['time']
False
--
title: libc.time != libc['time'] -
Stefan Krah stefan-use...@bytereef.org added the comment:
This issue was raised by Jim on Rietveld:
Currently, the order of arguments in Context.__init__() differs
from repr(Context):
Context()
Context(prec=28, rounding=ROUND_HALF_EVEN, Emin=-9, Emax=9,
capitals=1, flags=[],
Nadeem Vawda nadeem.va...@gmail.com added the comment:
I happended several times.
Hmm. If you hit another failure, can you post the random seed and any
other interesting info that might help figure this out?
The test_dbm failures look like issue 14120. You might want to follow up
there.
Max Franks eliqui...@gmail.com added the comment:
Issue 3 is not related to the other 2. See this post
http://bugs.python.org/issue5370. As haypo said, it has to do with unpickling
objects. The post above gives a solution by using the __setstate__ function.
--
nosy: +eliquious
Brian Quinlan br...@sweetapp.com added the comment:
Could you run just the test_concurrent_futures test, hit ctrl-C at the point
where it hangs, and send the traceback here?
--
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2f10c1ad4b21 by Ross Lagerwall in branch 'default':
Issue #10951: Fix warnings in the socket module.
http://hg.python.org/cpython/rev/2f10c1ad4b21
New changeset 1dd43e939c07 by Ross Lagerwall in branch 'default':
New submission from Phillip Feldman phillip.m.feld...@gmail.com:
The first example below works; the second one produces output containing
garbage characters. (This came up while I was creating a set of examples for a
tutorial on regular expressions).
import re
text= The cat ate the rat.
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
I'm not sure this would be a worthwhile addition. This language feature is not
widely referenced outside the docs for the feature itself.
--
nosy: +rhettinger
___
Python tracker
Georg Brandl ge...@python.org added the comment:
I agree. Maybe I may throw full_argv or executable_argv (i.e. to be used
with exec([sys.executable] + sys.executable_arg)) in the air?
--
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14187
___
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
Improved documentation would certainly help the situation.
And yes, I understand that optparse simply returned the set of positional
parameters without giving them names, types, or groups. So does getopt, and
pretty much all previous
Ezio Melotti ezio.melo...@gmail.com added the comment:
You forgot to use raw strings:
text = The cat ate the rat.
print(before: %s % text)
before: The cat ate the rat.
text = re.sub((\w+) ate the (\w+), r\2 ate the \1, text)
print(after : %s % text)
after : The rat ate the cat.
(Maybe you
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
In the function getstring in _sre.c, the code obtains a pointer to the
characters of the buffer and then releases the buffer.
There's a comment before the release:
/* Release the buffer immediately --- possibly dangerous
Changes by Alex Gaynor alex.gay...@gmail.com:
--
nosy: +alex
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14212
___
___
Python-bugs-list mailing
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14212
___
___
Python-bugs-list
New submission from Tasslehoff Kjappfot tasskj...@gmail.com:
Queue.get([block[, timeout]]) uses time.time() for calculations of the timeout.
If someone changes the system time this breaks. If a timeout of 1 second is set
and someone (on a unix system) uses date to set the time 1 hour back,
Jim Jewett jimjjew...@gmail.com added the comment:
On Wed, Mar 7, 2012 at 5:28 AM, Stefan Krah
stefan-use...@bytereef.org added the comment:
OK, as a basis for discussion I've added:
http://hg.python.org/features/cdecimal/file/8b75c2825508/Modules/_decimal/FILEMAP.txt
That is indeed very
Brett Cannon br...@python.org added the comment:
The finding/loading code in import.c is purely because of the imp module's
public API (e.g. imp.find_module()). I have been waiting to find out if
importlib would get bootstrapped before making the current module _imp and then
creating an
Brett Cannon br...@python.org added the comment:
It technically doesn't depend, but it potentially would make this moot. But
stuff is going on at the language summit which is going to shift stuff around.
--
dependencies: -ImportError needs attributes for module and file name
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 077b42a54803 by Éric Araujo in branch '2.7':
Backout buggy patch for #13719
http://hg.python.org/cpython/rev/077b42a54803
--
___
Python tracker rep...@bugs.python.org
Brett Cannon br...@python.org added the comment:
It's quite possible you are right, Michele. I don't know if anyone has looked
at what exactly is required for _warnings.c compared to pgen.
--
___
Python tracker rep...@bugs.python.org
Stefan Behnel sco...@users.sourceforge.net added the comment:
Here is an analysis of this (less verbose) code:
def g1():
yield y1
yield from g2()
yield y4
def g2():
yield y2
try:
yield from gi
except ValueError:
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 7e629bacec87 by Éric Araujo in branch '3.2':
Backout buggy patch committed for #13719
http://hg.python.org/cpython/rev/7e629bacec87
New changeset 17106d7d34b4 by Éric Araujo in branch 'default':
Remove buggy change
Changes by Brian Quinlan br...@sweetapp.com:
--
assignee: - bquinlan
nosy: +bquinlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14119
___
___
Brian Quinlan br...@sweetapp.com added the comment:
I'm closing this since tbrink didn't respond to pitrou's comments.
--
resolution: - out of date
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11271
Changes by Brian Quinlan br...@sweetapp.com:
--
nosy: +bquinlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14148
___
___
Python-bugs-list
Brian Quinlan br...@sweetapp.com added the comment:
I guess the question is: why do you need to know the state in that form?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13785
___
Éric Araujo mer...@netwok.org added the comment:
I finally got a virtual machine up and running and was able to diagnose the
problem. There are two things. First, the dist directory (where the msi file
will be created) is created relative to the current working directory, which
explains why
Éric Araujo mer...@netwok.org added the comment:
I forgot to mention two other problems in my test:
- need to pass name and version keyword arguments to self.create_dist or to
change the expected filename to UNKNOWN-UNKNOWN
- need to embed the result of distutils.util.get_platform() into the
New submission from Nicholas Cole nicholas.c...@gmail.com:
The following code works on Python versions prior to 3.3a1:
import curses
def test_screen(screen):
screen.addch(5,5, curses.ACS_HLINE)
screen.refresh()
curses.wrapper(test_screen)
On python3.3, the program produces the
Changes by Éric Araujo mer...@netwok.org:
--
assignee: tarek - eric.araujo
title: bdist_msi - add support for minimum Python version for pure Python
packages - bdist_msi: add support for minimum Python version for pure Python
projects
versions: +Python 3.3
Nicholas Cole nicholas.c...@gmail.com added the comment:
On Wed, Mar 7, 2012 at 7:40 AM, R. David Murray rep...@bugs.python.org wrote:
R. David Murray rdmur...@bitdance.com added the comment:
Since this bug is about adding a new feature, it is unlikely to be the
correct bug for this to be
Éric Araujo mer...@netwok.org added the comment:
More info on rpm vs. rpmbuild: http://bugs.python.org/issue1533164#msg82592
--
keywords: +easy
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11122
Changes by Éric Araujo mer...@netwok.org:
--
title: bdist_rpm fails - bdist_rpm should use rpmbuild, not rpm
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11122
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 10a79a33d09b by Benjamin Peterson in branch '3.2':
keep the buffer object around while we're using it (closes #14212)
http://hg.python.org/cpython/rev/10a79a33d09b
New changeset 17dfe24e5107 by Benjamin Peterson in
Benjamin Peterson benja...@python.org added the comment:
I think 2.7 might be hopeless.
--
nosy: +benjamin.peterson
resolution: fixed -
stage: committed/rejected -
status: closed - open
___
Python tracker rep...@bugs.python.org
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14212
___
New submission from Johannes Kolb johannes.k...@gmx.net:
The documentation for files section of the setup.cfg file causes confusion:
The examples don't match the description. Obviously the order of destination
and source part in the generated filenames was mixed up in some places.
--
Éric Araujo mer...@netwok.org added the comment:
Thanks, will apply.
--
assignee: docs@python - eric.araujo
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14224
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +ncoghlan, pje
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14209
___
R. David Murray rdmur...@bitdance.com added the comment:
Marking as release blocker since this is a regression. Added people from the
other curses issue as being likely to be interested in this one.
--
nosy: +cben, gpolo, haypo, inigoserna, jcea, phep, pitrou, python-dev,
Éric Araujo mer...@netwok.org added the comment:
I suggest you do two things:
- first, run “make -s” to reduce messages and see if the binascii module is
compiled correctly or skipped
- second, avoid possible misleading issues with PATH entirely by starting your
Python with an absolute path,
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14215
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
For devguide/documenting, If you show me markup, also show me what output it
gives me.
Would this really be useful? If you’re looking at that page, you want to know
what markup to use for what situation; why do you care about output?
It's
Éric Araujo mer...@netwok.org added the comment:
Use this:
.. code-block:: none
output etc.
--
nosy: +eric.araujo
versions: +Python 2.7 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14217
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14220
___
___
Python-bugs-list mailing
Antoine Pitrou pit...@free.fr added the comment:
Well, in 3.3 we could use clock_gettime(CLOCK_MONOTONIC) where available.
That said, this is not specific to Queue.get() and will probably happen with
many similar functions taking a timeout parameter.
--
nosy: +haypo, neologix, pitrou
New submission from Ned Deily n...@acm.org:
./Modules/_cursesmodule.c:279: error: syntax error before 'cchar_t'
/Users/sysadmin/build/v3.3.0a1/Modules/_cursesmodule.c: In function
'PyCurses_ConvertToCchar_t':
./Modules/_cursesmodule.c:289: error: 'obj' undeclared (first use in this
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1469629
___
___
Python-bugs-list mailing
New submission from André Malo n...@perlig.de:
As discussed in the dev-thread about frozendicts, it would be helpful for
providing advisory read-only-dicts, to just expose the dict_proxy type. I
suppose, the collections module would be a good place (it just needs to provide
the interface to
Nick Coghlan ncogh...@gmail.com added the comment:
Added Mark Shannon to the nosy list - he's been tinkering with this area of the
interpreter lately.
This definitely needs to be fixed though (even if that does mean major surgery
on the implementation, up to and including the introduction of
Benjamin Peterson benja...@python.org added the comment:
Don't worry! I'll be fixing it in a moment...
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14220
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 3357eac1ba62 by Benjamin Peterson in branch 'default':
make delegating generators say they running (closes #14220)
http://hg.python.org/cpython/rev/3357eac1ba62
--
nosy: +python-dev
resolution: - fixed
Stefan Krah stefan-use...@bytereef.org added the comment:
Jim Jewett rep...@bugs.python.org wrote:
OK, as a basis for discussion I've added:
http://hg.python.org/features/cdecimal/file/8b75c2825508/Modules/_decimal/FILEMAP.txt
Starting from that URL, I don't actually find setup.py.
It's
Larry Hastings la...@hastings.org added the comment:
I just asked Guido in person, and he says he never intended to suggest
accepting a (sec, nsec) tuple. os.*utime* may accept atime and mtime as either
float seconds-since-the-epoch, or int nanoseconds-since-the-epoch when passed
in using
Nick Coghlan ncogh...@gmail.com added the comment:
Adding Brett, since the plan is to clear out a lot of the redundant code in
pkgutil once importlib is fully bootstrapped as the standard import
implementation.
(although this will still affect the older versions directly)
--
nosy:
Nick Coghlan ncogh...@gmail.com added the comment:
FWIW, +1 on using the *name* of the keyword arg to define the format/resolution
of the argument. It's simple and clear right now, and is easily updated to
handle higher resolutions in the future.
--
nosy: +ncoghlan
STINNER Victor victor.stin...@gmail.com added the comment:
Well, in 3.3 we could use clock_gettime(CLOCK_MONOTONIC) where available.
It's better to use time.monotonic().
That said, this is not specific to Queue.get() and will probably happen with
many similar functions taking a timeout
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b595e1ad5722 by Benjamin Peterson in branch 'default':
merge 3.2 (#3787e896dbe9)
http://hg.python.org/cpython/rev/b595e1ad5722
--
nosy: +python-dev
___
Python tracker
1 - 100 of 112 matches
Mail list logo