[issue1957] [patch] syslogmodule: Release GIL when calling syslog(3)

2008-01-28 Thread Dennis Jensen

New submission from Dennis Jensen:

The glibc syslog(3) call will block in some cases; the attached patch
releases the GIL around the syslog call.

--
components: Extension Modules, Interpreter Core
files: syslogmodule-patch.txt
messages: 61781
nosy: rd2
severity: minor
status: open
title: [patch] syslogmodule: Release GIL when calling syslog(3)
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file9312/syslogmodule-patch.txt

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1957>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28242] os.environ.get documentation missing

2016-09-21 Thread Dennis Jensen

New submission from Dennis Jensen:

I was encountering what seemed to be odd behavior from os.environ.get() from 
what I could find out about it and so I tried to locate the actual 
documentation on how it is supposed to be used now.  However, all I can find is 
a minor reference to os.environ.  There appears to be no documentation on 
os.environ.get() and/or any other methods of this sort associated with 
os.environ.  The alternate functionality os.getenv() is documented but this is 
not supposed to work the same as os.environ.get()   Still the behavior that I 
encountered is that it seems that either os.environ.get()) has been changed 
and/or it is now just simply a proxy for os.getenv() -- as these two seem to 
function the same way now.  Note: From what I was able to discern about how 
os.environ.get() worked is that it accepts only 1 parameter and if the item 
does not exist it throws an error -- while os.getenv() takes 2 parameters and 
does not throw an error if the item does not exist.

--
assignee: docs@python
components: Documentation
messages: 277159
nosy: DennisJensen, docs@python
priority: normal
severity: normal
status: open
title: os.environ.get documentation missing
type: resource usage
versions: Python 3.5

___
Python tracker 
<http://bugs.python.org/issue28242>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28242] os.environ.get documentation missing

2016-09-21 Thread Dennis Jensen

Dennis Jensen added the comment:

Okay well thanks for that information but after investigating this then I have 
to ask what is the difference between:

os.environ.get()

and

os.getenv()

As these 2 functions now appear to do exactly the same thing?  If this is the 
case then should there not be something added to either os.environ or to 
os.getenv() that states something to this effect.

Something along the lines of:  Since version: "whatever version that changed 
how .get() works" made the os.environ.get() work exactly the same as the 
os.getenv() -- this way since there are still references floating around that 
state that these 2 do not function the same and nothing outlined clearly within 
documentation stating that this is no longer the case.  Creates a bit of 
confusion on what should and should not be.

--
resolution: not a bug -> 
status: closed -> pending

___
Python tracker 
<http://bugs.python.org/issue28242>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28242] os.environ.get documentation missing

2016-09-21 Thread Dennis Jensen

Changes by Dennis Jensen :


--
status: pending -> open

___
Python tracker 
<http://bugs.python.org/issue28242>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com