Search Discussions
-
In Python there is a operation for floor division: a // b. Ceil division easy can be expressed via floor division: -((-a) // b). But round division is more complicated. This operation is needed in ...
Serhiy Storchaka
Sep 10, 2015 at 8:01 pm
Sep 11, 2015 at 4:30 pm -
Ok, I reached out to Theo de Raadt to talk to him about what he was suggesting without Guido having to play messenger and forward fragments of the email conversation. I'm starting a new thread ...
Donald Stufft
Sep 10, 2015 at 12:01 am
Sep 11, 2015 at 8:27 pm -
Jukka wrote up a proposal for structural subtyping. It's pretty good. Please discuss. https://github.com/ambv/typehinting/issues/11#issuecomment-138133867 -- --Guido van Rossum (python.org/~guido) An ...
Guido van Rossum
Sep 9, 2015 at 8:17 pm
Sep 11, 2015 at 4:18 pm -
Dear all I found a BUG in the standard while statement, which appears both in python 2.7 and python 3.4 on my system. It usually won't appear because I only stumbled upon it after trying to implement ...
Stephan Sahm
Sep 9, 2015 at 5:10 pm
Sep 11, 2015 at 2:39 am -
I've received several long emails from Theo de Raadt (OpenBSD founder) about Python's default random number generator. This is the random module, and it defaults to a Mersenne Twister (MT) seeded by ...
Guido van Rossum
Sep 9, 2015 at 4:35 pm
Sep 12, 2015 at 1:19 am -
Hi, in the parallel "format and print" thread, Andrew Barnert wrote: ... That last thing, '{}\t{}'.format(head, '\t'.join(names)), is something I find myself writing relatively often - when I do not ...
Wolfgang Maier
Sep 8, 2015 at 10:00 am
Sep 10, 2015 at 10:27 am -
It would be incredibly convenient, especially for users of AppVayor's continuous integration service, if there were a(n official) repository for chocolatey containing recent releases of python. The ...
Alexander Walters
Sep 8, 2015 at 9:35 am
Sep 9, 2015 at 5:36 am -
Hi folks, currently, I came across http://pythonwheels.com/ during researching how to make a proper Python distribution for PyPI. I thought it would be great idea to tell other maintainers to upload ...
Sven R. Kunze
Sep 6, 2015 at 5:33 pm
Sep 10, 2015 at 5:46 pm -
[CC'ing python-dev@ for those that are curious; please drop and keep follow-up discussion to python-ideas@] Hi folks, I've made a lot of progress on PyParallel since the PyCon dev summit ...
Trent Nelson
Sep 6, 2015 at 3:19 pm
Sep 6, 2015 at 3:19 pm -
Hi! This is my first time I'm sending an email to the python-ideas mailing list. I've got an enhancement idea for the built-in print function and I hope it is as good as I think it is. Imagine you ...
Anand Krishnakumar
Sep 5, 2015 at 7:33 pm
Sep 11, 2015 at 2:38 am -
I've opened an issue for adding non-English names to the turtle module's function names: https://bugs.python.org/issue24990 This would effectively take this code: import turtle t = turtle.Pen() ...
Al Sweigart
Sep 3, 2015 at 8:53 pm
Sep 10, 2015 at 5:17 pm -
When defining a place for config files, cache files, and so on, people usually hack around in a OS-dependent, misinformed, and therefore wrong way. Thanks to the tempfile API we at least don?t see ...
Philipp A.
Sep 1, 2015 at 8:00 am
Sep 4, 2015 at 1:43 am -
mypy currently inspects the comment on the line of first assignment for the variables to be type hinted. It is logical that at some time python language will add support to allow these type hints to ...
Ia n
Sep 1, 2015 at 4:03 am
Sep 2, 2015 at 4:01 am -
0
[Python-ideas] some useful descriptors + a classtools module (was: Properties for classes possible?)
[Just to be clear, I don't have much time to pursue this so it's more food-for-though than anything. Feel free to pick up the baton. <wink ] While we're on the topic, there are other generic ...Eric Snow
Aug 29, 2015 at 9:35 pm
Aug 29, 2015 at 9:35 pm -
With the major design decisions made, behold version 2 of my draft PEP on string interpolation. It's now significantly shorter due to removal of most of the i18n related discussion, pruning, as well ...
Mike Miller
Aug 27, 2015 at 4:40 am
Aug 28, 2015 at 5:13 pm -
One of the remaining questions for the string interpolation subject is whether to allow for easy access to environment variables and output-capture of external processes (aka command-substitution) as ...
Mike Miller
Aug 26, 2015 at 6:20 pm
Aug 29, 2015 at 4:50 am -
While reading material for implementing some kind of import hooks and so forth for the xfork package, I came across this one ...
Sven R. Kunze
Aug 25, 2015 at 6:03 pm
Aug 29, 2015 at 4:41 am -
Hi, when looking at pep-0484 I find the *non-orthogonal* construction, which may lead to a misconcetion: What students should be able to code: 1. varinat ...
Prof. Dr. L. Humbert
Aug 24, 2015 at 4:19 am
Aug 28, 2015 at 7:21 pm -
The sys.flags structure has both .interactive and .inspect for when python is run with -i. I cannot figure out a way to make one 'True' and the other 'False'. Are they both needed? Can one be ...
Alexander Walters
Aug 23, 2015 at 6:30 pm
Aug 24, 2015 at 5:12 pm -
functionality of all(iter) is to check all are true by converting it to boolean type if it is changed to all(iterable,key=lambda a:bool(a)) it still works and we can also do a lot of things like ...
Shiva prasanth
Aug 23, 2015 at 6:31 am
Aug 23, 2015 at 10:39 am -
Re-sending after subscribing. On Fri, Aug 21, 2015 at 9:47 PM, Balakrishnan Balasubramanian wrote:
Balakrishnan B
Aug 22, 2015 at 2:01 am
Aug 22, 2015 at 11:40 am -
i just learned decorators and i'm in a verge of asking why no decorators for objects thanks for helping me understand the concept of decorators. it was very helpful. suppose let us say we installed ...
Shiva prasanth
Aug 21, 2015 at 7:52 am
Aug 21, 2015 at 8:21 pm -
clearly we write decorators for classes and functions and now why not for objects suppose def increment(a): return a+1 a=5 @increment a should modify the value of a to 6 but instead it is giving an ...
Shiva prasanth
Aug 21, 2015 at 2:32 am
Aug 21, 2015 at 4:35 am -
The ground seems to be settling on the issue, so I have tried my hand at a grand unified pep for string interpolation. I originally started writing thinking I would fight arbitrary expressions, ...
Mike Miller
Aug 20, 2015 at 11:10 pm
Aug 30, 2015 at 6:40 pm -
I think it would be great to have properties for classes in Python2 and Python3 There are some "patterns" to get this working ...
Thomas Güttler
Aug 20, 2015 at 6:54 am
Aug 29, 2015 at 9:21 pm -
Hi, I wrote a message to this group via google groups yesterday. This message did not arrive here. Now I write as a subscriber to the mailman mailing list. My post is visible via google groups here ...
Thomas Güttler
Aug 20, 2015 at 6:52 am
Aug 21, 2015 at 11:03 pm -
pip list only shows the name of package which auther wants which cant be imported for import we have to search for internet in which package format auther has written what i want to introduce is a ...
Shiva prasanth
Aug 18, 2015 at 1:20 am
Aug 18, 2015 at 1:20 am -
In ECMAScript 6 there is a concept of Template Strings [1]. What if we add something similar in Python? Some key ideas -------------- 1. Template Strings (TS) will be built on top of PEP 498 ...
Yury Selivanov
Aug 17, 2015 at 8:13 pm
Aug 20, 2015 at 6:08 pm -
pip list only shows the name of package which auther wants which cant be imported for import we have to search for internet in which package format auther has written what i want to introduce is a ...
Shiva prasanth
Aug 17, 2015 at 5:19 pm
Aug 17, 2015 at 5:19 pm -
Currently, when the function for map() returns a list, the resulting object is an iterable of lists: [[1, 1], [2, 2], [3, 3], [4, 4]] However, a function to convert each element to multiple elements, ...
Mark Tse
Aug 15, 2015 at 7:18 pm
Aug 18, 2015 at 12:30 am -
PEP: XXX Title: Automatic Globbing of Filenames in argparse on Windows Version: $Revision$ Last-Modified: $Date$ Author: Kef Schecter <furrykef at gmail.com Status: Draft Type: Standards Track ...
Kef Schecter
Aug 14, 2015 at 9:32 am
Aug 14, 2015 at 1:47 pm -
I'd like to propose expanding the list of 3rd-party packages we bundle and install by default. (Obviously this does not apply to platforms that repackage Python and can do whatever they want, but on ...
Steve Dower
Aug 13, 2015 at 5:06 pm
Aug 19, 2015 at 9:37 am -
Hi All, Occasionally I find myself wanting to unpack the values of a dictionary into local variables of a function. This most often occurs when marshalling values to/from some serialization format ...
Scott Sanderson
Aug 12, 2015 at 1:57 pm
Aug 13, 2015 at 6:36 am -
Has there been any progress with PEP 487? I am finding myself writing a lot of boilerplate because of Python's so-called "metaclass hell". What are the problems with PEP 487? Best, Neil An HTML ...
Neil Girdhar
Aug 12, 2015 at 8:29 am
Aug 12, 2015 at 12:25 pm -
So, again, I am -1000 on (both of these PEPs) because they are just another way of making it too easy to do the wrong thing. * #1 most prevalent security vulnerability: *1**CWE-89 ...
Wes Turner
Aug 11, 2015 at 6:22 pm
Aug 12, 2015 at 5:47 am -
Hi, I haven't done i18n recently, so bare with me. I'm not sure about bolting this on to "format strings", in that it feels like an orthogonal concept. However, what if we had i18n strings as well, ...
Mike Miller
Aug 10, 2015 at 8:31 pm
Aug 22, 2015 at 4:25 am -
While the discussion of string formatting has focused on the concept of "format strings", it seems to me they are really format expressions. The expressions in this case are a bit like comprehensions ...
Ron Adam
Aug 9, 2015 at 9:20 pm
Aug 11, 2015 at 8:09 pm -
I was recently bitten by the fact that the command: python -m foo pulls in the module and attaches it as sys.modules['__main__'], but not to sys.modules['foo']. Should the program also: import foo it ...
Cameron Simpson
Aug 8, 2015 at 9:49 am
Aug 10, 2015 at 10:49 am -
There's an open issue for adding support for awaiting for concurrent.futures.Futures here: http://bugs.python.org/issue24383 This is about writing code like this: async def handler(self): result = ...
Alex Grönholm
Aug 7, 2015 at 4:51 pm
Aug 13, 2015 at 6:53 am -
In the "Briefer string format" thread, Guido suggested [1] in passing that it would have been nice if all literal strings had always supported string interpolation. I've come around to this idea as ...
Eric V. Smith
Aug 5, 2015 at 6:56 pm
Aug 10, 2015 at 11:49 am -
Hello all, This is a writeup of a proposal I floated here: https://mail.python.org/pipermail/python-list/2015-August/694905.html last Sunday. If the response is positive I wish to write a PEP ...
Cameron Simpson
Aug 5, 2015 at 2:03 am
Aug 10, 2015 at 10:32 pm -
Concatenation is the most fundamental operation that can be done on iterators. In fact, we already do that with lists. [1, 2, 3] + [4, 5, 6] # evaluates to [1, 2, 3, 4, 5, 6] I propose: iter([1, 2, ...
Grayson, Samuel Andrew
Aug 5, 2015 at 12:22 am
Aug 5, 2015 at 4:48 pm -
Thanks everybody for the feedback on 'fork'. Let me address the issues and specify it further: 1) Process vs. Thread vs. Coroutine From my understanding, the main fallacy here is that the caller ...
Sven R. Kunze
Aug 1, 2015 at 5:36 pm
Aug 21, 2015 at 4:21 am -
Thanks everybody for inspiring me with alternative ways of working with pools. I am very certain that any them will work as intended. However, they do not zero in 100% on my main intentions: 1) easy ...
Sven R. Kunze
Aug 1, 2015 at 5:29 pm
Aug 4, 2015 at 6:34 pm -
Hi everybody, well during the discussion of the concurrency capabilities of Python, I found this article reading worthwhile: http://chriskiehl.com/article/parallelism-in-one-line/ His statement ...
Sven R. Kunze
Jul 29, 2015 at 4:46 pm
Jul 30, 2015 at 7:24 am -
(Apologies, I've gotten a bit lost in the recent PEP-431 discussion on -dev. To recap, it concerns changing datetime to use UTC internally.) When doing datetime calculations, I read two major use ...
Mike Miller
Jul 28, 2015 at 8:10 pm
Jul 29, 2015 at 6:08 pm -
Following the discussion of the new "async" keyword, I think it would be useful to provide a generic way to alter the behavior of loops. My idea is to allow a user to take control over the operation ...
Todd
Jul 28, 2015 at 1:28 pm
Jul 29, 2015 at 5:16 pm -
Hello, Currently, the way to iterate over keys and values of a mapping is to call items() and iterate over the resulting view:: for key, value in a_dict.items(): print(key, value) I believe that ...
Petr Viktorin
Jul 26, 2015 at 4:09 pm
Jul 29, 2015 at 5:09 pm -
Hi, Pydoc (and AFAIK loads of other introspection tools as well) currently ignores attributes on metaclasses. I wonder if it would be better to teach pydoc (and possibly inspect as well) about those, ...
Ronald Oussoren
Jul 25, 2015 at 11:47 am
Jul 26, 2015 at 2:09 pm -
Example of modification: old: smtp = smtplib.SMTP(self.mailhost, port, timeout=self._timeout) new: if self.smtps: smtp = smtplib.SMTP_SSL(self.mailhost, port, *self.smtps, timeout=self._timeout) ...
Jakedrummond
Jul 24, 2015 at 2:49 am
Jul 24, 2015 at 2:49 am
Group Overview
group | python-ideas |
categories | python |
discussions | 2,036 |
posts | 35,162 |
users | 988 |
website | python.org |
Top users
Archives
- September 2015 (458)
- August 2015 (730)
- July 2015 (490)
- June 2015 (610)
- May 2015 (568)
- April 2015 (384)
- March 2015 (582)
- February 2015 (721)
- January 2015 (532)
- December 2014 (359)
- November 2014 (310)
- October 2014 (307)
- September 2014 (363)
- August 2014 (715)
- July 2014 (267)
- June 2014 (193)
- May 2014 (259)
- April 2014 (360)
- March 2014 (1,048)
- February 2014 (1,102)
- January 2014 (539)
- December 2013 (234)
- November 2013 (497)
- October 2013 (256)
- September 2013 (418)
- August 2013 (598)
- July 2013 (750)
- June 2013 (674)
- May 2013 (649)
- April 2013 (237)
- March 2013 (390)
- February 2013 (509)
- January 2013 (710)
- December 2012 (330)
- November 2012 (435)
- October 2012 (1,341)
- September 2012 (190)
- August 2012 (177)
- July 2012 (202)
- June 2012 (370)
- May 2012 (335)
- April 2012 (282)
- March 2012 (374)
- February 2012 (729)
- January 2012 (342)
- December 2011 (283)
- November 2011 (274)
- October 2011 (671)
- September 2011 (665)
- August 2011 (367)
- July 2011 (381)
- June 2011 (199)
- May 2011 (292)
- April 2011 (417)
- March 2011 (475)
- February 2011 (150)
- January 2011 (141)
- December 2010 (95)
- November 2010 (282)
- October 2010 (360)
- September 2010 (166)
- August 2010 (137)
- July 2010 (346)
- June 2010 (267)
- May 2010 (103)
- April 2010 (205)
- March 2010 (72)
- February 2010 (125)
- January 2010 (57)
- December 2009 (106)
- November 2009 (60)
- October 2009 (619)
- September 2009 (304)
- August 2009 (192)
- July 2009 (351)
- June 2009 (172)
- May 2009 (490)
- April 2009 (581)
- March 2009 (648)
- February 2009 (576)
- January 2009 (145)
- December 2008 (87)
- November 2008 (84)
- October 2008 (185)
- September 2008 (199)
- August 2008 (124)
- July 2008 (89)
- June 2008 (70)
- May 2008 (61)
- April 2008 (52)
- March 2008 (106)
- February 2008 (27)
- January 2008 (97)
- December 2007 (27)
- November 2007 (138)
- October 2007 (73)
- September 2007 (85)
- August 2007 (5)
- July 2007 (28)
- June 2007 (40)
- May 2007 (312)
- April 2007 (198)
- March 2007 (119)
- February 2007 (74)
- January 2007 (153)
- December 2006 (29)