Re: Win32 API in pywin32

2016-08-06 Thread Rustom Mody
On Friday, August 5, 2016 at 5:29:37 PM UTC+5:30, Matt Wheeler wrote: > On Fri, 5 Aug 2016, 02:23 Lawrence D’Oliveiro, wrote: > > > On Friday, August 5, 2016 at 12:06:23 PM UTC+12, Igor Korot wrote: > > > > > > On Thu, Aug 4, 2016 at 4:57 PM, Lawrence D’Oliveiro wrote: > > >> On Friday, August 5,

[issue24278] Docs on Parsing arguments should say something about mem mgmt for formatters returning C strings

2016-08-06 Thread Martin Blais
Martin Blais added the comment: Thank you Martin! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

Re: Ned Batchelder: Loop Like A Native

2016-08-06 Thread Chris Angelico
On Sun, Aug 7, 2016 at 1:42 PM, Steven D'Aprano wrote: > When you read a book, there are two ways of stopping: > > - reach the end, and run out of pages to read, so you stop; > - give up reading early, and just put the book away. > > (Or possibly throw the book across

Re: Me, myself and I [was Re: Python slang]

2016-08-06 Thread Chris Angelico
On Sun, Aug 7, 2016 at 1:22 PM, Steven D'Aprano wrote: > But using it in place of "me"? I don't think so. > > "The research was done by myself." > "He punched myself in the head." > > I wouldn't say it is *wrong*, just inelegant and rather pretentious. I'm sure

Re: How do I make a game in Python ?

2016-08-06 Thread Chris Angelico
On Sun, Aug 7, 2016 at 1:14 PM, Michael Torrie wrote: > On 08/06/2016 03:51 PM, Cai Gengyang wrote: >> As in, any recommended websites that helps users create complex games in >> Python ? > > I imagine you create a complex game in Python the same way you'd do it > in just

Re: where is it

2016-08-06 Thread Steven D'Aprano
On Sun, 7 Aug 2016 01:31 pm, Steven D'Aprano wrote: > If there is a shortcut on the desktop, right click on the desktop and use > that to locate IDLE. Sorry, I meant right-click on the SHORTCUT. > Or use Start Menu > Find File (or whatever Windows calls it) to find IDLE. > > But I think you

Re: Ned Batchelder: Loop Like A Native

2016-08-06 Thread Steven D'Aprano
On Sun, 7 Aug 2016 08:05 am, Lawrence D’Oliveiro wrote: > On Saturday, August 6, 2016 at 12:08:30 PM UTC+12, bream...@gmail.com > wrote: >> A couple or three years old but this is well worth seeing for anybody, >> regardless of your Python expertise. >> http://nedbatchelder.com/text/iter.html >

Re: where is it

2016-08-06 Thread Steven D'Aprano
On Sun, 7 Aug 2016 03:16 am, Dave wrote: > I am trying to associate the .py file extension with idle...where IS > idle? Can you make it a bit more difficult to load/use your software > please. We certainly could, but we're not going to make it more difficult just to suit you. You can make

Me, myself and I [was Re: Python slang]

2016-08-06 Thread Steven D'Aprano
On Sun, 7 Aug 2016 07:33 am, Michael Torrie wrote: > On 08/05/2016 07:14 PM, Steven D'Aprano wrote: >> In English, we refer to ourselves in the first person as I, me, myself, >> and sometimes "self", never as "this". One can say "this one has a hat", >> for example, but it sounds weird, like

Re: How do I make a game in Python ?

2016-08-06 Thread Michael Torrie
On 08/06/2016 03:51 PM, Cai Gengyang wrote: > As in, any recommended websites that helps users create complex games in > Python ? I imagine you create a complex game in Python the same way you'd do it in just about any other language. Thus any website on game design would be broadly applicable.

Re: Python slang

2016-08-06 Thread Michael Torrie
On 08/06/2016 08:27 PM, Clayton Kirkwood wrote: > You can always tell the correctness by removing the other person. If it > doesn't sound right then, then it is wrong. You don't say 'I gave to I', or > 'I gave to me', it is 'I gave to myself'. Yup good point, and I failed at that obviously.

Re: Python slang

2016-08-06 Thread Chris Angelico
On Sun, Aug 7, 2016 at 12:32 PM, Steven D'Aprano wrote: > By "atomic type", I mean a class which "feels" like it is a primitive, > low-level structure rather than an object with attributes, for example: > > - builtins int, float, str, bytes, dict, list, tuple, set,

Re: Python slang

2016-08-06 Thread Rustom Mody
On Sunday, August 7, 2016 at 1:25:43 AM UTC+5:30, Marco Sulla wrote: > On 6 August 2016 at 02:13, Chris Angelico wrote: > > On Sat, Aug 6, 2016 at 9:21 AM, Marco Sulla wrote: > >> I want to clarify that when I say "different from the other > >> languages", I mean "different from the most used

Re: Python slang

2016-08-06 Thread Steven D'Aprano
On Sun, 7 Aug 2016 04:33 am, Terry Reedy wrote: > On 8/6/2016 2:30 AM, Michael Selik wrote: > >> When people ask me why the core classes are lowercased, > > Int, float, list, dict, etc were once functions that return objects of > type 'int', 'float', 'list', 'dict', etc, before they became

RE: Python slang

2016-08-06 Thread Clayton Kirkwood
You can always tell the correctness by removing the other person. If it doesn't sound right then, then it is wrong. You don't say 'I gave to I', or 'I gave to me', it is 'I gave to myself'. crk > -Original Message- > From: Python-list [mailto:python-list- >

Re: Ned Batchelder: Loop Like A Native

2016-08-06 Thread Ned Batchelder
On Saturday, August 6, 2016 at 9:21:24 PM UTC-4, Lawrence D’Oliveiro wrote: > On Sunday, August 7, 2016 at 11:36:06 AM UTC+12, Ned Batchelder wrote: > > > Didn't we already do this debate? > > I understand. You want to discuss loops, just not *those* sorts of loops... I didn't post this link

Re: Ned Batchelder: Loop Like A Native

2016-08-06 Thread Lawrence D’Oliveiro
On Sunday, August 7, 2016 at 11:36:06 AM UTC+12, Ned Batchelder wrote: > Didn't we already do this debate? I understand. You want to discuss loops, just not *those* sorts of loops... -- https://mail.python.org/mailman/listinfo/python-list

Re: Python slang

2016-08-06 Thread Gregory Ewing
Ian Kelly wrote: (not grammar, since "myself" is grammatically correct) Not sure about that. "Myself" is a reflexive pronoun, used when the subject and object of a verb are the same. So "I did this research by myself" is correct. But if Bob is involved, the subject and object are different, so

Re: Ide or code editor confusion

2016-08-06 Thread Lawrence D’Oliveiro
On Friday, August 5, 2016 at 6:36:45 AM UTC+12, Michael Torrie wrote: > On 08/04/2016 01:23 AM, Lawrence D’Oliveiro wrote: >> That’s why I’ve come to the conclusion it’s a waste of time buying books >> on computing topics. They start to reek of decay while they’re still on >> the shelf. > >

Re: Win32 API in pywin32

2016-08-06 Thread Lawrence D’Oliveiro
On Saturday, August 6, 2016 at 8:05:40 AM UTC+12, eryk sun wrote: > I don't know all of the compatibility problems and > constraints (and pressure from important customers) that they faced ... Given some of their more recent (and not-so-recent) decisions, one wonders how much of this “pressure

Re: How do I make a game in Python ?

2016-08-06 Thread Terry Reedy
On 8/6/2016 5:51 PM, Cai Gengyang wrote: As in, any recommended websites that helps users create complex games in Python ? For 2D graphics, try pygame among others. For 3D, I don't know what is current. On Sunday, August 7, 2016 at 5:41:25 AM UTC+8, Ian wrote: On Aug 6, 2016 11:57 AM,

Re: Ned Batchelder: Loop Like A Native

2016-08-06 Thread Ned Batchelder
On Saturday, August 6, 2016 at 7:36:06 PM UTC-4, Ned Batchelder wrote: > On Saturday, August 6, 2016 at 6:06:27 PM UTC-4, Lawrence D’Oliveiro wrote: > > On Saturday, August 6, 2016 at 12:08:30 PM UTC+12, bream...@gmail.com wrote: > > > A couple or three years old but this is well worth seeing for

Re: Ned Batchelder: Loop Like A Native

2016-08-06 Thread Ned Batchelder
On Saturday, August 6, 2016 at 6:06:27 PM UTC-4, Lawrence D’Oliveiro wrote: > On Saturday, August 6, 2016 at 12:08:30 PM UTC+12, bream...@gmail.com wrote: > > A couple or three years old but this is well worth seeing for anybody, > > regardless of your Python expertise.

Re: Python slang

2016-08-06 Thread Grant Edwards
On 2016-08-06, Michael Torrie wrote: > Sadly it has become an epidemic of late for folks to misuse the > word, "myself." I think it comes from people not wanting to sound > presumptuous when referring to themselves. It drives me crazy to > hear so many people say something

Announcing HarfPy

2016-08-06 Thread Lawrence D’Oliveiro
HarfPy is a Python binding for the HarfBuzz typographic shaping library. It is designed to work in conjunction with my Python wrappers for the other major parts of the Linux typography stack: * Qahirah -- my binding for the

Re: Ned Batchelder: Loop Like A Native

2016-08-06 Thread Lawrence D’Oliveiro
On Saturday, August 6, 2016 at 12:08:30 PM UTC+12, bream...@gmail.com wrote: > A couple or three years old but this is well worth seeing for anybody, > regardless of your Python expertise. http://nedbatchelder.com/text/iter.html A loop like for i in ... : ... if ... cond ... :

Re: How do I make a game in Python ?

2016-08-06 Thread Ned Batchelder
On Saturday, August 6, 2016 at 5:51:40 PM UTC-4, Cai Gengyang wrote: > As in, any recommended websites that helps users create complex games in > Python ? http://inventwithpython.com/ --Ned. -- https://mail.python.org/mailman/listinfo/python-list

Re: How do I make a game in Python ?

2016-08-06 Thread Cai Gengyang
As in, any recommended websites that helps users create complex games in Python ? On Sunday, August 7, 2016 at 5:41:25 AM UTC+8, Ian wrote: > On Aug 6, 2016 11:57 AM, "Cai Gengyang" wrote: > > How do I make a game in Python ? > > > import random > > answer =

Re: Python slang

2016-08-06 Thread Ian Kelly
On Aug 6, 2016 3:36 PM, "Michael Torrie" wrote: Sadly it has become an epidemic of late for folks to misuse the word, "myself." I think it comes from people not wanting to sound presumptuous when referring to themselves. It drives me crazy to hear so many people say

Re: How do I make a game in Python ?

2016-08-06 Thread Ian Kelly
On Aug 6, 2016 11:57 AM, "Cai Gengyang" wrote: How do I make a game in Python ? import random answer = random.randint(0, 100) while True: guess = input("What number am I thinking of? ") if int(guess) == answer: print("Correct!") break

Re: Python slang

2016-08-06 Thread Chris Angelico
On Sun, Aug 7, 2016 at 7:33 AM, Michael Torrie wrote: > Sadly it has become an epidemic of late for folks to misuse the word, > "myself." I think it comes from people not wanting to sound > presumptuous when referring to themselves. It drives me crazy to hear > so many people

Re: Python slang

2016-08-06 Thread Ian Kelly
On Aug 6, 2016 2:10 PM, "Marco Sulla via Python-list" < python-list@python.org> wrote: Yes, I was thinking manly to SQL. That furthermore is NOT a programming language. Why not? It's claimed to be Turing complete. http://beza1e1.tuxen.de/articles/accidentally_turing_complete.html --

Re: Python slang

2016-08-06 Thread Michael Torrie
On 08/05/2016 07:14 PM, Steven D'Aprano wrote: > In English, we refer to ourselves in the first person as I, me, myself, and > sometimes "self", never as "this". One can say "this one has a hat", for > example, but it sounds weird, like something the Borg would say about a > specific Borg unit.

[issue27688] Expand documentation about Any in the typing module

2016-08-06 Thread Guido van Rossum
Changes by Guido van Rossum : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue27688] Expand documentation about Any in the typing module

2016-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset cbcab1fb1b8a by Guido van Rossum in branch '3.5': Better docs for typing.Any by Michael Lee. Fixes issue #27688. https://hg.python.org/cpython/rev/cbcab1fb1b8a New changeset f60e16663f6e by Guido van Rossum in branch 'default': Better docs for

[issue13829] exception error in _scproxy.so when called after fork

2016-08-06 Thread Evan Jones
Evan Jones added the comment: This is effectively the same as issue 27126. The discussion there convinced me that this may not be working around, since it isn't the only place this can happen! This same crash, caused by libdispatch not being fork compatible, also happens with sqlite and tk.

Re: Python slang

2016-08-06 Thread Chris Angelico
On Sun, Aug 7, 2016 at 5:37 AM, Bernd Nawothnig wrote: >> But SQL's NULL is a cross between C's NULL, IEEE's NaN, Cthulhu, and >> Emrakul. > > SQL NULL has the semantic of "unknown". So if one or both operands of > a comparison (or any other operation) are unknown the

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Sworddragon
Sworddragon added the comment: If we decide to word it this way eventually the sentence for "Windows only" needs to be updated too. Not sure about the other sentences as they sound a bit if they would guarantee what they say. Maybe somebody else knows more. --

[issue22557] Local import is too slow

2016-08-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue26754] PyUnicode_FSDecoder() accepts arbitrary iterable

2016-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 818f22f9ab02 by Serhiy Storchaka in branch 'default': Issue #26754: Undocumented support of general bytes-like objects https://hg.python.org/cpython/rev/818f22f9ab02 -- ___ Python tracker

[issue26800] Don't accept bytearray as filenames part 2

2016-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1e01ca34a42c by Serhiy Storchaka in branch 'default': Issue #26800: Undocumented support of general bytes-like objects https://hg.python.org/cpython/rev/1e01ca34a42c -- ___ Python tracker

Re: Python slang

2016-08-06 Thread Marco Sulla via Python-list
On 6 August 2016 at 03:35, Chris Angelico wrote: > On Sat, Aug 6, 2016 at 11:14 AM, Steven D'Aprano > wrote: >>> I don't ask about `None` instead of `null` because I suppose here it's >>> a matter of disambiguation (null, in many languages, is not

Re: Python slang

2016-08-06 Thread Marco Sulla via Python-list
On 6 August 2016 at 03:14, Steven D'Aprano wrote: > On Sat, 6 Aug 2016 08:00 am, Marco Sulla wrote: >> I'm referring to: >> * `except` instead of `catch` > > Because this isn't a game of "catch the ball". They're called "exceptions", > not "catchions". You *try*

Re: Python slang

2016-08-06 Thread Marco Sulla via Python-list
On 6 August 2016 at 02:13, Chris Angelico wrote: > On Sat, Aug 6, 2016 at 9:21 AM, Marco Sulla > wrote: >> I want to clarify that when I say "different from the other >> languages", I mean "different from the most used languages", that in

Re: Python slang

2016-08-06 Thread Marco Sulla via Python-list
On 6 August 2016 at 20:03, Michael Selik wrote: > On Sat, Aug 6, 2016, 10:10 AM Marco Sulla via Python-list > wrote: >> >> On 6 August 2016 at 00:31, Chris Angelico wrote: >> > "map" has many other meanings (most notably the

where is it

2016-08-06 Thread Dave via Python-list
I am trying to associate the .py file extension with idle...where IS idle? Can you make it a bit more difficult to load/use your software please. -- https://mail.python.org/mailman/listinfo/python-list

[issue27695] Long constant calculations stall compilation

2016-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue21074. -- ___ Python tracker ___ ___ Python-bugs-list

Nikola v7.7.12 is out!

2016-08-06 Thread Chris Warrick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.7.12. It fixes some bugs and adds new features. What is Nikola? === Nikola is a static site and blog generator, written in Python. It can

python-rrdtool 0.1.5 released

2016-08-06 Thread Christian Jurk
Dear community, I'm pleased to announce version 0.1.5 of python-rrdtool (former rrdtool-py3k). python-rrdtool is a rrdtool Python binding for Python 2.6+ and 3.3+. It’s based on the original Python (2.x) bindings module by Hye-Shik Chang and available as a native C extension. Changes in

Re: Python slang

2016-08-06 Thread Bernd Nawothnig
On 2016-08-06, Chris Angelico wrote: > On Sat, Aug 6, 2016 at 11:14 AM, Steven D'Aprano > wrote: >>> I don't ask about `None` instead of `null` because I suppose here it's >>> a matter of disambiguation (null, in many languages, is not equal to >>> null). >> >> Really?

Re: Python slang

2016-08-06 Thread Chris Angelico
On Sun, Aug 7, 2016 at 5:17 AM, Marco Sulla wrote: > > Nope, I was thinking that "map()" should be a method of an iterable. > But this is another topic :) The problem with that is that it has to become a method of _every_ iterable type, which means it becomes part of

Re: Python slang

2016-08-06 Thread Terry Reedy
On 8/6/2016 2:30 AM, Michael Selik wrote: When people ask me why the core classes are lowercased, Int, float, list, dict, etc were once functions that return objects of type 'int', 'float', 'list', 'dict', etc, before they became 'new-style classes', which are not just 'classes'. The

[issue27568] "HTTPoxy", use of HTTP_PROXY flag supplied by attacker in CGI scripts

2016-08-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Hans-Peter, In 3.3 (95b09ccc8a3e) and 3.4 (3c19023c9fec) the change completely removes any variant of http_proxy if REQUEST_METHOD is set. The only way to have http based proxy in cgi environment by using ProxyHandler method. This is solution introduced

Re: Python slang

2016-08-06 Thread Michael Selik via Python-list
On Sat, Aug 6, 2016, 10:10 AM Marco Sulla via Python-list < python-list@python.org> wrote: > On 6 August 2016 at 00:31, Chris Angelico wrote: > > On Sat, Aug 6, 2016 at 8:00 AM, Marco Sulla via Python-list > > wrote: > >> * `dict` instead of `map` > > >

How do I make a game in Python ?

2016-08-06 Thread Cai Gengyang
How do I make a game in Python ? -- https://mail.python.org/mailman/listinfo/python-list

[issue27695] Long constant calculations stall compilation

2016-08-06 Thread Brett Cannon
Changes by Brett Cannon : -- title: Compilation doesnt' end -> Long constant calculations stall compilation ___ Python tracker ___

[issue27700] Document asyncio.AbstractEventLoop, not asyncio.BaseEventLoop

2016-08-06 Thread Yury Selivanov
Yury Selivanov added the comment: I think we should fix this. BaseEventLoop is just an implementation detail of asyncio (I think we shouldn't have exposed it in asyncio.__all__ at all). -- ___ Python tracker

[issue27700] Document asyncio.AbstractEventLoop, not asyncio.BaseEventLoop

2016-08-06 Thread Guido van Rossum
Guido van Rossum added the comment: Cross-reference: this came up in https://github.com/python/typeshed/issues/452 -- ___ Python tracker ___

[issue27700] Document asyncio.AbstractEventLoop, not asyncio.BaseEventLoop

2016-08-06 Thread Guido van Rossum
New submission from Guido van Rossum: The asyncio docs currently document the event loop interface as belonging to BaseEventLoop. But the intention of PEP 3156 was for the interface to belong to AbstractEventLoop. In typeshed we ended up exporting only AbstractEventLoop, but this runs into

[issue27650] Implement `__repr__` methods for logging.Logger and others

2016-08-06 Thread Ram Rachum
Ram Rachum added the comment: Okay, but consider that if there are no tests, this code will never be run during testing. Consider that if there's a bug in that code that causes an exception to be raised (unlikely, I know, but maybe from the call to getLevelName) it won't be discovered until a

[issue27373] logging.handlers.SysLogHandler with TCP not working on rsyslog5.8

2016-08-06 Thread Vinay Sajip
Changes by Vinay Sajip : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue27650] Implement `__repr__` methods for logging.Logger and others

2016-08-06 Thread Vinay Sajip
Vinay Sajip added the comment: IMO it's not really worth adding tests for __repr__() - because no external code should depend on the exact representation of instances of these kinds of classes. -- ___ Python tracker

[issue27350] Compact and ordered dict

2016-08-06 Thread INADA Naoki
INADA Naoki added the comment: ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Python slang

2016-08-06 Thread Marco Sulla via Python-list
On 6 August 2016 at 00:31, Chris Angelico wrote: > On Sat, Aug 6, 2016 at 8:00 AM, Marco Sulla via Python-list > wrote: > This isn't slang; it's jargon Right. >> * `raise` instead of `throw` > > Quite a few other languages talk about raising

Re: Capturing the bad codes that raise UnicodeError exceptions during decoding

2016-08-06 Thread Matt Ruffalo
On 2016-08-04 15:45, Random832 wrote: > On Thu, Aug 4, 2016, at 15:22, Malcolm Greene wrote: >> Hi Chris, >> >> Thanks for your suggestions. I would like to capture the specific bad >> codes *before* they get replaced. So if a line of text has 10 bad codes >> (each one raising UnicodeError), I

Ned Batchelder: Loop Like A Native

2016-08-06 Thread breamoreboy
A couple or three years old but this is well worth seeing for anybody, regardless of your Python expertise. http://nedbatchelder.com/text/iter.html Kindest regards. Mark Lawrence. -- https://mail.python.org/mailman/listinfo/python-list

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: patch for 3.6 with the comment of Sworddragon. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file44032/issue23105.diff ___ Python tracker

Out of line posts (was datetime vs Arrow vs Pendulum vs Delorean vs udatetime)

2016-08-06 Thread Rustom Mody
On Saturday, August 6, 2016 at 5:19:08 PM UTC+5:30, Mario R. Osorio wrote: > ... so you decided to start the post already hijacked by yourself ... > > very clever!! If you see https://mail.python.org/pipermail/python-list/2016-August/thread.html#start you will see that there was only one post

Re: datetime vs Arrow vs Pendulum vs Delorean vs udatetime

2016-08-06 Thread Mario R. Osorio
... so you decided to start the post already hijacked by yourself ... very clever!! On Friday, August 5, 2016 at 8:19:53 PM UTC-4, bream...@gmail.com wrote: > On Friday, August 5, 2016 at 7:15:37 PM UTC+1, DFS wrote: > > On 8/4/2016 6:41 PM, breamore...@gmail.com wrote: > > > Fascinating stuff

[issue24626] please sync cgi.parse document

2016-08-06 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report! The default values of fp and environ parameters are already documented in the function signature in Python 3: cgi.parse(fp=None, environ=os.environ, keep_blank_values=False, strict_parsing=False) In Python 2, the function signature

[issue27650] Implement `__repr__` methods for logging.Logger and others

2016-08-06 Thread Ram Rachum
Ram Rachum added the comment: If you want, I can implement them. -- ___ Python tracker ___ ___

[issue27650] Implement `__repr__` methods for logging.Logger and others

2016-08-06 Thread Ram Rachum
Ram Rachum added the comment: Vinay: Looks good to me. What do you think about adding tests? -- ___ Python tracker ___

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I am working on it. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue27699] spam

2016-08-06 Thread SilentGhost
Changes by SilentGhost : Removed file: http://bugs.python.org/file44031/image001.jpg ___ Python tracker ___

[issue27699] spam

2016-08-06 Thread SilentGhost
Changes by SilentGhost : -- nosy: -drkirkby resolution: -> not a bug stage: -> resolved status: open -> closed title: very important news -> spam ___ Python tracker

[issue27699] very important news

2016-08-06 Thread SilentGhost
Changes by SilentGhost : -- Removed message: http://bugs.python.org/msg272092 ___ Python tracker ___

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: If you read the documentation from glibc-2.24, these options are only available on BSD and not on Linux. """ The remaining operating modes are BSD extensions. They exist only on some systems. On other systems, these macros are not defined. Macro: int

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Link to the documentation of glibc: http://www.gnu.org/software/libc/manual/html_node/Open_002dtime-Flags.html -- ___ Python tracker

[issue23542] Update PEP 476 for using urllib2.build_opener()

2016-08-06 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, but I prefer keeping the section shorter. Also, note that disabling verification globally is discouraged in the PEP. -- nosy: +berker.peksag resolution: -> rejected stage: -> resolved status: open -> closed

[issue27698] socketpair not in socket.__all__ on Windows

2016-08-06 Thread SilentGhost
Changes by SilentGhost : -- components: +Windows nosy: +paul.moore, pitrou, steve.dower, tim.golden, zach.ware stage: -> needs patch type: -> behavior ___ Python tracker

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +easy stage: -> needs patch versions: +Python 3.6 -Python 3.4 ___ Python tracker ___

[issue12946] PyModule_GetDict() claims it can never fail, but it can

2016-08-06 Thread Berker Peksag
Berker Peksag added the comment: I've changed the dead code to assert(d != NULL); and added the following sentence to PyModule_GetDict documentation: If *module* is not a module object (or a subtype of a module object), :exc:`SystemError` is raised and *NULL* is returned.

[issue25459] EAGAIN errors in Python logging module

2016-08-06 Thread Vinay Sajip
Vinay Sajip added the comment: I will close this as not a bug. If you have custom signal handling which interacts with logging in an undesirable way, you will need to subclass the handler. The use case isn't common enough to be addressed in the base handler, IMO. -- resolution: ->

[issue21699] Windows Python 3.4.1 pyvenv doesn't work in directories with spaces.

2016-08-06 Thread Vinay Sajip
Vinay Sajip added the comment: I'll close this as it doesn't seem to be a Python bug. -- resolution: -> not a bug stage: test needed -> resolved status: open -> closed ___ Python tracker

Re: Python slang

2016-08-06 Thread BartC
On 06/08/2016 04:10, Steven D'Aprano wrote: On Sat, 6 Aug 2016 10:13 am, Chris Angelico wrote: On Sat, Aug 6, 2016 at 9:21 AM, Marco Sulla wrote: I want to clarify that when I say "different from the other languages", I mean "different from the most

[issue25785] TimedRotatingFileHandler missing rotations

2016-08-06 Thread Vinay Sajip
Vinay Sajip added the comment: This is not a bug. For example, if you set up a rotating handler to rollover every minute but only log once every two minutes, you won't get any empty log files for the minutes where logging didn't happen. The behaviour of the handler isn't expected to keep

[issue27698] socketpair not in socket.__all__ on Windows

2016-08-06 Thread Vedran Čačić
New submission from Vedran Čačić: It seems socketpair is added for Windows in Py3.5, but it isn't imported with `from socket import *`. Can it be added to __all__? -- components: Library (Lib) messages: 272084 nosy: veky priority: normal severity: normal status: open title: socketpair

[issue21999] shlex: bug in posix mode handling of empty strings

2016-08-06 Thread Vinay Sajip
Vinay Sajip added the comment: After the patch for issue 1521950 was applied, this problem no longer occurs on default/3.6. Removing 3.4 as it's in "security patches only" mode. -- versions: -Python 3.4 ___ Python tracker

[issue27373] logging.handlers.SysLogHandler with TCP not working on rsyslog5.8

2016-08-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: For me, it's an issue with the management of the protocol in rsyslog and not with the logging library. You can close the issue. -- nosy: +matrixise status: pending -> open ___ Python tracker

[issue27373] logging.handlers.SysLogHandler with TCP not working on rsyslog5.8

2016-08-06 Thread Vinay Sajip
Vinay Sajip added the comment: If no more information is available, I will close this issue soon as "not a bug". -- status: open -> pending ___ Python tracker

[issue22829] Add --prompt option to venv

2016-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6703847eeb31 by Vinay Sajip in branch 'default': Closes #22829: Added --prompt option to venv. https://hg.python.org/cpython/rev/6703847eeb31 -- nosy: +python-dev resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue27650] Implement `__repr__` methods for logging.Logger and others

2016-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6c304a2ca139 by Vinay Sajip in branch 'default': Closes #27650: Implemented repr methods for logging objects. https://hg.python.org/cpython/rev/6c304a2ca139 -- nosy: +python-dev resolution: -> fixed stage: patch review -> resolved status:

[issue27696] win_add2path.py does not add user site directory

2016-08-06 Thread SilentGhost
Changes by SilentGhost : -- components: +Demos and Tools, Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware stage: -> patch review ___ Python tracker

Re: Python slang

2016-08-06 Thread eryk sun
On Sat, Aug 6, 2016 at 2:10 AM, Chris Angelico wrote: > That answers the question about True and False, but not about None, > which started the question. Why are instances capitalized here? Is it > simply a matter of grandfathering in, with no specific decision? Using CamelCase

Re: Python slang

2016-08-06 Thread Michael Selik
On Fri, Aug 5, 2016 at 10:12 PM Chris Angelico wrote: > That answers the question about True and False, but not about None, > which started the question. Why are instances capitalized here? Is it > simply a matter of grandfathering in, with no specific decision? > When people