[issue19461] RawConfigParser modifies empty strings unconditionally

2014-03-08 Thread Norman Denayer

Norman Denayer added the comment:

I guess it's logical to have the value  turned to '' in the reader, but I 
would expect the same transformation in the writer.

If the write function would write  for an empty string, will it solve your 
issue?

--
keywords: +patch
nosy: +Norman.Denayer
Added file: http://bugs.python.org/file34305/89484_issue19461.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19461
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20869] IDLE lib error in IOBinding.py

2014-03-08 Thread Domenico Mustara

New submission from Domenico Mustara:

Not a new issue, many Python users have already written about this error. In 
line 128 of IOBinding.py file, please change 'str = str.split(\n, 2)[:2] to 
lst = str.split(\n, 2)[:2]. This error prevents IDLE from working correctly 
when a .py file is loaded. I use IDLE on Ubuntu 13.10. At every new update, I 
need to manually modify IOBinding.py file in /usr/lib/python2.7/idlelib 
directory. Please fix it. Thanks

--
components: IDLE
messages: 212925
nosy: Domenico.Mustara
priority: normal
severity: normal
status: open
title: IDLE lib error in IOBinding.py
type: crash
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20869
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20870] how to import json file in mongodb using pymongo

2014-03-08 Thread Pramod Jadhav

Changes by Pramod Jadhav jadhavpamu2...@gmail.com:


--
nosy: pramod.jadhav
priority: normal
severity: normal
status: open
title: how to import json file in mongodb using pymongo
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20870
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20870] how to import json file in mongodb using pymongo

2014-03-08 Thread Pramod Jadhav

New submission from Pramod Jadhav:

import sys
import envoy
from bson import json_util # Comes with pymongo
from pymongo import MongoClient
from pprint import pprint
import json
client = 
pymongo.MongoClient('mongodb://user:user...@ds033499.mongolab.com:33499/enron')
r = pymongo.MongoClient('mongoimport -h ds033499.mongolab.com:33499 -p 33499 -d 
enron -c spectrumplus -u user -p user123 --file 
C:/Users/sachin/Documents/IPython /ch06-mailboxes/data/enron.mbox.json')
print 'json import sucessfully'

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20870
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20053] venv and ensurepip are affected by default pip config file

2014-03-08 Thread Nick Coghlan

Nick Coghlan added the comment:

pip 1.5.3 has been bundled and cherry picked to the release clone.

--
resolution:  - fixed
stage: commit review - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20053
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19407] PEP 453: update the Installing Python Modules documentation

2014-03-08 Thread Nick Coghlan

Nick Coghlan added the comment:

After attempting to fix these docs in place, I now think that's a doomed 
effort. However, we can't just delete them, because they still contain details 
that haven't been moved to the distutils module docs or the Python Packaging 
User Guide yet.

So, what I'm planning to do instead is leave the existing Doc/install and 
Doc/distutils directories alone (including all their labels), changing the top 
level index page to point to new Doc/installing and Doc/distributing 
directories, and add a link to the old guides from the distutils docs page.

That will keep the legacy docs available, while removing all the confusing 
legacy cruft from the new end user facing docs (which can now just be very 
brief before redirecting to packaging.python.org).

--
nosy: +Marcus.Smith
versions:  -Python 2.7, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19407
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20871] Testing: Push email/policy.py line coverage to 100%.

2014-03-08 Thread Milan Oberkirch

New submission from Milan Oberkirch:

Accorcing to coveragepy there was only one line missing for full line coverage 
in Lib/email/policy.py so I added an test to cover it.

It checks that the function email.policy.EmailPolicy.header raises an 
ValueError if the second parameter includes newlines or linefeeds. This is the 
documented behavior of the function, so testing it seems to be a good idea.

--
components: Tests
files: policyTest.patch
keywords: patch
messages: 212929
nosy: zvyn
priority: normal
severity: normal
status: open
title: Testing: Push email/policy.py line coverage to 100%.
type: enhancement
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file34306/policyTest.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20871
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18678] Wrong struct members name for spwd module

2014-03-08 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Agreed with David's latest analysis.

--
nosy: +pitrou

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18678
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19407] PEP 453: update the Installing Python Modules documentation

2014-03-08 Thread Nick Coghlan

Nick Coghlan added the comment:

I like the way the attached patch has worked out - I think it's complete from a 
structural point of view.

The two missing pieces are to fill in the contents for the new Installing and 
Distributing guides, and those will be kept deliberately short, since we want 
to minimise the duplicating of content from the Python Packaging User Guide.

--
keywords: +patch
Added file: http://bugs.python.org/file34307/issue19407_packaging_docs.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19407
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20869] IDLE lib error in IOBinding.py

2014-03-08 Thread R. David Murray

R. David Murray added the comment:

Indeed it has been reported before, and fixed.  (It's a little hard to find the 
issue by searching the tracker, though.)  Issue 19426.

--
nosy: +r.david.murray
resolution:  - duplicate
stage:  - committed/rejected
status: open - closed
superseder:  - Opening a file in IDLE causes a crash or hang
type: crash - behavior

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20869
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20870] how to import json file in mongodb using pymongo

2014-03-08 Thread R. David Murray

R. David Murray added the comment:

This tracker is for reporting bugs in CPython and the Python standard library.  
pymongo is not part of the standard library.  Please use the pymongo support 
channels for your question.  (Their help channels...it does not look like this 
is a bug report.)  You could also try try the pyhon-list mailing list.

--
nosy: +r.david.murray
resolution:  - invalid
stage:  - committed/rejected
status: open - closed
versions: +3rd party -Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20870
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20871] Testing: Push email/policy.py line coverage to 100%.

2014-03-08 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
components: +email
nosy: +barry, r.david.murray
stage:  - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20871
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20854] multiprocessing.managers.Server: problem with returning proxy of registered object

2014-03-08 Thread Richard Oudkerk

Richard Oudkerk added the comment:

I am not sure method_to_typeid and create_method were really intended to be 
public -- they are only used by Pool proxies.

You can maybe work around the problem by registering a second typeid without 
specifying callable.  That can be used in method_to_typeid:

import multiprocessing.managers

class MyClass(object):
def __init__(self):
self._children = {}
def get_child(self, i):
return self._children.setdefault(i, type(self)())
def __repr__(self):
return 'MyClass %r' % self._children

class MyManager(multiprocessing.managers.BaseManager):
pass

MyManager.register('MyClass', MyClass,
   method_to_typeid = {'get_child': '_MyClass'})
MyManager.register('_MyClass',
   method_to_typeid = {'get_child': '_MyClass'},
   create_method=False)

if __name__ == '__main__':
m = MyManager()
m.start()
try:
a = m.MyClass()
b = a.get_child(1)
c = b.get_child(2)
d = c.get_child(3)
print a  # MyClass {1: MyClass {2: MyClass {3: MyClass {
finally:
m.shutdown()

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20854
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20872] dbm/gdbm/ndbm close methods are not document

2014-03-08 Thread R. David Murray

New submission from R. David Murray:

We just added context manager support to dbm to close the object automatically, 
but the 'close' method that gets called is not documented for any of the dbm 
objects.  Since it is part of the public API (it is shown in the example), I 
think it should be.

--
messages: 212935
nosy: r.david.murray
priority: normal
severity: normal
status: open
title: dbm/gdbm/ndbm close methods are not document
versions: Python 2.7, Python 3.3, Python 3.4, Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20872
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20869] IDLE lib error in IOBinding.py

2014-03-08 Thread Ned Deily

Ned Deily added the comment:

More specifically, the bug that causes the problem was first released in the 
2.7.6 release candidate 1 (pre-release, 2013-10-26) and fixed in the official 
2.7.6 final release (2013-11-10).  So it is somewhat surprising that you would 
continually re-encounter it.

--
nosy: +ned.deily

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20869
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17618] base85 encoding

2014-03-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1853679c6f71 by R David Murray in branch 'default':
whatsnew: base65 encodings. (#17618)
http://hg.python.org/cpython/rev/1853679c6f71

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17618
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5202] wave.py cannot write wave files into a shell pipeline

2014-03-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b861c7717c79 by R David Murray in branch 'default':
whatsnew: Wave_write handles unseekable files. (#5202)
http://hg.python.org/cpython/rev/b861c7717c79

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5202
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19282] dbm.open should be a context manager

2014-03-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 200207e50cbf by R David Murray in branch 'default':
whatsnew: dbm.open is context manager. (#19282)
http://hg.python.org/cpython/rev/200207e50cbf

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19282
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8311] wave module sets data subchunk size incorrectly when writing wav file

2014-03-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b72615222c98 by R David Murray in branch 'default':
whatsnew: sunau/aifc/wave writeframes[raw] accept any bytes-like (#8311)
http://hg.python.org/cpython/rev/b72615222c98

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8311
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20837] Ambiguity words in base64 documentation

2014-03-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1853679c6f71 by R David Murray in branch 'default':
whatsnew: base65 encodings. (#17618)
http://hg.python.org/cpython/rev/1853679c6f71

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20837
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20837] Ambiguity words in base64 documentation

2014-03-08 Thread R. David Murray

R. David Murray added the comment:

I had to edit that paragraph for another issue, so I fixed the wording along 
the lines Éric suggested while I was at it.

Hmm.  But it still needs to be fixed in 3.3 (and 2.7, I presume) :(

--
resolution:  - fixed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20837
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19407] PEP 453: update the Installing Python Modules documentation

2014-03-08 Thread Marcus Smith

Marcus Smith added the comment:

Legacy version.  nice.   

btw, 
http://packaging.python.org/en/latest/tutorial.html#creating-and-using-virtual-environments;
 will certainly end up including pyvenv command examples as well.  currently 
just mentioned in a footnote.

like I mentioned on distutils-sig, I still hope to submit a patch to move 
critical content from the legacy pages to library/distutils.rst at some point.

also, btw, maybe you can fix this page real quick?  
http://www.python.org/documentation/.  not sure what repo/team is managing 
this, but it's referencing the old HHGTP.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19407
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20145] unittest.assert*Regex functions should verify that expected_regex has a valid type

2014-03-08 Thread Michael Foord

Michael Foord added the comment:

That's correct.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20145
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20849] add exist_ok to shutil.copytree

2014-03-08 Thread Alexander Mohr

Alexander Mohr added the comment:

how about instead we rename the new parameter to dirs_exists_ok or something 
like that since the method already allows for existing files.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20849
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19407] PEP 453: update the Installing Python Modules documentation

2014-03-08 Thread Nick Coghlan

Nick Coghlan added the comment:

Thanks for the feedback!

Could you lob that last one at the pythondotorg issue tracker on GitHub (
https://github.com/python/pythondotorg/issues)?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19407
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19407] PEP 453: update the Installing Python Modules documentation

2014-03-08 Thread Nick Coghlan

Nick Coghlan added the comment:

And regarding moving the still-relevant content to the main distutils docs,
yeah that's still a good idea. However, that's going to take a fair bit
more work, since you'll need to evaluate the legacy content to decide what
needs preserving, and I don't know the technical details well enough to
make that call.

I figure the approach in my patch is a neat hack to move that task off the
Python 3.4 critical path, while still giving new Python 3.4 users a clean
and authoritative starting point for packaging issues :)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19407
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20849] add exist_ok to shutil.copytree

2014-03-08 Thread Elias Zamaria

Elias Zamaria added the comment:

I am not sure. I am not on the python-ideas mailing list, and I am not sure
what adding and maintaining the discussion would entail, or if I would have
the time to do it or want to deal with the clutter in my inbox. I just
committed this patch because it seemed like it would be quick and easy.

I can start the discussion if anyone specifically wants me to, but I don't
want to let anyone down.

On Fri, Mar 7, 2014 at 1:41 PM, Éric Araujo rep...@bugs.python.org wrote:


 Éric Araujo added the comment:

 Contrary to makedirs, there could be two interpretations for exist_ok in
 copytree: a) if a directory or file already exists in the destination,
 ignore it and go ahead  b) only do that for directories.

 The proposed patch does b), but the cp tool does a).  It's not clear to me
 which is best.  Can you start a discussion on the python-ideas mailing list?

 --
 nosy: +eric.araujo

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue20849
 ___


--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20849
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20849] add exist_ok to shutil.copytree

2014-03-08 Thread Alexander Mohr

Alexander Mohr added the comment:

I personally dont think this is worth investing the time for a discussion.
If the maintainers dont want to accept this or a minor variation without a
discussion ill just keep my local monkeypatch :)  thanks again for the
quick patch Elias!
On Mar 8, 2014 4:03 PM, Elias Zamaria rep...@bugs.python.org wrote:


 Elias Zamaria added the comment:

 I am not sure. I am not on the python-ideas mailing list, and I am not sure
 what adding and maintaining the discussion would entail, or if I would have
 the time to do it or want to deal with the clutter in my inbox. I just
 committed this patch because it seemed like it would be quick and easy.

 I can start the discussion if anyone specifically wants me to, but I don't
 want to let anyone down.

 On Fri, Mar 7, 2014 at 1:41 PM, Éric Araujo rep...@bugs.python.org
 wrote:

 
  Éric Araujo added the comment:
 
  Contrary to makedirs, there could be two interpretations for exist_ok in
  copytree: a) if a directory or file already exists in the destination,
  ignore it and go ahead  b) only do that for directories.
 
  The proposed patch does b), but the cp tool does a).  It's not clear to
 me
  which is best.  Can you start a discussion on the python-ideas mailing
 list?
 
  --
  nosy: +eric.araujo
 
  ___
  Python tracker rep...@bugs.python.org
  http://bugs.python.org/issue20849
  ___
 

 --

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue20849
 ___


--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20849
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20873] ID

2014-03-08 Thread mélomane

Changes by mélomane knorman...@gmail.com:


--
nosy: mélomane
priority: normal
severity: normal
status: open
title: ID
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20873
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17276] HMAC: deprecate default hash

2014-03-08 Thread R. David Murray

R. David Murray added the comment:

I don't understand why PendingDeprecationWarning was used here.  
DeprecationWarnings are silent by default.  I'm also not clear on why this is 
being delayed until 3.6, instead of being changed in 3.5 after a deprecation, 
given that the default is considered to be a bit of a security issue.

--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17276
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20873] IDLE won't open

2014-03-08 Thread mélomane

New submission from mélomane:

First time using Python on my personal computer. Updated the mac version to 
3.3. Then installed ActiveTcl 8.6.1.0, then tried deleting and installing 
8.5.15.0. I tried opening IDLE from the applications folder, then from 
terminal. After that failed to work, I browsed the forms and tried what another 
user suggested to see if I had write permission to my home directory. 

Charlottes-MacBook-Pro:~ Charlotte$ /usr/local/bin/idle3.3

 Warning: unable to create user config directory
/Users/Charlotte/.idlerc
 Check path and permissions.
 Exiting!

Charlottes-MacBook-Pro:~ Charlotte$ cd ~
Charlottes-MacBook-Pro:~ Charlotte$ ls -lde ~
drwxr-xr-x  23 501  staff  782  8 Mar 22:49 /Users/Charlotte
Charlottes-MacBook-Pro:~ Charlotte$ chmod u+w ~
Charlottes-MacBook-Pro:~ Charlotte$ mkdir ~/.idlerc
mkdir: /Users/Charlotte/.idlerc: Permission denied

Please help. :)

--
components: +IDLE
title: ID - IDLE won't open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20873
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20873] IDLE won't open

2014-03-08 Thread R. David Murray

R. David Murray added the comment:

This isn't really a python question, it's a mac question.  Unless there is 
something the mac installer should be doing to detect this situation..but...are 
you running the python that comes with the OS, or did you install it yourself?  
Because if it is the former, there probably isn't much we can do that we 
haven't already done.

--
assignee:  - ronaldoussoren
components: +Macintosh
nosy: +r.david.murray, ronaldoussoren

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20873
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20873] IDLE won't open

2014-03-08 Thread Ned Deily

Ned Deily added the comment:

The fact that ls shows a UID of 501 instead of your user name Charlotte 
strongly suggests you have an inconstantly defined user account.  Suggest you 
try cresting a new Administrator user via System Preferences - User  
Groups and try logging into that user and see if IDLE works there.  If that 
works, you may need some help trying to fix up your existing account.  You may 
be able to get some useful information with the decl command:

dscl . -read /Users/Charlotte

Good luck!

--
nosy: +ned.deily
resolution:  - invalid
stage:  - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20873
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20873] IDLE won't open

2014-03-08 Thread Ned Deily

Ned Deily added the comment:

The fact that ls shows a UID of 501 instead of your user name Charlotte 
strongly suggests you have an inconstantly defined user account.  Suggest you 
try cresting a new Administrator user via System Preferences - User  
Groups and try logging into that user and see if IDLE works there.  If that 
works, you may need some help trying to fix up your existing account.  You may 
be able to get some useful information with the dscl command:

dscl . -read /Users/Charlotte

Good luck!

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20873
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20873] IDLE won't open

2014-03-08 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


--
Removed message: http://bugs.python.org/msg212953

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20873
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20873] IDLE won't open

2014-03-08 Thread Ned Deily

Ned Deily added the comment:

er, inconstantly - inconsistently

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20873
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue809163] Can't add files with spaces

2014-03-08 Thread Matheus Vieira Portela

Matheus Vieira Portela added the comment:

As far as I noticed, in bdist_rpm.py, the _make_spec_file() method generates an 
.spec file for RPM build and attaches the install script to setup.py install 
-O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES.

Later, the .spec refers to the record file as the one which contains all 
necessary files to build the RPM package with the directive %files -f 
INSTALLED_FILES. If any path contains an space character, it will triggers an 
error.

I could fix this problem by attaching to the installation a small sed script 
that appends double quotes to the beginning and the end of each line of 
INSTALLED_FILES. I'm not sure whether this is allowed though. Any ideas how to 
make this more Pythonic without using sed?

Apparently, it works since the test passed. However, there is an warning which 
I have no idea what it means: unknown, 0: Warning: using regular magic file 
`/etc/magic'.

I attached the diff file with the changes so far.

--
Added file: http://bugs.python.org/file34308/quoted_files.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue809163
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7262] codecs.open() + eol (windows)

2014-03-08 Thread analyst

analyst added the comment:

Hi,
  I am new to Python Development. I would like to propose a patch for this 
issue.

--
keywords: +patch
nosy: +analyst
Added file: http://bugs.python.org/file34309/7262.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7262
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com