Terry J. Reedy added the comment:
My thoughts on this. Overall, +.something (and increasing as I look at it more
;-).
I am opposed to adding this to the relatively long file menu. It has nothing to
do with manipulating or editing files. If it is to go in, please put it on the
help menu, at
Hrvoje Nikšić added the comment:
Note that defaulting to unsafe math in extensions will make *their* use of the
Py_NAN macro break under icc.
If we go that route (-fp-model strict for Python build, but not for
extensions), we should also apply the attached patch that defines Py_NAN as
Jessica McKellar added the comment:
Some IRC discussion about what contributors should do while this is unresolved,
and the bigger plan for comprehensively addressing this:
01:53 ned_deily jesstess, saw your nosy on Issue17496. Beware that it's
really a can of worms and definitely was
Changes by Berker Peksag berker.pek...@gmail.com:
Added file: http://bugs.python.org/file35337/socket.SocketType.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20689
___
Berker Peksag added the comment:
I couldn't reproduce this issue. I'm attaching HTML output of both
socket.AddressFamily and socket.SocketType enum types.
--
nosy: +berker.peksag
Added file: http://bugs.python.org/file35336/socket.AddressFamily.html
Serhiy Storchaka added the comment:
Try ./python -m pydoc -w socket.
--
Added file: http://bugs.python.org/file35338/socket.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20689
___
New submission from Nick Coghlan:
Some proposed changes to the introductory section of the Python 2.7 What's New
document. Key changes:
* I updated the Future of Python 2.x section to describe the status quo, rather
than preserving the original speculation from 2010
* I added a new section to
Stefan Krah added the comment:
OverflowError vs. ValueError is a debatable issue (msg215873). In my
view ValueError should be raised in most of the cases.
I do not see anything wrong with the docs though, since the link
you posted talks about arithmetic operations.
--
nosy: +skrah
Stefan Krah added the comment:
While NumPy is of course not normative, this is what they do:
numpy.random.triangular(left=1, right=2, mode=0)
Traceback (most recent call last):
File stdin, line 1, in module
File mtrand.pyx, line 3218, in mtrand.RandomState.triangular
Serhiy Storchaka added the comment:
Only ufix_utf8 (with the utf-8 encoding of stdin/stdout/stderr) and ufix_locale
(with hacked tracebacks) make sense.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15809
Georg Brandl added the comment:
Knowledge of RST should be more than enough; there is not much Sphinx-specific
markup, and even that you won't pick up easily while looking at the file.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
Georg Brandl added the comment:
you WILL pick up, of course.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8243
___
___
Python-bugs-list
Stefan Krah added the comment:
Hi Andrew. Did you by any chance sign the contributor agreement?
[It's perfectly okay if you don't want to, but then we cannot use
the patch from #20230.]
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
BDFL says (http://permalink.gmane.org/gmane.comp.python.devel/146074):
Given that the claim Python 2 doesn't support Unicode filenames is
factually incorrect (in Python 2.7, most filesystem calls in fact do support
Unicode, at least on some platforms), I
Nick Coghlan added the comment:
Added Brett to the nosy list for feedback, since the porting guide is mostly
his work.
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21569
Xavier de Gaye added the comment:
The patch with a test case.
--
Added file: http://bugs.python.org/file35339/sigint_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20269
___
New submission from Brandon:
Observe the following code:
import MySQLdb, MySQLdb.cursors, datetime
... mysqlCursor is a cursor object from a connection to database from the
MySQLdb module ...
mysqlCursor.execute(SELECT NOW())
timeRow = mysqlCursor.fetchall()
currentDateTime =
On 24.05.2014 15:55, Brandon wrote:
Observe the following code:
import MySQLdb, MySQLdb.cursors, datetime
... mysqlCursor is a cursor object from a connection to database from the
MySQLdb module ...
mysqlCursor.execute(SELECT NOW())
timeRow = mysqlCursor.fetchall()
currentDateTime =
Brett Cannon added the comment:
Nope, I commented where I meant to. I wanted a way to promote people to
**always** create modules with properly initialized attributes while also
dealing with the module creation dance at the same time. Otherwise it will
require expanding the API of
Brett Cannon added the comment:
Issue #20383 is tracking adding an API to simply getting the proper module and
having it be initialized.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21235
Brandon added the comment:
Type returned as datetime, I was not familiar with the MySQLdb code. Sorry for
the bad report.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21570
Changes by Brandon x...@codeslum.org:
--
resolution: - not a bug
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21570
___
___
Python-bugs-list
Nick Coghlan added the comment:
I'd ask Why not a class method?, but I already know the answer
(types.ModuleType is implemented in C, so it would be unnecessarily painful to
implement it that way).
Given that, the utility function approach sounds good to me.
--
Geoffrey Spear added the comment:
Per pitrou's suggestion, eliminate get_time altogether and use _PyTime_INTERVAL
macro.
--
Added file: http://bugs.python.org/file35340/issue21555-3.patch
___
Python tracker rep...@bugs.python.org
Giampaolo Rodola' added the comment:
Ok, I will go on then.
You have eaten return NULL; in posix_mkfifo.
What do you mean?
If TESTFN_UNICODE.encode(TESTFN_ENCODING) fails (on POSIX locale), it will be
better to run tests with
unicode(TESTFN, 'ascii') than skip them.
Agreed.
Tests
Roundup Robot added the comment:
New changeset d151ee749f5a by Antoine Pitrou in branch 'default':
Issue #21555: simplify code in gcmodule.c by using the pytime.h functions
instead of trying to call time.time() via the C API.
http://hg.python.org/cpython/rev/d151ee749f5a
--
nosy:
Antoine Pitrou added the comment:
Patch committed. Thank you for contributing, Geoffrey!
--
resolution: - fixed
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21555
Nikolaus Rath added the comment:
Tal, I was referring to this mail:
https://mail.python.org/pipermail/python-dev/2014-January/132066.html
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20177
Éric Araujo added the comment:
IIRC, when the tarfile module CLI was added, there was a decision to keep it
short and simple, not mimic the whole tar(1) interface.
Python core ships with modules that should be featurefull, but we don’t put
much focus or effort on general utilities: the only
Serhiy Storchaka added the comment:
Well, if we allow to change signature of theses functions, here is a patch
which fixes _list_from_layouttuple and _val_or_dict and rewrites tests. Mocked
TkApp is used because test_functions should run without the gui resource
enabled.
--
keywords:
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: test needed - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21402
___
___
Serhiy Storchaka added the comment:
You have eaten return NULL; in posix_mkfifo.
What do you mean?
You deleted return NULL; after if (!PyArg_ParseTuple(...)) in the
posix_mkfifo() function.
Tests should check that results for unicode filename is same as for str
filename.
What do you
Terry J. Reedy added the comment:
run-runall.diff import cleanly to 3.4. Running all the tests works well enough
that I am applying this, with minor changes, to be a base for further patches.
Good job.
The few problems I fixed:
1. AutoCompleteWindow.py had \n added at the beginning. I just
New submission from Jan Kanis:
When building, pythons setup.py tries to find external sources for optional
modules such as ssl, sqlite, etc. For that it searches the CFLAGS environment
variable for -I options. C compilers such as gcc and clang also interpret CPATH
and C_INCLUDE_PATH as extra
Jesús Cea Avión added the comment:
Python 3.5. File _cursesmodule.c, line 3522.
Marking this bug as invalid. Please, reopen if you think I am mistaken.
--
assignee: docs@python - jcea
nosy: +jcea
___
Python tracker rep...@bugs.python.org
Changes by Jesús Cea Avión j...@jcea.es:
--
resolution: - not a bug
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21562
___
akira added the comment:
The short answer is: no, you don't have to make you thread thread
safe, as long as it can reliably run even in the presence of
background threads (like the tkinter threads Victor mentions).
https://mail.python.org/pipermail/python-dev/2014-May/134541.html
It seems
Benjamin Peterson added the comment:
How are you reproducing the bug? In Python 2, the AST base class doesn't have a
__dict__, and it's subtypes do support GC.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15293
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21534
___
Terry J. Reedy added the comment:
Since I wanted to get this large patch applied as a basis for further work, I
went ahead with the 2.7 backport. I am listing the issues in converting
run-runall-34.diff to run-runall-27.diff to help Saimadhav do this in the
future.
1. /tkinter/Tkinter/ 7
Roundup Robot added the comment:
New changeset ece24bcd1a6f by Terry Jan Reedy in branch '2.7':
Issue #21477: Idle htest: merge and modify run and runall; add many tests.
http://hg.python.org/cpython/rev/ece24bcd1a6f
New changeset 038cbbef4539 by Terry Jan Reedy in branch '3.4':
Issue #21477:
New submission from Ned Deily:
Currently the license command for the interactive interpreter falls back to
attempting to download a release-specific license URL if LICENSE.txt is not
found locally. This adds the requirement to the release process to create a
release-specific license file for
Benjamin Peterson added the comment:
Big +1
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21572
___
___
Python-bugs-list mailing list
Lita Cho added the comment:
I did not know that NEWS items should not be edited unless it is about to be
committed. The previous comments suggested to put it in. Thank you for the
feedback.
I can move the Turtle Demp into the Help Menu rather than the File menu. I
agree that it seems out of
Eric V. Smith added the comment:
I'm going to go ahead and close this. Alternate formatting was added to float
and complex. I think leaving this issue open just confuses whether or not that
support was added. I know I had to go back and double check.
Since decimal never participated in
Terry J. Reedy added the comment:
I just discovered today that Rietveld can do diffs between diffs, so to speak.
For example,
http://bugs.python.org/review/21477/diff2/11941:11942/Lib/idlelib/idle_test/htest.py
showed the changes between patched htest in 3.4 and 2.7.
--
Antoine Pitrou added the comment:
Sounds like a pretty obvious improvement.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21572
___
New submission from Jessica McKellar:
Lib/turtle.py has some code formatting issues. Let's clean them up to make the
module easier to read as interns start working on it this summer. Specifically:
1. Run turtle.py through a pep8 checker and fix the issues that are reasonable
to fix.
2. Run
theme added the comment:
skrah: I am not sure what link are you referring to.
However, no matter which link you are talking about, the documentation still
doesn't match the behavior no matter how you interpret it.
Some possible interpretations of the documentation on OverflowError:
-
Changes by Lita Cho lita@gmail.com:
--
nosy: +Lita.Cho
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21573
___
___
Python-bugs-list mailing
Ned Deily added the comment:
Your original patch LGTM. However, since it was written, Setup *shared*
support became even more broken due to changes in Makefile macros. Attached is
an updated patch. I've never tried customizing Setup before so I don't have a
lot of confidence that it now
Ned Deily added the comment:
setup.py already does that but only for builds on OS X (darwin); see
http://hg.python.org/cpython/file/default/setup.py#l539. The comments there
suggest to me that the code was made conditional to OS X to avoid introducing
regressions in builds on other
Changes by Ned Deily n...@acm.org:
--
nosy: +gregorlingl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21573
___
___
Python-bugs-list mailing list
Lita Cho added the comment:
I'm claiming this ticket. Plan to work on it during my OPW internship.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21573
___
54 matches
Mail list logo